答案1
如果您Eclipse.desktop
在中创建文件.local/share/applications
,然后运行sudo chmod a+x Eclipse.desktop
,您将能够将 Eclipse 添加到收藏夹,并且它将在应用程序中可见。
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/home/user/eclipse/java-2020-03/eclipse/eclipse
Type=Application
Icon=/home/user/eclipse/java-2020-03/eclipse/icon.xpm
StartupWMClass=Eclipse