Effective keyboard usage in Linux
The Linux pro user community often gives a stress on doing things via the command line interface, often known as CLI. It is not just a trend but a productivity hack for people who live on Linux, all day long. Getting things done using the CLI is much more convenient, once you get used to it.
Apart from the CLI, various graphical user interfaces(GUI) too have keyboard shortcuts for most of the Linux applications. We shall now put our eyes down to some commonly used key combination to get a handful of the routine tasks accomplished without you having the need to chase your mouse!
The following set of key combination are known to work on a GNOME desktop environment, with a hope that most of it shall work on alternative desktop environments. I shall be glad to see some more entries added to the list through the comments section.
Before we start, one should remember the 4 basic keystrokes for a GNOME desktop:
- Escape It cancels/stops whatever is being done on the active window.
- Enter Generally used to select an option or run/open a selected file.
- Tab Used to move through the links/icons/files in a sequential manner.
- Cursor Keys They help you move your cursor to the desired position.
Apart from them, we have a list of productive keystroke combination:
The slider is a quick & easy way to accomplish tasks which would otherwise involve long trails of the mighty mouse. You can use the following combination:
- Alt + TAB It pops up the slider to select a program out of the one’s which are currently running or dormant(minimized). This happens to be a cool combination to help you switch between windows. Just keep holding the ALT and keep pressing TAB until you have the program that you want.
- Shift + Alt + TAB It brings up the slider to select a menu panel and allows you to click select shortcuts, etc.
- Ctrl + Alt + left / right cursor keys It pops up the slider to move toggle over your workspace.
- Ctrl + Alt + d This combination minimizes all the windows which are active, leaving behind the desktop, all in a jiffy!
Another set of key combination include Alt and the Function keys. This combination helps manage the windows:
- Alt + F1 This brings up the main menu.
- Alt + F2 This allows you to run an application by typing its name in the pop-up box.
- Alt + F4 It closes the active window. Equivalent to clicking the X on the corner of the window.
- Alt + F7 It allows you to use the cursor keys to move the window. Pressing other keys return the control back to normal.
- Alt + F8 It helps you resize the active window using the cursor keys. Pressing other keys return the control back to normal.
- Alt + F9 It minimizes the active window.
- Alt + F10 It maximizes the active window.
You may use Alt + Space to bring up the window bar menu to check out this list, just in case you forget them!
What we just saw was a comprehensive list of keyboard shortcuts for window management tasks. We shall now eye on the next subset of keystrokes, which involves program management tasks. The following commands are often known as Apple Lisa/IBM editing commands and most programs are known to have them. But remember, just as one size doesn’t fit all, there may be some discrepancies.
- F10 It gets you to the main menu of a program you are currently in. You may then use the cursor keys to get around.
- Shift + F10 It opens the right-click menu of the active program.
- Ctrl + S It saves the active file. It’s a common and widely used command.
- Ctrl + Z undos the last action.
- Ctrl + X / Ctrl C / Ctrl V Cut, Copy, Paste - No description needed!
- Ctrl + F / Ctrl G Find and find next.
- Ctrl + O It helps open an existing file within a program.
- Ctrl + Shift-W It closes the active program.
Some shortcuts for Firefox;
- ALT + D or CTRL + L or F6 Lets you point to the address bar in a flash.
- CTRL + T Creates a new tab in the current window.
- CTRL + Tab Allows you to toggle between the opened tabs.
- CTRL + R / F5 Refreshes the current tab.
- CTRL + W Close the current tab.