Ubuntu – How to remove Skype’s double icon in Ubuntu 18.04 Mate tray

18.04skype

Skype 8.20.0.9 and Ubuntu are working fine. No issues. This is more of an aesthetic thingy. Anyways, has anyone face with a double skype icon in the Systray?

Like So?

If you have, how can this be fixed?

Best Answer

  • As a workaround, change EXEC in /usr/share/applications/skypeforlinux.desktop from

    Exec=/usr/bin/skypeforlinux %U
    

    to

    Exec=env XDG_CURRENT_DESKTOP=Unity /usr/bin/skypeforlinux %U
    

    You have to make the same change to ~/.config/autostart/skypeforlinux.desktop so that skype can stay in tray everytime system reboot. However, it seems that skype will undo the change of this autostart file everytime it restarts. My solution is to make this file read-only, like

    chmod 440 ~/.config/autostart/skypeforlinux.desktop
    
  • Related Question