Skip to content

2024-10

Install AMD chipset driver Windows 11 24H2

How to solve the "AMD system not detected" error when installing AMD chipset driver in Windows 11 24H2.

Install VBS support: Settings > System > Optional features > Add "VBSCRIPT". You should be able to install the driver afterward.

heredoc: Passing multiple lines of string

Use heredoc to pass the string as-is between two delimiters (e.g. EOF)

cat << "EOF" >> ~/.xprofile
# ~/.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx
EOF

Will append the following lines in ~/.xprofile:

.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx

Ubuntu 24.04 NTFS mount error

Ubuntu 24.04 (with kernel 6.8) may give an error while mounting NTFS partitions.

Solution: disable the open source ntfs3 driver and force Ubuntu to use the old ntfs-3g driver. Reboot to apply.

echo 'blacklist ntfs3' | sudo tee /etc/modprobe.d/disable-ntfs3.conf

Dynamic parallel matrix

Job matrix creates multiple job runs that are based on the combinations of the variables. Sometimes we want a dynamic number of matrix jobs, which requires a JSON array as an output. Here we use json and glob modules in Python to generate that JSON list.12

Kill zombie processes

Find and kill zombie process(es). Source

ps axo stat,ppid,pid,comm | grep -w defunct

Kill parent process(es)

sudo kill -9 <ppid>