Pages - Menu

01 July 2011

Creating Shortcuts for launching items

This is a short tutorial covering everything that will help you for adding shortcuts for your GNOME desktop.

This is a absolute Beginner tutorial and is explained in detail with screenshots.

Shortcuts are key combinations which when pressed perform certain tasks like opening an application or giving a particular command to the terminal. Adding shortcuts is quite easy in Ubuntu GNOME 2 as it has a pre-installed GUI application. This Shortcut application has all functions like adding a new shortcut, deleting or editing a current shortcut.

To launch Shortcut manager go to System > Preferences > Keyboard Shortcuts.

This windows shows currently assigned shortcuts list, it has name of shortcut on left and key bindings on right hand side.

To add a shortcut click Add



You can set your shortcut name and add a command to start an application.

Now you may not know what is the command for a particular application, this command can be known in many ways like you can try entering name of an application in terminal to check application command.
Like entering "winecfg" (without quotes) in terminal window opens up wine configuration window if you have wine installed.

The second way to do this to install htop and see the current running system process name, htop is a terminal application which shows the currently opened applications and can close them or perform some other task, htop is similar to "Task Manager" in windows.

To install htop do "sudo apt-get install htop" without quotes in terminal and launch it  by going to Application > System Tools > Htop.


As you can see in above screenshot there is a process named "htop" running which is a command for my Htop application. So I can launch Htop by typing "htop" in terminal.

So if I want to add a shortcut for running my Htop application I will first set its name (whichever I want) and a command to launch it.
Then you must a key binding for it by clicking on the key binding space on the right hand side and pressing a desired key combination.
Like if I press "Shift" and "S" while selecting the shortcut I could open my Htop whenever I press Shift and S together.
This makes using Ubuntu faster than ever :)

No comments:

Post a Comment