How to get icon in CentOS 7?
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!
Όλες οι απαντήσεις (1)
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.