Friday, September 05, 2025

Fix : Blogger only show 1 post on homepage

 All of a sudden this blog started showing only one post on the homepage.  No matter what setting I changed only 1 post showed on the blog.  The problem was the last post had a 'base64' image in it.  Which means instead of a normal pic the image was made up of the CODE used to render the pic.  When this happens Blogger will only show 1 blogpost on the homepage.  The solution for me was just to take a screenshot of that image, then re-upload it to the blog post in question.  After that it was fine.  In fact when I opened the problem post I got this message at the bottom left :




Monday, June 09, 2025

Block 'sign in with Google' popup

 Add a rule like this to uBlock > My Filters

||accounts.google.com/gsi/iframe/$subdocument



Thursday, June 05, 2025

Arch install boots to Grub prompt

Last night I installed Artix (Arch) on my Dell laptop.  After reboot it dropped to a Grub shell.  I know this distro works well and have installed it many times on other laptops.  The fix here was pretty easy.

1.  Reboot, press F2, go into BIOS and turn off RAID storage

2.  Reinstall Artix again

After I did this everything worked fine.

Arch Linux KDE can not change resolution. Only list one resolution.

Just installed Artix on my Dell laptop and notice in KDE only one resolution is listed.  After ~10 min on Google I found this answer

My situation matched theirs.  Command :

inxi -G

 Output was listing the driver as  intel not modesetting

As root I created this file, rebooted, and can change resolution OK now.

/etc/X11/xorg.conf.d/20-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "modesetting"
EndSection

Tuesday, May 20, 2025

MX Linux can't browse web 'can not open page'

Odd problem last night.  I'm on my MX Linux (Debian) machine browsing the web then suddenly it says 'can not open page'.  Wifi is still connected.  I can ping 1.1.1.1 but not google.com (unknown host).

Disconnect / reconnect, no luck.  Disable wifi entirely & reconnect, no luck.  Reboot and it works again.  Then ~10 min later same problem.  Browsing fine then suddenly cant load pages.  

I check the wifi config and all the DNS settings are still there.  After a while I checked /etc/resolv.conf and all it had was the loopback not my DNS config :

nameserver ::1
nameserver 127.0.0.1

So I edit resolv.conf as root and added this to the top then everything worked again for the rest of the night.

nameserver 9.9.9.9
nameserver 2620:fe::fe

Monday, May 19, 2025

Linux can not rip DVD can not play in VLC

 Picked up a few DVDs at Half Price Books and want to rip them to my system.  I am using Arch linux (Artix) with external DVD drive from Dell.  Put in DVD, system recognizes it, file manager can see everything.  But Handbrake is failing to rip.  Then try to copy files from DVD to PC, that fails also.  "Failure to read file" or something like that.  Try to play in VLC and doesn't work, you can just hear the disc trying to read over and over.  DVDs are in perfect shape.  Try a different DVD, same thing.  Try a DVD from a different tv show, same thing.

Did some searching then installed this

libdvdcss

After that now everything works fine.  And in File Manager thumbnail previews show up for DVD files now.  Can play them in VLC just fine.

Friday, May 09, 2025

Linux Mullvad error : Unable to contact the Mullvad system service

 I get this error on MX Linux and Artix when starting Mullvad app.  If I drop to terminal and do command below, then the app works normally

sudo mullvad-daemon

I contacted their support about it and they advised Mullvad does not come with the scripts needed to start the service for non-systemd distros.


Saturday, January 18, 2025

Firefox Download Failed

Using MX Linux (Debian) all of a sudden I can't download anything in Firefox.  The download fails right away.  If I go to menu > more tools > browser console I can see this error

NS_ERROR_FILE_ACCESS_DENIED

Believe it or not the fix was just to reboot.  After that it works fine now.

Wednesday, January 08, 2025

Bash script to show demo of all fonts on Linux

 I found this script somewhere, it makes a nice HTML file showing a demo of all your fonts.  I made some small tweaks to the script so it works better.  Here is a screen shot and the code below.  Save it as fonts.sh then chmod +x the file and run it.  Will output fonts.html that looks like this




#!/usr/bin/env bash

cat > fonts.html << __HEADER
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample of local fonts matching '$1'</title>
</head>
<body>
__HEADER

fc-list --format='%{family}\n' $1 | cut -d ',' -f 1 | sort -u | while IFS='' read -r fontfamily
do
    cat >> fonts.html << __BODY
    <hr/>
    <div style="font-family: '${fontfamily}', 'serif'">
        <h1>${fontfamily}</h1>
        <p>
            1lLiI -0O- == {} [] The quick brown fox jumped over the lazy brown dog<br/>
            0123456789,.:;?/<>'"[]{}|\-=\`~!@#$%^&*()-=\\
        </p>
    </div>
__BODY

done

cat >> fonts.html << __FOOTER
    <hr/>
</body>
</html>
__FOOTER

echo "fonts.html created"
//]]>