insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Broken icon on Linux

Open rafaelrenanpacheco opened this issue 7 years ago • 28 comments

  • 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

rafaelrenanpacheco avatar Oct 09 '19 18:10 rafaelrenanpacheco

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

matthewarmand avatar Oct 09 '19 20:10 matthewarmand

Also in Ubuntu 19.04, installed via .deb package.

thejoaov avatar Oct 10 '19 01:10 thejoaov

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

rst5nn avatar Oct 10 '19 09:10 rst5nn

Same issue, Ubuntu 19.04 installed via repository

rhaces avatar Oct 10 '19 13:10 rhaces

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

christianlmc avatar Oct 11 '19 00:10 christianlmc

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

matthewarmand avatar Oct 11 '19 00:10 matthewarmand

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 avatar Oct 11 '19 22:10 gschier

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

michelgds avatar Oct 15 '19 01:10 michelgds

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

rst5nn avatar Oct 15 '19 09:10 rst5nn

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

julio899 avatar Oct 31 '19 16:10 julio899

Same on 7.0.3

ghost avatar Nov 04 '19 11:11 ghost

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

gschier avatar Nov 11 '19 21:11 gschier

The AppImage seems to be fine, which is weird

gschier avatar Nov 11 '19 21:11 gschier

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.

wdolorito avatar Nov 12 '19 17:11 wdolorito

That fix works for me. Thank you @wdolorito !

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

coyoterj avatar Nov 17 '19 16:11 coyoterj

Does not work for Xubuntu 18.04

rst5nn avatar Nov 18 '19 14:11 rst5nn

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?

wdolorito avatar Nov 18 '19 20:11 wdolorito

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

christianodejesus avatar Nov 19 '19 03:11 christianodejesus

@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

sidneisimeao avatar Nov 23 '19 13:11 sidneisimeao

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

yuridamata avatar Nov 26 '19 15:11 yuridamata