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