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
    运行这两句命令解决

  • 相关阅读:
    wxpython 浏览器框架
    wxpython 开发播放器
    Docker学习(三)——Docker镜像使用
    Docker学习(二)——Docker容器使用
    SSL/TLS协议
    Https原理及证书管理
    证书及证书管理
    Docker学习(一)——安装docker
    Linux系统中安装软件方法总结
    Linux下删除的文件如何恢复
  • 原文地址:https://www.cnblogs.com/shuo1208/p/5857836.html
Copyright © 2011-2022 走看看