KDE uses generic "desktop" icon rather than GitHubDesktop icon
Closed this issue · 8 comments
Description
Admittedly, this is a very minor issue, and I'd like to say thanks for your work on this!
KDE uses a generic "Desktop" icon in the launcher rather than the GitHubDesktop icon. This is some combination of #22 and KDE confusing the two icons. I was not able to change it via the Edit Applications...
menu until I renamed the icons github-desktop.png
(see below for more detail). The correct icon is used elsewhere, so this is not a duplicate of #16
Version
- GitHub Desktop: 1.1.1 Linux RC
- Operating system:
Kubuntu 17.10
- KDE Plasma 5.10.5
Steps to Reproduce
- Install GitHubDesktop via most recent
.deb
- Open launcher
- Find GitHubDesktop entry (generic "Desktop" icon displayed)
- Right click launcher > Edit Applications... > Development > GitHubDesktop
- Click icon to change > choose
desktop
icon that matches GitHubDesktop - Exit > Save
- Repeat steps 2-3
Expected Behavior
Find GitHubDesktop in launcher, see GitHubDesktop icon.
Actual Behavior
GitHubDesktop icon is generic "desktop" icon, can't be changed via KDE Menu Editor.
Workaround
- Rename icons
desktop.png
togithub-desktop.png
sudo mv /usr/share/icons/hicolor/1024x1024/apps/desktop.png /usr/share/icons/hicolor/1024x1024/apps/github-desktop.png
sudo mv /usr/share/icons/hicolor/512x512/apps/desktop.png /usr/share/icons/hicolor/512x512/apps/github-desktop.png
sudo mv /usr/share/icons/hicolor/256x256/apps/desktop.png /usr/share/icons/hicolor/256x256/apps/github-desktop.png
- Right click launcher > Edit Applications... > Development > GitHubDesktop
- Click icon to change > choose
github-desktop
icon that matches GitHubDesktop - Exit > Save
Not just KDE, it also happens in Gnome and XFCE.
Let me suggest a bit you...
Instead of a PNG format, prefer the SVG format. Instead of Icon=desktop
or Icon=github-desktop.png
, you should use Icon=github-desktop
(without format), so the icon pack themes, like Moka, Numix, Paper, Suru++, etc. can recognise that icon and display it.
Beside, we prefer it open only ONE SAME desktop file, because for example, see the screenshot, when I open the black icon, it opens the purple icon and closes the black icon:
BTW Same for Cinnamon (Linux Mint 18.2) It's more packaging related problem I would say...
Same for Ubuntu 14.04 LTS with Unity shell. Just default icon.
Rename icons
desktop.png
togithub-desktop.png
I'm aiming to get #80 in for the 1.5.0 release, which renames the package from desktop
to github-desktop
, and will update these files to use a name:
I've just published 1.5.0-linux1
that should address the package name issue - please try it out! https://github.com/shiftkey/desktop/releases/tag/release-1.5.0-linux1