Last active
October 22, 2023 07:02
-
-
Save alexanderankin/0b3fc9ac61de9588da8679ad185b0c43 to your computer and use it in GitHub Desktop.
How to fix the tray icon for ubuntu unity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| sudo sed -i "/^Exec/s#.*#Exec=env XDG_CURRENT_DESKTOP='' /usr/share/discord/Discord#" /usr/share/applications/discord.desktop | |
| sudo xdg-desktop-menu install --novendor --mode system /usr/share/applications/discord.desktop | |
| # Q: how do i fix discord so the icon appears in the tray again for ubuntu unity | |
| # A: run this script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also fixes slack:
sudo sed "/^Exec/s#Exec=\(.*\)#Exec=env XDG_CURRENT_DESKTOP='' \1#" /usr/share/applications/slack.desktop -i sudo xdg-desktop-menu install --novendor --mode system /usr/share/applications/slack.desktop