-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Desktop App Icon not shown #16
Comments
@AluminiumTech can you try out RC2? I think this was fixed in #11 but I couldn't confirm it on Ubuntu 16.04 (see #11 (comment) for more context). |
@shiftkey In RC2, I see it now but it's super pixelated and also it doesn't show in the correct icon in "Show Applications" bit on Ubuntu. |
@AluminiumTech can you attach screenshots? The source image should be 512x512... |
Any thoughts @picandocodigo - should we be using a smaller image here? |
Maybe we should use 128x128? I don't know if it would be possible with Electron to set different icon sizes for different situations, but I found this specific to Ubuntu:
|
Idk, the VSCode icon on my Ubuntu favorites/taskbar looks just fine. |
I fixed some issues on my GNOME3 desktop with GitHub Desktop RC3 by changing the content of /usr/share/applications/desktop.desktop to: [Desktop Entry] |
@appelgriebsch I'm intrigued by those changes:
So where is you
I've figured out how to add custom values to the |
I don't know if this works, but have you ever tried to use an svg? In this case the OS decides, wich is the best size. |
I reported an issue to |
I the screenshot squashed or is it really like that? |
@Serkan-devel Given that the text in the image looks normal, it’s probably the icon that’s squashed. |
Yes, it's the icon |
I've had all these issues and more. I have the On Ubuntu, it was at first showing the desktop icon (as in the brown folder one). I renamed I'm also having duplicate icons on Fedora. I pinned it, but when opening it there's a second icon that shows up. Have I missed somebody mentioning that? |
Any news? |
Hi, The solution is contained in the bash script attached to this comment as a zip archive (bash script are not supported as attachment). You can get it here githubfix.zip or check the code below. The first part changes the file of the icon in hicolor theme from #!/bin/bash
# After installing the deb file, execute this script
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
cp /usr/share/applications/desktop.desktop ~/.local/share/applications/
sed -i -e 's/=desktop/=github-desktop/g' ~/.local/share/applications/desktop.desktop
echo "StartupWMClass=github desktop" >> ~/.local/share/applications/desktop.desktop I'll also attach here some screenshot to show how this works in my settings. |
@gabrieleara why does it need to be local? |
@chromefire actually it doesn’t have to be, I just found it more convenient than modifying the original file because
So it’s not strictly necessary, just a personal preference that I though many users would share. |
Okay but that is nothing that should be included in the actual fix |
No, indeed, it’s just a workaround that could be used while this problem is not fixed. |
On KDE there is a Breeze icon named |
I believe most of these issues were related to the name of the package, which was changed from I'm going to close this out but please open a fresh issue if you notice any ongoing issues with the current installer. |
Issue: I don't know if this is intentional or not but the GitHub Desktop App icon is not shown. And the icon shown for when a window does open is weird looking.
The GitHub Desktop window which is open is the one with the red stop/close thing in the icon. And the one on the left of the screenshot tool is the GitHub Desktop App icon although as you can no doubt see, it is not the real GitHub Desktop icon.
GitHub Desktop Version: 1.0.11 RC1 for Linux
OS version: Ubuntu 17.10 with latest updates.
Steps to Reproduce
Expected behavior: Official GitHub Desktop app icon to be used in taskbar/favorites and to create a window with that icon.
Actual behavior: A generic app icon was used in taskbar/favorites and it created a window a weird icon.
Reproduces how often: [Every Time
The text was updated successfully, but these errors were encountered: