Thursday, March 14, 2024

Void Linux can't install vim

Booted into Void Linux XFCE live tonight and like it. But I notice vim is not installed so I tried this :

xbps-install vim

unfortunately this did not work and I got some error saying there was an issue with package xxd

This reddit thread recommended the follow command which solved the problem

xbps-install -S vim

Monday, March 04, 2024

LibreWolf does not open maximized

When LibreWolf opens it is not maximized and after it's open if I CTRL+N for a new window that is also not maximized.  The solution is

1. Go to about:config

2.  Search for privacy.resistFingerprinting

3.  Change to false with double click

4. Restart LibreWolf

5.  Maximize LibreWolf

6. Close / reopen


edit : Also learned way too late it's in settings.  Search for fingerprint and uncheck ''Enable ResistFingerprinting"




How to make Vivaldi new page (blank) not be blinding white

My OS is in night mode and when I open a new window in Vivaldi it goes to 'blank page' which is very bright white.  The work around for this is make a basic html file, then set Vivalid URL to the html file.  

In Linux the file path is like this

file:///home/username/dark.html

This is the HTML code for the file

<html>
<body style="background-color:#000;">
</html>

Sunday, March 03, 2024

Linux Mint play white noise

This plays a mix of brown noise and pink noise just below the normal system volume.  Good for watching YouTube on headphones with some static to drown out background noise.

sudo apt-get install sox
play -n synth brownnoise synth pinknoise mix gain -5

Use case : sitting in the living room watching youtube videos via headphones while my gf watches a tv show with a lot of yelling.

Linux Mint 3.5mm aux mic not working AMD Family 17h Models 10h-1fh

On Linux Mint I updated the kernel to 6.5, after this everything worked but when I plugin mic to 3.5mm aux port it does not worked and is not detected.  I found the fix in this YouTube video

Not able to detect microphone in ubuntu 22.04
https://www.youtube.com/watch?v=dYkzX1lyTNk

1. Edit this file as root :
/etc/modprobe.d/alsa-base.conf

2. Add this :
options snd-hda-intel model=,dell-headset-multi

3. Save file, reboot.  After that my mic is detected in the aux port again.

Note : The line says 'dell', I do not have a Dell, it also references intel, this is an AMD system, but it still worked out ok.  Command lspci says I have this 

Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller

How to use 'tabless' browsing in Vivaldi

 I recently changed my Chrome and Firefox to 'tabless' mode.  Each tab gets its own Window.  I did this because for work on Linux I have several different browsers.  So what happens is I end up trying to 'alt tab' to get back to some web page, when it's actually buried in a hidden tab somewhere.  So I have to alt-tab to switch to different browser windows, then hunt through all the tabs.  This is slow and not good workflow.  So I've been using all my browsers in 'tabless' mode.  

Chrome and Firefox both have extensions for this.  Vivaldi can work with all Chrome extensions so I added it there too.  But I notice in Vivaldi when I close the tab/window with CTRL+W it pops back up a new window for some reason.  The fix for this is go into Vivalid settings and do 3 things

1.  Search for 'close tab' then scroll down to keyboard, remove the default close window shortcut by clicking the X to the right of the text box showing the keyboard shortcut (not visible until you hover).

3.  Search again for 'close window' then scroll down to keyboard, remove the default close window shortcut by clicking the X (not visible until you hover).

3.  Now for that shortcut change the 'close window' shortcut to CTRL+W by clicking in the text field, which is normally the close tab shortcut.

After this the problem of windows not going away is fixed.

Wednesday, February 21, 2024

Falkon browser devtools error 'this site can't be reached'

 In KDE Falkon web browser when I open devtools it shows the Chrome error

This site can’t be reached
The webpage at devtools://devtools/bundled/inspector.html might be temporarily down or it may have moved permanently to a new web address.
ERR_FAILED

Error seen at command line is  

js: Uncaught ReferenceError: Components is not defined
[15261:15261:0220/235200.401700:ERROR:CONSOLE(1)] "Uncaught ReferenceError: Components is not defined", source: chrome-error://chromewebdata/ (1)

Solution is to install package qt5-qtwebengine-devtools

 

 

Tuesday, February 06, 2024

Falkon browser startpage search does not work

Installed Falkon browser and noticed when I search with startpage it just redirects me to startpage homepage.  Played with the URL and postdata settings some and it just kept doing the same thing.  Even if I used a format that worked in Firefox the same thing would not work in Falkon.  Eventually I got this format to work for using Falkon and startpage as the default search engine.

https://www.startpage.com/do/dsearch?cat=web&language=english&q=%s

Falkon browser no menu and certificate errors

 Recently installed Falkon web browser and right away I was getting SSL certificate errors on every site I went to.  Then I noticed there was no menu button / icon either.  Seemed very odd.  When trying to find out what Falkon I installed realized I accidentally installed this

falkon.i686

instead of this

falkon.86_64

After I switched to the falkon.86_64 package everything was normal.

Monday, January 15, 2024

Fix : XFCE wont cycle minimized windows

Here is the problem.

  • Inside XFCE have many windows open.
  • Minimize the current window.
  • Press ALT-TAB. It does not go back to the window I just minimized.
  • The window I just minimized is now at the end of the ALT-TAB list.
To fix this go into Settings Manager and check the box "Cycle through minimized windows in the most recently used order".