Skip to content
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

Broken icon on Linux #1717

Closed
rafaelrenanpacheco opened this issue Oct 9, 2019 · 28 comments
Closed

Broken icon on Linux #1717

rafaelrenanpacheco opened this issue Oct 9, 2019 · 28 comments
Labels
B-bug Bug: general classification O-linux Operating System: Linux

Comments

@rafaelrenanpacheco
Copy link
Contributor

  • Insomnia Version: 7.0.1
  • Operating System: Arch Linux 5.3.5

Details

I think 7.0.1 broke the desktop icon again:

image

I'm using Gnome 3.34.1

@matthewarmand
Copy link

Also on Arch, installed Insomnia 7.0.1 via AUR and also seeing this issue with KDE Plasma 5.16.5

@thejoaov
Copy link

Also in Ubuntu 19.04, installed via .deb package.

@krasoffski
Copy link

I have the same problem on Xubuntu 18.04 on Insomnia version 6/7.
Installed via deb package.
Similar Electron apps have correct icon in task bar.

image

@rhaces
Copy link

rhaces commented Oct 10, 2019

Same issue, Ubuntu 19.04 installed via repository

@christianlmc
Copy link

christianlmc commented Oct 11, 2019

Found a (temporary) solution on Ubuntu 18.04:

On your terminal, run:

locate insomnia.png

It should show something like this:

/usr/share/icons/hicolor/0x0/apps/insomnia.png

Now edit the insomnia.desktop file (BACKUP THIS FILE BEFORE EDITING):

sudo nano /usr/share/applications/insomnia.desktop

Change the 'Icon' line to reflect the following:

Icon=/usr/share/icons/hicolor/0x0/apps/insomnia.png

Close any opened instances of Insomnia and open a new one, the icon should show now

@matthewarmand
Copy link

Fix worked for me on Arch as well, and the icon showed up in the same location.

It'd still be good to get a fix to the installation process so this doesn't happen

@gschier
Copy link
Contributor

gschier commented Oct 11, 2019

Hmm, strange. Probably an easy fix but is frustrating that this keeps happening. Will fire up a VM and get this one fixed for the next release.

@gschier gschier added Accepted 👌 P-high Priority: High O-linux Operating System: Linux labels Oct 11, 2019
@michelgds
Copy link

It happens on Ubuntu 16.04.6 LTS (Xenial Xerus). That fix works for me. Thank you @christianlmc!

@krasoffski
Copy link

krasoffski commented Oct 15, 2019

Workaround does not work for Xubuntu 18.04. (((
Also it might be local user desktop file for modification:

/home/krasoffski/.local/share/applications/insomnia.desktop

@julio899
Copy link

julio899 commented Oct 31, 2019

excellent I can resolve copy the file insomnia.png in this folder /usr/share/icons/hicolor/0x0/apps/
and mod the file /usr/share/applications/insomnia.desktop
in Line Icon=/usr/share/icons/hicolor/0x0/apps/insomnia.png
Using Elementary Os 5.0 Juno
insomnia

@sharifzadesina
Copy link

Same on 7.0.3

@gschier
Copy link
Contributor

gschier commented Nov 11, 2019

Just got an Ubuntu VM going so I can work on a fix

@gschier
Copy link
Contributor

gschier commented Nov 11, 2019

The AppImage seems to be fine, which is weird

@wdolorito
Copy link

I fixed this in elementary OS by linking the icon in to /usr/share/pixmaps:

sudo ln -s /usr/share/icons/hicolor/0x0/apps/insomnia.png /usr/share/pixmaps

Log out, then log back in and the icon should appear.

@coyoterj
Copy link

That fix works for me. Thank you @wdolorito !

  • Insomnia: 7.03
  • OS: Pop!_OS 19.10
  • Gnome: 3.34.1

@krasoffski
Copy link

Does not work for Xubuntu 18.04

@wdolorito
Copy link

Does not work for Xubuntu 18.04

I was curious about this, since elementary is built on ubuntu 18.04 as well, so I downloaded an ISO and installed Xubuntu in a VM. After installing insomnia from the repos, as expected, the icon did not appear in the menus. I linked the icon as I did in eOS, logged out, logged back in and the icon showed up. Are you still experiencing the problem?

@christianodejesus
Copy link

Same here on Insomnia 7.0.3 running on Linux Mint 19.1 and 19.2.

@sidneisimeao
Copy link

@christianodejesus ,
I was able to display the icon on the desktop by changing the Icon entry:
Icon=/usr/share/icons/hicolor/0x0/apps/insomnia.png

@yuridamata
Copy link

yuridamata commented Nov 26, 2019

Same here on Insomnia 7.0.3 running on Linux Mint 19.1 and 19.2.

The workaround worked for me.

The problem is in the insomnia.desktop file. The Icon entry was like that:

Icon=Insomnia

@gschier
Copy link
Contributor

gschier commented Nov 26, 2019

Can you all give this new Beta build a try and let me know if it works? Seems to be working on my Ubuntu install for AppImage, Snap, and deb

https://github.com/getinsomnia/insomnia/releases/tag/v7.0.4-beta.6

@GekovIN
Copy link

GekovIN commented Nov 27, 2019

Can you all give this new Beta build a try and let me know if it works? Seems to be working on my Ubuntu install for AppImage, Snap, and deb

https://github.com/getinsomnia/insomnia/releases/tag/v7.0.4-beta.6

Works on Ubuntu 16.04 LTS, thanks

@gschier
Copy link
Contributor

gschier commented Nov 27, 2019

Awesome, thanks for letting me know!

@gschier gschier closed this as completed Nov 27, 2019
@krasoffski
Copy link

image

Xubuntu 18.04 problem still present.

@rafaelrenanpacheco
Copy link
Contributor Author

Is this still an issue?

@krasoffski
Copy link

Not sure this is the latest version but issue still exists.
image

@tcelestino
Copy link

tcelestino commented May 4, 2020

Insomnia Designer v2020.1.3 on Ubuntu 18.04

Screenshot from 2020-05-04 17-25-28

@wdawson wdawson closed this as completed Jun 30, 2021
@Kong Kong locked and limited conversation to collaborators Jun 30, 2021
@wdawson wdawson added B-bug Bug: general classification and removed P-high Priority: High labels Jul 2, 2021
@Kong Kong unlocked this conversation Jul 2, 2021
@wdawson wdawson reopened this Jul 2, 2021
@dimitropoulos
Copy link
Contributor

This appears to no longer be happening in XFCE or KDE

Screenshot_20210702_161351

Screenshot_20210702_161535

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification O-linux Operating System: Linux
Projects
None yet
Development

No branches or pull requests