Ova

How to Use Your Keyboard Effectively in Ubuntu

Published in Ubuntu Keyboard Usage 5 mins read

Mastering your keyboard in Ubuntu transforms your workflow, offering faster navigation, efficient text input, and seamless system control without constantly reaching for your mouse. From basic typing to advanced shortcuts and customization, your keyboard is a powerful tool for productivity.

Understanding Basic Keyboard Layouts

Ubuntu supports a vast array of keyboard layouts to accommodate different languages and regional preferences.

  • Checking Your Current Layout:
    1. Go to Settings (usually accessible via the Applications menu or top-right system tray).
    2. Navigate to Keyboard.
    3. Look under Input Sources to see your active layout(s).
  • Adding or Switching Layouts:
    1. In Settings > Keyboard > Input Sources, click the + button.
    2. Search for your desired language or layout (e.g., "French (AZERTY)", "English (Dvorak)").
    3. Once added, you can switch between layouts using a keyboard shortcut (often Super + Space or Alt + Shift, configurable in settings) or by clicking the input source indicator in the top bar.

Essential Keyboard Shortcuts for Ubuntu

Ubuntu's desktop environment (GNOME by default) offers a rich set of keyboard shortcuts designed to boost your efficiency.

General System Navigation & Window Management

Shortcut Action
Super (Windows key) Opens the Activities overview, allowing you to search for applications, files, and switch windows.
Super + A Opens the Applications menu to browse installed programs.
Super + Left/Right Snaps the current window to the left/right half of the screen.
Super + Up Maximizes the current window.
Super + Down Restores or minimizes the current window.
Alt + Tab Switches between open applications. Hold Shift to cycle backward.
Ctrl + Alt + T Opens a new Terminal window.
Ctrl + Alt + Del Opens the shutdown/logout dialog.
Print Screen Takes a screenshot of the entire desktop. Add Shift for a selected area, Alt for a window.

Text Editing & Application Controls

Standard shortcuts found in most operating systems also work seamlessly in Ubuntu applications:

  • Ctrl + C: Copy selected text or items.
  • Ctrl + X: Cut selected text or items.
  • Ctrl + V: Paste copied or cut text or items.
  • Ctrl + Z: Undo the last action.
  • Ctrl + S: Save the current document.
  • Ctrl + F: Open the find dialog within an application.
  • Ctrl + P: Print the current document.

Using Alt Key Accelerators for UI Control

A powerful feature in Ubuntu is the use of the Alt key for direct UI interaction:

  • Revealing Accelerators: Hold down the Alt key. This will reveal underlined letters on menu items, buttons, and other controls within the active window. These are called accelerators.
  • Activating Controls: Press Alt combined with the underlined letter to activate that control, exactly as if you had clicked it with your mouse. For instance, in a text editor, holding Alt might underline F for "File" and E for "Edit". Pressing Alt + F would open the File menu.
  • Navigating Menus: Once a menu is open (e.g., after Alt + F), you can use the arrow keys to navigate through its items and Enter to select.
  • Exiting UI Elements: The Alt key also serves to exit various user interface elements such as:
    • Open menus
    • Popup windows
    • Application switchers
    • Dialog boxes
  • Opening the First Menu: Pressing Alt on its own will typically open the first menu on the menubar of the active window, offering a quick entry point to application functions.

Terminal Specific Shortcuts

For those working in the command line, these can be indispensable:

  • Ctrl + C: Stop the currently running command (sends SIGINT).
  • Ctrl + Z: Suspend the currently running command (sends SIGTSTP). Use fg to bring it back to the foreground.
  • Ctrl + D: Logs you out of the current shell or closes the terminal if it's the only active session.
  • Ctrl + L: Clear the terminal screen.
  • Ctrl + R: Search through your command history.

Accessing Special Characters and Emojis

Ubuntu provides multiple ways to input characters not readily available on your standard keyboard layout.

  • Character Map: Search for "Characters" in the Activities overview. This application allows you to browse and insert a vast array of symbols, emojis, and international characters.
  • Compose Key: Some users configure a "Compose Key" in Settings > Keyboard > Special Characters (or similar). This key, when pressed followed by a sequence of characters, generates a special symbol. For example, Compose + ' + e might produce é.
  • Emoji Picker: In many text fields, you can press Ctrl + . or Ctrl + ; to bring up an emoji picker.

Customizing Your Keyboard Settings

Tailor your keyboard experience to your preferences:

  1. Access Keyboard Settings: Go to Settings > Keyboard.
  2. Customize Shortcuts:
    • Under Keyboard Shortcuts, you'll find categories like "Navigation," "Windows," "Sound and Media," and "Custom Shortcuts."
    • Click on an existing shortcut to change it or add new custom shortcuts for specific applications or commands.
  3. Typing and Accessibility: Adjust settings like:
    • Repeat Keys: Control key repeat delay and speed.
    • Cursor Blinking: Adjust the rate at which the text cursor blinks.
    • Slow Keys, Bounce Keys, Sticky Keys: Accessibility features to assist users with specific needs.
  4. Hardware Configuration: If you have a specialized keyboard, some advanced settings might be available under a separate "Hardware" tab.

Troubleshooting Common Keyboard Issues

If your keyboard isn't behaving as expected:

  • Check Physical Connection: Ensure it's securely plugged in (for wired keyboards).
  • Restart Your System: A simple reboot often resolves temporary glitches.
  • Verify Input Source: Make sure you haven't accidentally switched to an unfamiliar keyboard layout.
  • Test in Another Application: See if the issue is system-wide or confined to a single application.
  • Update Your System: Ensure your Ubuntu system and drivers are up to date via Software Updater.

By leveraging these tips and shortcuts, you can significantly enhance your productivity and interaction with your Ubuntu desktop.