Rocket.chat.electron: Gnome 3 App Icon not showing

Created on 26 Apr 2017  路  7Comments  路  Source: RocketChat/Rocket.Chat.Electron

On RHEL 7, the App icon is not showing when starting the App.

  • Hit the "Windows" Key to get the app overview
  • Type "rocket"

The App is shown without a icon. The log file shows the following error:

gnome-session[3768]: (org.gnome.Software:4328): GsPlugin-WARNING **: failed to load stock icon rocketchat: Icon 'rocketchat' not present in theme

linux bug

Most helpful comment

Hi, same problem here (on CentOS 7)
The /usr/share/icons/hicolor/512x512/apps/rocketchat-desktop.png file is not used by gnome.
I've solved this issue on my desktop via the following steps:

  1. Downloading an svg version of the icon
  2. Put this file in /usr/share/icons/hicolor/scalable/apps/rocketchat-desktop.svg
  3. Force gtk icon cache for this theme with the sudo gtk-update-icon-cache /usr/share/icons/hicolor command

To solve this globaly, the RPM have to

  1. provides an svg version of the icon and place it like above
  2. force the refresh of icon cache in the %post section for the RPM spec file (if the command exist). For this point, i don't know how this is handled by other desktop envs (kde...)

I didn't find any RPM spec file in this repo so i didn't add a pull request for this.

All 7 comments

I'm using Fedora, so slightly different, I don't see the gnome-session error you quote. I remember in the past this issue was fixed as a colleague reported it. But I have just installed 2.7 from the releases and the issue has reappeared.

Hi, same problem here (on CentOS 7)
The /usr/share/icons/hicolor/512x512/apps/rocketchat-desktop.png file is not used by gnome.
I've solved this issue on my desktop via the following steps:

  1. Downloading an svg version of the icon
  2. Put this file in /usr/share/icons/hicolor/scalable/apps/rocketchat-desktop.svg
  3. Force gtk icon cache for this theme with the sudo gtk-update-icon-cache /usr/share/icons/hicolor command

To solve this globaly, the RPM have to

  1. provides an svg version of the icon and place it like above
  2. force the refresh of icon cache in the %post section for the RPM spec file (if the command exist). For this point, i don't know how this is handled by other desktop envs (kde...)

I didn't find any RPM spec file in this repo so i didn't add a pull request for this.

Mine actually started working again on fedora after a reboot (not sure if that fixed it but the icon works again for me now)

I'm seeing this in both MATE and xfce4 on Arch

Base on bagasse's comment:

sudo curl -o /usr/share/icons/hicolor/scalable/apps/rocketchat.svg \
https://raw.githubusercontent.com/RocketChat/Rocket.Chat.Artwork/master/Logos/icon.svg

sudo gtk-update-icon-cache /usr/share/icons/hicolor

Reboot / logout to restart Gnome.

This is fixed for me after update from 2.11.0 to 2.13.2. Thanks.

I'm closing it due to inactivity.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wowansm picture wowansm  路  3Comments

paulz1 picture paulz1  路  3Comments

jswolf19 picture jswolf19  路  4Comments

engelgabriel picture engelgabriel  路  5Comments

geekgonecrazy picture geekgonecrazy  路  4Comments