Wednesday, March 27, 2024

XFCE panel increase length of window buttons

In the XFCE bottom bar I notice even when I have free space the window buttons do not expand in size which makes them hard to read.  Here is how to make the window buttons in the taskbar bigger in XFCE

Create file

~/.config/gtk-3.0/gtk.css

add this line

.tasklist { -XfceTasklist-max-button-length: 500; }

restart the panel with this command

xfce4-panel -r

After


Before

Tuesday, March 19, 2024

Linux Mint IPv6 not working

All of a sudden my IPv6 wifi isn't connecting.  I change the IPv6 to automatic, automatic dhcp, automatic address only, manual config setting default routes, etc - nothing helps.  At least 1 hr just messing with the settings.  Each time I disconnect wifi  / disable re-enable networking and try again.  No joy each time.

Finally the solution was old school trouble shooting.  Completely delete the wifi connection and re-connect by selecting the wifi network and just typing in the password.  After this is works fine. 

$ping 2606:4700:4700::64
PING 2606:4700:4700::64(2606:4700:4700::64) 56 data bytes
64 bytes from 2606:4700:4700::64: icmp_seq=1 ttl=58 time=152 ms
64 bytes from 2606:4700:4700::64: icmp_seq=2 ttl=58 time=14.2 ms
64 bytes from 2606:4700:4700::64: icmp_seq=3 ttl=58 time=15.9 ms

LibreWolf can't play some YouTube videos

Playing a YouTube video in LibreWolf didn't work and I get the console error

NS_ERROR_DOM_MEDIA_FATAL_ERR --FFmpegDataDecoder : Couldn't open avcodec

It seems to get this to work you need to reboot after making the changes, I don't know why.  Restarting the browser and even deleting the profile didn't help.  Do not ignore this step.

Everything I tried didn't work, then I rebooted, and it worked.

I installed these packages, unsure exactly which 'did the trick'

gstreamer-plugins-ugly

mozilla-openh264

gstreamer-1.20-plugin-openh264

ffmpeg-4

vlc

gstreamer-plugins-libav

libvpx7


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.

//]]>