
我最近在我的虛擬 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
只知道我測試過......