We are always on the lookout for new ways to accelerate everyday tasks in Ubuntu. We'll show you some keyboard shortcuts that you may not have known about and show you how to create your own custom keyboard shortcuts.
When keyboards dominated Earth
Unix – the spiritual predecessor of Linux – precedes graphical user interfaces. The keyboard was the only game in the city, so it went all the way. No wonder then that this functionality was soon introduced in favor of yesterday's computer operators.
Features such as the command
history and aliases appeared in Unix shells. Their goal was to increase productivity by reducing repetition and eliminating the need to remember obscure sequences of commands.
Keyboard shortcuts also increase efficiency. These are clean keyboard shortcuts that trigger a useful action for us. They do not enter a text but cause something to happen .
We'll look at some of the more useful Ubuntu shortcuts for both the terminal and the Ubuntu GNOME Shell Desktop terminal. We also show you how to create your own shortcuts by applying the keystrokes of your choice to the action you want to perform. We tested these shortcuts on Ubuntu 19.04 Disco Dingo.
The Super Key is the key between Ctrl key and Alt key in the lower left corner of the keyboard. Most keyboards display a Windows icon. In other words, "Super" is an operating system-neutral name for the Windows key. We will use the super button well.
Keyboard Shortcuts for the Terminal
The following keyboard shortcuts work in GNOME Terminal – Ubuntu's version-in Terminal application. If they do not seem to work, in a terminal window, click menu> Preferences> Shortcuts and make sure "Enable Shortcuts" is enabled Terminal window
- Ctrl + Alt + T or Shift key + Ctrl + N : Open terminal window  Shift + Ctrl + F: Close current terminal window
Tabs in terminal window
- Shift + Ctrl + T: Open a new tab.
- Shift + Ctrl + W Close the current tab.
- Ctrl + Picture on : Go to the previous tab.
- Ctrl + Image From: Switch to the next tab.
- Shift + Ctrl + Image on: Move to the tab to the left.
- Shift + Ctrl + Page Down : Move to the tab to the right.
- Alt + 1 : Go to tab 1.
- Alt +2 : Switch to Tab 2.
- Alt + 3 : Switch to Tab 3 and so on, up to Alt + 9 to go to Tab 9 switch
- Alt + 0 : Switch to Tab 10.
Edit command line
- Shift + Ctrl + C: Copy the selected text. Select the text with the mouse.
- Shift + Ctrl + V: Paste the copied text into a terminal window. When you paste into an application like an editor, Ctrl + V probably works.
- ctrl + a or pos1 : Switch to starting a command line.
- Ctrl + E or End : Go to the end of a command line.
- Alt + B or Ctrl + left arrow : Move the cursor one word back.
- Ctrl + B or Left Arrow : Move the cursor back one character.
- Alt + F or Ctrl + Right Arrow : Move the cursor one word forward.
- Ctrl + F or Right Arrow : Move the cursor one character forward.
- Ctrl + XX : Jump between the cursor's current position and the beginning of the line. Hold Ctrl and press twice fast X .
- Ctrl + D or Delete : Delete the character under the cursor.
- Ctrl + U : Delete all characters before the cursor. Ctrl + E Ctrl + U deletes the entire line.
- Alt + D : Deletes all characters after the cursor until the end of the line.
- Ctrl + H or Backspace : Delete the character in front of the cursor.
Controlling Terminal Display
- Ctrl + L : Delete the terminal window. Corresponds to the entry of
- Ctrl + S : Stop scrolling the output. Freezes the output of a program, but keeps the program running in the background.
- Ctrl + Q : Restart scrolling output when paused with Ctrl + S.
Zooming the Terminal Window
19659016] Shift + Ctrl ++ (d. H. Shift Ctrl and + "plus sign"): Enlarge Ctrl and -, " the minus sign " ): Zoom Out.
- Shift + Ctrl + F : Search.
- Shift + Ctrl + G : Search for the next occurrence of the search term.
- Shift + Ctrl + H : Search for previous occurrences of the search term.
- Shift + Ctrl + J : plain text highlighting s.
For more keyboard shortcuts, see our list of Bash keyboard shortcuts – they work in any Linux terminal, even outside the desktop.
RELATED: Best Keyboard Shortcuts for Bash (aka Linux and MacOS Terminal)
Desktop Keyboard Shortcuts
Ubuntu's GNOME desktop environment offers many different keyboard shortcuts for navigating your desktop and also working with windows. If you still do all these things mouse-driven, stop!
- Alt + F2 : Run a command. Opens the Enter Command dialog box. Lets you launch applications, execute commands, and run scripts.
- Super + D : Minimizes all windows and displays the desktop.
- Super + Tab or Alt + Tab : Change applications.
- Ctrl + Alt + Up Arrow : Go to the previous workspace.
- Ctrl + Alt + Down Arrow : Move to the next workspace.
- Shift + Ctrl + Alt + Up Arrow : Move an application to the previous workspace.
- Shift + Ctrl + Alt + Down Arrow : An application to the next workspace.
- Super + Left Arrow : Grab the current application so that it occupies the left side of the screen.
- Super + Right Arrow : Grab the current application so that it picks up The right side of the screen.
- Super + Up Arrow : Maximizes the current application.
- Super + Down Arrow : Restores the current value (that is, you can reduce it but not minimize it) Application.
- Super + M or Super + V : View the notifications and the calendar.
- Super + Space : Switches between the input sources. For example, if you have a laptop with a US keyboard and also use it with an external UK keyboard, this is useful.
- Ctrl + Alt + L : Locks the screen as needed Log in again. This allows you to leave your computer safely unattended.
- Ctrl + Alt + Del : Logs you out of the current session.
Keyboard shortcuts for commonly used applications
Many applications follow certain keyboard shortcuts. These should work in most modern applications.
- Ctrl + Q or Ctrl + W or Alt + F4 : Close application.
- Ctrl + P : Open the print dialog.
- Ctrl + S : Save the current file.
- Shift + Ctrl + S : Open the file storage dialog.
- Ctrl + O : Open Open File dialog box.
Creating Custom Shortcuts
You can create your own keyboard shortcuts and attach them to an action that you want to perform when using this keyboard shortcut.
Creating your own keyboard shortcuts Keyboard shortcuts, open the "System Menu" and click on the "Settings" icon:
In the Settings dialog box, click the menu "Devices" entry. This is located in the bottom bar.
Click on the menu entry "Keyboard".
Scroll through the list of existing keyboard shortcuts and click the "+" button at the bottom of the list.
In In the Add Custom Shortcut dialog box, type a descriptive name for the new shortcut in the Name field.
In the Command field, enter the command you want to execute when using the link.
In this example we start Nautilus. We have to enter the command that starts Nautilus, so "
If you see the Name fields and click the Set Shortcut button in the Command Panels When you see the Enter the New Shortcut prompt, press The buttons you want to use for linking.
In our example, we are printing . + E .
When all the fields are filled in, click the green Add button to save your link and to the list of existing ones Added links.
When you scroll through the list of existing links, a new section titled "Custom Links" appears Your new link will be listed in this section.
And now press Super + E Nautilus start. Close the window and test your link! It becomes second nature in no time.
Look through the list while in the Keyboard Shortcuts window and change shortcuts as you like! For example, if your keyboard has no media keys, you can assign one of the F keys to increase or decrease the volume.
Custom shortcuts are not just for quickly opening your favorite programs. You can write a short script to automate some common tasks and bind this script to a keystroke! The possibilities are unlimited.
Using Keyboard Shortcuts
Keyboard shortcuts can get you into trouble. When you start using them, they slow you down! Unfamiliar and in need of a moment to look up, they may feel more of an obstacle than an accelerator.
Do not be discouraged, persevere. There is no immediate satisfaction here. Once you've saved it in your muscle memory, you can get started.
Pick a handful and use them. When they become second nature, add a few more. Then repeat. You'll wonder how you ever made it without her. It's like learning the Linux terminal.
RELATED: 37 Important Linux Commands You Should Know