Ubuntu中為Eclipse添加桌面啟動快捷方式


Ubuntu中應用程序啟動器“XXX.desktop”還沒有被標記為可信任的問題:http://www.tuicool.com/articles/fIBJ32n

 

eclipse問題:prefences工具欄切換無反應,需要修改eclipse.init配置文件,在最上面加上
--launcher.GTK_version
2
--launcher.library
即可


eclipse配置桌面圖標啟動:
sudo touch eclipse.desktop(如果想把eclipse配置在啟動欄,則在/usr/share/applications/eclipse.desktop下創建)

sudo vim eclipse.desktop

文件內容輸入:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse
Exec=/home/zhoushuo/app/eclipse/eclipse
Icon=/home/zhoushuo/app/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
保存
執行:sudo chmod u+x eclipse.desktop 將其變為可執行文件.
sudo nautilus 表示以管理員身份訪問文件,找到未被信任的圖標,右鍵屬性,權限選項卡,允許作為程序執行文件打勾即可。

http://www.linuxidc.com/Linux/2016-07/133482.htm
http://www.tuicool.com/articles/fIBJ32n

eclipse安裝svn插件
    An error occurred while collecting items to be installed  
    session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).  
    Unable to read repository at http://subclipse.tigris.org/update_1.8.x/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar.  
    Connection reset
更新了多次報錯,解決辦法

eclipse默認網絡會使用本地代理,修改為直連的方式就好:

Windows > Preferences then General > Network Connections  修改為:

Direct connection

強制關閉電腦后虛擬機無法啟動:
sudo apt-get install dkms
sudo /sbin/rcvboxdrv setup
運行這兩句命令解決


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM