Skip to content

system

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

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>

Check battery status

Open Windows Powershell with Administrator rights and run:

powercfg /batteryreport /output "C:\battery-report.html"

See the report at C:\battery-report.html.

Install fonts in Linux

Copy the fonts files to ~/.local/share/fonts/. Then, run fc-cache to rebuild fonts cache.

fc-cache -fv