Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How to get icon in CentOS 7?

  • 1 baphendule
  • 0 zinale nkinga
  • 4 views
  • Igcine ukuphendulwa ngu Seburo

more options

I manually installed Firefox Quantum (60.0.2) from the tarball. After unpacking, I copied all the files to /opt/firefox. Now the application icon doesn't show up in the Launcher or Taskbar when I launch FF. How do I get it to appear? I can find a few versions of firefox.png on the system - I assume it's just a matter of getting the icon into the right folder. But which one? I'm running CentOS 7 with the default desktop and theme, etc.

Thanks!

All Replies (1)

more options

Hi

Assuming you are using GNOME as your desktop environment:

  • Open a new Gedit text document
  • Make the text:

[Desktop Entry] Type=Application Name=Firefox Comment=Browse the World Wide Web Exec= (path to the firefox-bin file) %u Icon= (path to the firefox icon file) Terminal=false X-Desktop-File-Install-Version=0.23

So for me, this is:

[Desktop Entry] Type=Application Name=Nightly Comment=Browse the World Wide Web Exec=/home/username/firefox/firefox-bin %u Icon=/opt/firefox/browser/chrome/icons/default/default128.png Terminal=false X-Desktop-File-Install-Version=0.23

  • Save this as firefox.desktop in /home/paul/.local/share/applications

This works for me, but if not for you, please come back here and I will do my best to help.