ubuntu12.04在桌面创建快捷方式

来源:互联网 发布:海口seo软件排行榜 编辑:程序博客网 时间:2024/04/26 01:03

先看看网上的方法

一、

来源:http://zhidao.baidu.com/link?url=1uQB8jfNPlhGCyUwjgkdaUXWRP8yrvQ6oDtJmNw4pOBgFGG8Ui_mVE0dhfAoYVlYWye_nr-BFV-0lLLFVnBDoK

1. 直接拖动图标到桌面(到你想要传见链接的地方)不要放开鼠标;
2. 然后按住Alt键
3. 再放开,出来的菜单里选择[在此处创建链接]
注意! 如先按住Alt键默认对应拖动窗口操作。

【我用这个方法不行】

二、

来源:http://www.ubuntututorials.com/create-shortcut-desktop-ubuntu-1204/

This simple tutorial will show you how to add application shortcut to Desktop in Ubuntu 12.04.In earlier versions of Ubuntu it’s not that easy,but in 12.04 you can just Drag the application’s Icon to your desktop then chmod the permission of the shortcut.here we go

1.Go to Dash and find the application you want to create shortcut on Desktop,then DRAG the icon to your desktop

2.Open a terminal by pressing CTL+ALT+t ,then run below command

sudo chmod +x ~/Desktop/*.desktop

Without this step you may get error like “Untrusted application launcher”
3.You are done.Enjoy!



To do it via commands:

ln -s /usr/share/applications/your-app-name ~/Desktop

sudo chmod +x ~/Desktop/*.desktop

【第一个不知到怎么从DashHome拖动,第二个方法可行,就是图标上有个小小的锁】


*************************************************************

最后是我自己试验出来的方法,暂时创建了几个没问题

1,打开文件夹(Home Folder),进入/usr/share/applications/。可以看到很多快捷启动图标,点击了可以打开相应的应用。

2,拖动目标图标***到桌面(~/Desktop/)。此时打开终端查看,ls ~/Desktop/,可以看到对应应用***的文件*.desktop。

3,sudo chmod +x ~/Desktop/*.desktop

完成。

###现在我的ubuntu14.04,发现这个方法还是可以,但是有个更方便的方法,

那就是在/usr/share/applications/不去拖动,直接ctrl+c,然后在桌面ctrl+v。吐舌头

不知道是不是对ubuntu12.04也有效。可能不是适合所有软件。

0 0
原创粉丝点击