6 - Debugging Tutorials
6.1 - How To Fix Fonts?
Step 1 - Make Directory:
mkdir ~/.config/fontconfig
Step 2 - Create Fonts Confirguration File:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Sans</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Noto Serif</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Mono</family>
<family>Noto Color Emoji</family>
<family>Noto Emoji</family>
</prefer>
</alias>
</fontconfig>
6.2 – How To Fix Unreadable Tooltip Colors?
Appearance -> Colors -> Options -> Disable the option: "Apply colors to non-QT-applications".
6.3 – How To Return The KDE Menu To Its Default Settings?
Step 1 – Navigate then delete everything inside:
~/.config/menus/*
Step 2 – Log off or reboot for the changes to take affect.
6.4 – How To Fix Mouse Cursor Theme Problems?
Step 1 – Open the terminal and type:
sudo systemsettings5
Step 2 – Navigate to: Workspace Theme > Cursor Theme Step 3 – Remove all the cursor themes that you don’t need.
6.5 – How To Find & Replace A Phrase Recursively?
Step 1 – Open your terminal then navigate to the desired directory.
Step 2 – Type the following:
find -name "*oldphrase*" -exec rename 's/oldphrase/newphrase/g' {} \;
Note: Replace “oldphase” and “newphrase” with the right text.
6.6 - How to resolve the font error with Snap apps like Poedit?
If you are getting boxes and unknown characters instead of font characters when opening a snap app, do the following:
sudo rm /var/cache/fontconfig/*
rm ~/.cache/fontconfig/*
6.7 - How to resolve the error of Dolphin not showing meta data?
yay -S kid3
6.8 - How to resolve the problem of (File Mode Changes) in SmartGit?
git config core.fileMode false
git config --global core.filemode false
core.fileMode tells Git if the executable bit of files in the working tree is to be honored. Some filesystems lose the executable bit when a file that is marked as executable is checked out, or checks out a non-executable file with executable bit on.
6.9 - How to resolve the wireless adapter problem after Kernel update?
yay -S linux??-headers
Important Note: Replace ?? with the kernel version number (e.g. 60).
6.10 - How to Resolve KDE Issues After a System Upgrade?
Many issues can be resolved by cleaning the cache. To do so, follow the steps below:
- Open your terminal and type:
rm -rf ~/.cache/*
- Log out, then log in again.
6.11 - How to Fix Wine?
Wine might crash or freeze. You can try the following:
- Install Important Packages
sudo pacman -S wine wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader
- Install Required Fonts
sudo pacman -S ttf-ms-fonts
- Install Other Packages
winetricks corefonts d3dx9 vcrun2019 dotnet48
- Configure
dxvk
winetricks dxvk
- Run Your App
WINEDEBUG=-all DXVK_HUD=0 WINE_LARGE_ADDRESS_AWARE=1 wine file.exe