首页 > 系统服务 > 详细

ArchLinux添加程序快捷方式

时间:2016-05-10 07:21:22      阅读:250      评论:0      收藏:0      [点我收藏+]


SecureCRT这个程序安装后没有快捷方式,需要自己添加


找到SecureCRT的目录,里面有个SecureCRT.desktop文件,讲此文件复制到/usr/share/applications目录下即可,修改里面的Icon参数

[xiaomo@ArchLinux applications]$ cat SecureCRT.desktop
[Desktop Entry]
Name=SecureCRT
Comment=SecureCRT provides remote access using SSH2, SSH1, Telnet, Serial, and other protocols. 
Exec=SecureCRT
Icon=/usr/local/scrt-7.3.5/securecrt_64.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Network;

Actions=Window;

[Desktop Action Window]
Name=New Window
Exec=SecureCRT
OnlyShowIn=Unity;
[xiaomo@ArchLinux applications]$ sed -i ‘s@Icon=.*@Icon=你的程序图标图片(png格式)@‘ /usr/share/applications/SecureCRT.desktop


就这么简单。

本文出自 “逢场做戏。” 博客,请务必保留此出处http://xiaofengmo.blog.51cto.com/10116365/1771624

ArchLinux添加程序快捷方式

原文:http://xiaofengmo.blog.51cto.com/10116365/1771624

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!