Modify the Fedora menu icon

Source: Internet
Author: User
Similar phenomena occur not only in Fedora but also in GNOME of other releases. After the program is installed, no icons are displayed in the menu bar. The reason may be that this application does not have an icon file, or the icon file is not in the default system directory. Here we can manually modify the configuration file. Find the configuration file of the application you want to modify under/usr/share/applications. Then modify the Icon field. You can use the find command in the root directory to find the application you have installed.

Similar phenomena occur not only in Fedora but also in GNOME of other releases. After the program is installed, no icons are displayed in the menu bar. The reason may be that this application does not have an icon file, or the icon file is not in the default system directory. Here we can manually modify the configuration file.

Find the configuration file of the application you want to modify under/usr/share/applications.

Then modify the Icon field.

You can run the "find" command in the root directory to check whether your installed application has an icon file. For example, you can run the following command to find the icon file of system-config-selinux:

Find/-name "system-config-selinux .*"

If the .png or. svg file exists, it is an icon file.

Then modify the/usr/share/applications/fedora-selinux-polgengui.desktop file and change its Icon field to the following:

Icon =/usr/share/system-config-selinux/sys-config-selinux.png

Save and exit.

Applications without icons can select any icon in the/usr/share/icons/directory.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.