Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to get icon in CentOS 7?

  • 1 个回答
  • 0 人有此问题
  • 2 次查看
  • 最后回复者为 Paul

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!

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)

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.