Skip to content

Instantly share code, notes, and snippets.

@JCharante
Created August 31, 2017 15:42
Show Gist options
  • Save JCharante/f293c1e36b3b36d3026bf93bf01487e2 to your computer and use it in GitHub Desktop.
Save JCharante/f293c1e36b3b36d3026bf93bf01487e2 to your computer and use it in GitHub Desktop.
Ubuntu 17.04 Menu Bar Fix

Can't see the slack icon or gitter icon or any electron app's icon in your menubar?

Just add env XDG_CURRENT_DESKTOP=Unity to your .desktop files.

  1. Open /usr/share/applications/gitter.desktop
  2. Add env XDG_CURRENT_DESKTOP=Unity immediately after the equal sign on the line that starts with Exec=
  3. Restart gitter from your gui

So that line should go from Exec=/opt/Gitter/linux64/Gitter to Exec=env XDG_CURRENT_DESKTOP=Unity /opt/Gitter/linux64/Gitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment