Forums » Installing AMC (english) »
icon problem with new installation of amc on Ubuntu 22.04
Added by S. McKay over 2 years ago
Hi,
I recently had a disk failure, and had to reinstall Ubuntu 22.04 and reinstall the apps I use.
When I start AMC from the icon in the dock, it starts a new instance of AMC. Usually, that means I also see the icon further below in the dock, indicating I have an instance of AMC running.
However, after my reinstall, the running version (which identifies as AMC-gui.pl) just has the default icon (white gear on gray background). Before I had to reinstall, it had the correct icon,
but now it does not. (I had upgraded to 22.04 previously).
Does anyone know what the trouble is? Is it a glitch if you install AMC on a fresh install of 22.04? Is there an easy way to fix it?
This is pretty minor, but it helps me to glance at the dock and see if I have AMC running ...
Replies (1)
RE: icon problem with new installation of amc on Ubuntu 22.04 - Added by Vincent Raspal about 2 years ago
Hi,
concerning the duplicated icon problem:
This issue is due to the missing entry StartupWMClass=
in the .desktop
file.
1. Open AMC.
2. Open a terminal and type this: xprop | grep WM_CLASS | awk '{print $4}'
3. With the new mouse ponter, click on AMC window.
4. In the terminal read the result between double quotes. For me it is "AMC-gui.pl"
.
5. In the terminal type sudo gedit /usr/share/applications/net.auto_multiple_choice.amc.desktop
(you can edit the file with another tool rather than gedit
)
6. Add the line StartupWMClass=AMC-gui.pl
at the end of the file and save.
7. Wait a few seconds and re-try opening AMC: your problem should be solved
(1-1/1)