zoukankan      html  css  js  c++  java
  • 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
    运行这两句命令解决

  • 相关阅读:
    存储过程中执行动态Sql语句
    SqlServer新建视图
    DataGridView DataGridViewCheckBoxColumn编辑时实时触发事件
    oracle number 和sqlserver numeric的区别
    放下你的无效社交
    一个程序员眼中的北京和上海
    10+年程序员总结的20+条经验教训
    SQL collate
    SQL自定义函数split分隔字符串
    C# .NET开发Oracle数据库应用程序
  • 原文地址:https://www.cnblogs.com/shuo1208/p/5857836.html
Copyright © 2011-2022 走看看