Solvedinsomnia Broken icon on Linux

  • 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

29 Answers

✔️Accepted Answer

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

Other Answers:

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.

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

More Issues: