作者:魅由心生先_941 | 来源:互联网 | 2023-09-25 02:39
sudogeditusrshareapplicationseclipse.desktop[DesktopEntry]NameEclipseCommentcprojectmanage
sudo gedit /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Comment=c project manage software
Exec=/home/wy/Downloads/eclipse/eclipse
Icon=/home/wy/Downloads/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;GTK;Eclipse
然后就能在应用程序菜单(dash)中找到eclipse图标。点击运行后固定在启动栏即可。