Author Topic: Avidemux icon and its label are wrong in alt+tab menu and Gnome dash  (Read 29 times)

Strangiato

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

http://imgbox.com/g/nSh8kEiHI9

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1544
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.
« Last Edit: Today at 01:20:22 PM by eumagga0x2a »

Strangiato

  • Newbie
  • *
  • Posts: 7
change icon entry in .desktop file does not solve the problem.
Furthermore this issue should be solved in upstream.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1544
You should likely set StartupWMClass property too. I use

Code: [Select]
[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

Code: [Select]
#!/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

  • Newbie
  • *
  • Posts: 7
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

  • Hero Member
  • *****
  • Posts: 1544
This forum is the best way to report bugs. Contributing code and artwork is the best way to fix them.

Strangiato

  • Newbie
  • *
  • Posts: 7
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

  • Hero Member
  • *****
  • Posts: 1544
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

  • Hero Member
  • *****
  • Posts: 1544
By the way, the icon used for the Avidemux window is "avidemux_icon_small.png" in avidemux/qt4/ADM_userInterfaces/ADM_gui/pics.