我最近按照以下步骤在我的虚拟 Ubuntu 机器上安装了 LiClipse:
Download latest version of LiClipse from the official website.
Extract the downloaded file using the command tar xvzf <filename>.
For example: tar xvzf liclipse_1.0.0_linux.gtk.x86.tar.gz
Move the extracted folder to /opt folder using the command
sudo mv liclipse /opt
Now create a shortcut of LiClipse in the applications folder using the below given command
sudo ln -s /opt/liclipse/LiClipse /usr/bin/liclipse
For shortcut:
sudo gedit /usr/share/applications/liclipse.desktop
[Desktop Entry]
Version=1.0.0
Name=LiClipse
Comment=IDE for Python/Django developers
Exec=env UBUNTU_MENUPROXY=0 /opt/liclipse/LiClipse
Icon=/opt/liclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application;Development;IDE
我替换了其中所有必要的东西,我的 LiClipse 图标就在那里,但是当我单击启动时,什么也没有发生。知道为什么吗?
答案1
我观察到星星文件名前的 (*)...表示您尚未保存该文件。请单击节省。
sudo -H gedit /usr/share/applications/liclipse.desktop
更改版本号
[Desktop Entry]
Version=2.4.0
Name=LiClipse
Comment=IDE for Python/Django developers
Exec=env UBUNTU_MENUPROXY=0 /opt/liclipse/LiClipse
Icon=/opt/liclipse/icon.xpm
Terminal=false
Type=Application
Categories=Utility;Application;Development;IDE
只知道我测试过了……