Avidemux icon and its label are wrong in alt+tab menu and Gnome dash

Started by Strangiato, December 18, 2017, 12:23:33 PM

Previous topic - Next topic

Strangiato

Hi
I installed avidemux 2.7.0 on Arch Linux running Gnome 3.26.2.
Gnome dash (bar on left) and alt+tab menu show a wrong and pixelated/blury avidemux icon and its label is "avidemux3_qt5" instead of "avidemux (Qt)".
See my screenshots please.

http://imgbox.com/g/nSh8kEiHI9

eumagga0x2a

Write your own .desktop file with the "Icon = " entry pointing to the icon of your choice (yes, the icon provided by Avidemux is unfit for modern displays).

Edit: avidemux3_qt5 is the correct name of Avidemux executable. You might want to use a wrapper script nevertheless to avoid the debug output filling the journal.

Strangiato

change icon entry in .desktop file does not solve the problem.
Furthermore this issue should be solved in upstream.

eumagga0x2a

You should likely set StartupWMClass property too. I use

[Desktop Entry]
Name=Avidemux Video Editor (Qt5)
Comment=Graphical video editing tool - Qt5 interface
Icon=org.gnome.Totem
Exec=/usr/local/bin/avidemux
MimeType=video/mpeg;video/quicktime;video/x-msvideo;video/x-anim;audio/x-mp3;audio/x-mp2;
Terminal=false
Type=Application
Categories=AudioVideo;AudioVideoEditing;
X-Desktop-File-Install-Version=0.23
StartupWMClass=avidemux3_qt5


as .desktop file while /usr/local/bin/avidemux contains just

#!/bin/bash
/usr/local/bin/avidemux3_qt5 > /dev/null 2>&1
exit 0


Works fine at least in gnome-shell 3.24 (didn't make the leap to 3.26 yet), but should work in 3.26 as well. If I need the debug output, I launch avidemux3_qt5 in terminal directly.

Strangiato

ok, I added StartupWMClass=avidemux3_qt5 to my .desktop file,
avidemux icon is correct now. Thanks.
This bug should be fixed in upstream,
where is avidemux bug tracker?

eumagga0x2a

This forum is the best way to report bugs. Contributing code and artwork is the best way to fix them.

Strangiato

Quote from: eumagga0x2a on December 18, 2017, 06:59:29 PM
Contributing code and artwork is the best way to fix them.
A developer or a designer can do it, not me.
I'm an end user.

eumagga0x2a

Quote from: Strangiato on December 18, 2017, 07:04:50 PM
I'm an end user.

Me too. Turned into a sort of a developer by the need to fix bugs in Avidemux which bothered me.

eumagga0x2a