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图标。点击运行后固定在启动栏即可。
时间: 2024-11-08 02:22:08