ArchLinux添加程序快捷方式


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


就這麼簡單。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章