How to create shortcuts to desktop in ubuntu 12.04

原文链接: http://www.howtogeek.com/106470/create-desktop-shortcuts-in-ubuntu-11.04-and-11.10/

00_shortcuts_on_desktop

Creating desktop shortcuts in versions of Ubuntu prior to 11.04 was as easy as right-clicking on the desktop and creating a launcher. However, now, you must install extra packages and then run a special command to create a shortcut.

We will show you how to install the required packages and how to create a shortcut.

To begin installing the required packages, press Ctrl + Alt + T to open a Terminal window. Type the following command at the prompt and press Enter.

sudo apt-get install --no-install-recommends gnome-panel

NOTE: Make sure to enter two dashes before “no” in the above command.

The “–no-install-recommends” option makes sure that only the required packages and no recommended packages get installed. This saves space on your hard drive.

Enter your password when prompted.

Messages telling you what packages will be installed and how much disk space will be used display. When asked if you want to continue, type a “Y” (without the quotes) and press Enter.

When the installation is done, you can create a new shortcut using the command line. Type the following command at the prompt and press Enter.

gnome-desktop-item-edit --create-new ~/Desktop

NOTE: Make sure there are two dashes before create, not one.

The Create Launcher dialog box displays. When creating shortcuts to programs, make sure Application is selected from the Type drop-down list. It should be the default selection.

Enter a name for the shortcut in the Name edit box. Enter the command with the full path to start the program in the Command edit box. You can also use the Browse button to select the command. Most programs program executables are installed into the /usr/bin directory. If desired, you may enter a description for the shortcut in the Comment edit box. However, a  Comment is not required. Click OK to create the shortcut.

Because you opened the Create Launcher dialog box from a command prompt, you are returned to the prompt when the dialog box closes. To close the Terminal window, type “exit” (without the quotes) at the prompt and press Enter.

The shortcut displays on the desktop allowing you to double-click on it to open the program, just like you would use shortcuts on a Windows desktop to open programs.

转载地址:http://www.howtogeek.com/106470/create-desktop-shortcuts-in-ubuntu-11.04-and-11.10/

You can also create shortcuts by pressing Alt + F2, entering the command listed above in the edit box, and pressing Enter. The Create Launcher dialog box displays as shown above and you can create another shortcut.

You can also add shortcuts on your desktop to the Unity launcher by dragging and dropping them onto the launcher.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
不要制造捷径。这句话是对我们生活、工作和学习的提醒。当我们面临困难和挑战时,很容易寻求一些捷径来解决问题。然而,制造捷径并不是一个长久有效的解决方案。 首先,制造捷径常常会导致质量问题。如果我们只顾着完成任务而忽视了细节和质量,结果可能是无法令人满意的产品和服务。举个简单的例子,如果一个厨师在做菜时只关注短时间内完成任务,而不去认真烹饪和调味,那么最终的菜肴可能会缺乏美味和口感。因此,不要制造捷径是确保质量和满足需求的关键。 其次,制造捷径可能会带来不可预测的后果。我们无法预测每一个决定和行动的结果,特别是在缺乏系统和规则的情况下。通过寻找捷径,我们可能会遗漏一些重要的细节,进而导致一系列不良后果。例如,一个学生在写作业时只寻找资料的简化版本,可能会忽视一些关键概念和知识,最终可能导致对问题的不正确理解。 最后,制造捷径会培养出懒惰的心态。寻求捷径是为了省事和节省时间,但这也容易使我们变得懒散。如果我们总是依赖捷径来完成任务,我们就会失去对各种技能和知识的追求和探索欲望。而这种懒散的态度会阻碍我们的个人和职业成长。 总而言之,不要制造捷径是为了保持质量、避免不可预测的后果和培养积极进取的心态。在面对困难和挑战时,我们应该努力克服困难,寻找可持续和可靠的解决方案,以取得更好的成果。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值