centos7 创建桌面快捷方式(chrome,eclipse)

来源:互联网 发布:淘宝美工的前景 编辑:程序博客网 时间:2024/05/18 23:15
直接把 /usr/share/applications 对应的 xxx.desktop 文件复制到桌面就OK!

比如要在桌面创建Google Chrome Browser的快捷方式,直接在找到 /usr/share/applications/目录下找到 google-chrome.desktop,然后复制它到桌面就好了,有图有真相!

http://tieba.baidu.com/p/3246631492

为啥在桌面右键没有create launcher呢?


eclipse 桌面快捷方式

在将eclipse-SDK-3.7.2-linux-gtk.tar.gz解压到某个目录下之后,命令行进行如下编辑

vi /usr/share/applications/eclipse.desktop

添加如下内容:

[Desktop Entry]
Type=Application
Name=eclipse
Exec=/opt/eclips/eclipse  //eclipse存放路径
GenericName=eclipse
Comment=Java development tools
Icon=/opt/eclipse/icon.xpm  //eclipse存放路径
Categories=Application;Development;

Terminal=false

然后保存,可以在application->development下面看到eclipse选项

http://my.oschina.net/juenlee/blog/76139


0 0