It will help you to fix unrecognized, ugly or double icons in Linux.
git
wget
yay -S startupwmclassfixer
Download the zipped file or clone the repository
git clone https://github.com/bil-elmoussaoui/StartupWMClassFixer.git
Open the script using
sudo ./fix
Or using this if you've installed the script from a package
sudo StartupWMClassFixer
You can revert your modifications using --revert
argument.
sudo ./fix --revert
sudo ./fix --update
sudo
Almost all the application desktop files are stored in /usr/share/applications
that's why we need root permissions to modify them.
The script will modify the desktop file of supported applications (list of supported applications) and add/modify StartupWMClass
key.
For more informations about StartupWMClass
see Recognized desktop entry keys.
xprop WM_CLASS
WM_CLASS(STRING)
valueApplication Name, Desktop file name, WM_CLASS