如何在CentOS 8中添加主菜单选项

时间:2020-02-24 09:42:55

标签: rhel gnome-3 centos8

对于CentOS 7,可以通过Main-Menu应用程序添加自定义菜单项。现在我已升级到CentOS 8,该选项丢失了。

1 个答案:

答案 0 :(得分:1)

我通过在 / usr / share / applications / 目录中手动添加应用程序解决了此问题。要将eclipse添加为自定义应用程序,请添加新文件 /usr/share/applications/eclipse.desktop ,其中包含以下内容:

[Desktop Entry]
Name=Eclipse
GenericName=Eclipse
Comment=Eclipse IDE for Enterprise Java Developers.
Exec=<path_to_eclipse>
Type=Application
Icon=<path_to_icon>
Categories=Application;
相关问题