Fix for blurry Green With Envy tray icon

The solution is the same as with the pamac tray indicator problem.

Edit /usr/share/applications/com.leinardi.gwe :

sudo nano /usr/share/applications/com.leinardi.gwe.desktop

Add the line in bold (Exec=sleep 1m && com.leinardi.gwe), reboot, the icon should be normal again.

[Desktop Entry]
Name=GreenWithEnvy
Comment=Provides information, controls the fans and overclocks your NVIDIA video card
Exec=/usr/bin/gwe %U
Icon=com.leinardi.gwe
Exec=sleep 1m && com.leinardi.gwe
Terminal=false
Type=Application
StartupNotify=true
MimeType=
Categories=Utility;GTK;GNOME;
Keywords=GWE;nvidia;overclock;

Be aware that while this change does work (just like it does with the Pamac icon), it will revert back to previous state with next update of the application.

But you can do

cp /usr/share/applications/com.leinardi.gwe ~/.local/share/applications/

and make the changes in ~/.local/share/applications/com.leinardi.gwe instead.

Ah, wasn’t aware of that. Thanks for the info!

The reason is that the /usr/share/applications/ desktop files are part of the application package and will be replaced on updates.
But any .dekstop files that matches them in your own .local/share/applications folder takes priority over the ones in /usr, so that will get used instead, even if the original one gets replaced with an updated one.

2 Likes