-
Notifications
You must be signed in to change notification settings - Fork 32
Apps installed via Snap
Gustavo Reis edited this page Apr 20, 2019
·
2 revisions
Unfortunately the Snap apps are not supported almost by any icons themes, because the icons paths of apps installed via Snap are hardcoded and their desktop files are not hosted in the folder ~/.local/share/applications
or /usr/share/applications
.
To solve it, please follow the instructions:
- Do:
# Copy all desktop files of all Snap apps to "~/.local/share/applications"
sudo cp /var/lib/snapd/desktop/applications/*.desktop ~/.local/share/applications
# To make the files publically accessible
sudo chmod -R 777 ~/.local/share/applications
# To remove the duplicates
sudo rm /var/lib/snapd/desktop/applications/*.desktop
- Go to the directory
~/.local/share/applications
; - Open each desktop file of Snap app with your favourite text editor and modify the hardcoded path of
Icon
to the simple path with no extension. For example, if you use Insomnia:
# Replace...
Icon=snap/icons/icon.png
# for
Icon=insomnia
- Run the command
update-desktop-database
in the terminal to refresh the list of desktop files.
- CC BY-SA/GPL3 © 2018-2019 Suru Icons by Sam Hewitt.
- GPL3 © 2018-2019 Suru++ Ubuntu by Andrea Bonanni and Gustavo Costa.
- GPL3 © 2018-2019 Suru++ 25 by Gustavo Costa.
- GPL3 © Papirus by Alexey Varfolomeev.
- GPL3 © Numix by Numix Team.
- GPL3/MIT © 2015-2019 La Capitaine by Keefer Rourke.
- MIT © Icons 8 by Gravit Designer1
- MIT © Twemoji by Twitter Team.
1 Gravit Designer has a special agreement with Icons 8 and allows the Pro user of Gravit Designer to use any icon without attribution and to sub-licence under an open source licence. See the topic here.
- Installation
- Tutorials
- Known bugs
- Report
- Tools
- Contributing
- Authors and Contributors
- Changelog
- Credits and Licences