Ubuntu Keyboard Shortcuts: Complete Cheatsheet

Ubuntu keyboard shortcuts -> your productivity

Page content

Ubuntu’s keyboard shortcuts are essential tools for maximizing productivity and efficiency. Whether you’re a developer, sysadmin, or power user, these shortcuts might speed up your workflow and reduce reliance on the mouse.

a modern clean ubuntu desktop

Essential System Shortcuts

These fundamental shortcuts work across the entire Ubuntu system and are the foundation of efficient navigation.

Application and Window Management

Shortcut Action
Super Open Activities overview
Super + A Show all applications
Super + Tab Switch between applications
Alt + Tab Switch between windows
Alt + Shift + Tab Switch between windows (reverse)
Alt + F4 Close current window
Super + H Minimize/hide window
Super + ↑ Maximize window
Super + ↓ Restore/unmaximize window
Super + ← Snap window to left half of screen
Super + → Snap window to right half of screen
Alt + F10 Toggle maximize window
Alt + F5 Restore window to normal size

Workspace Navigation

Ubuntu’s workspace feature allows you to organize your workflow across multiple virtual desktops:

Shortcut Action
Super + Page Up Switch to workspace above
Super + Page Down Switch to workspace below
Ctrl + Alt + ↑ Move to workspace above
Ctrl + Alt + ↓ Move to workspace below
Shift + Super + Page Up Move window to workspace above
Shift + Super + Page Down Move window to workspace below
Super + Home Move to first workspace
Super + End Move to last workspace

System Controls

Shortcut Action
Super + L Lock screen
Ctrl + Alt + Delete Log out menu
Super + S Quick settings menu
Super + N Open notifications
Super + V Show notification list
Print Screen Take screenshot of entire screen
Alt + Print Screen Screenshot of current window
Shift + Print Screen Screenshot of selected area
Ctrl + Alt + T Open terminal

File Manager (Nautilus) Shortcuts

Efficient file management is crucial for any Linux user. While Ubuntu uses Nautilus as the default file manager, you might want to explore other file managers for Ubuntu 24.04 like Nemo, Dolphin, or Caja, each with their own keyboard shortcuts and features:

Shortcut Action
Ctrl + H Show/hide hidden files
Ctrl + 1 Icon view
Ctrl + 2 List view
Ctrl + T New tab
Ctrl + W Close tab
Ctrl + Page Up/Down Switch between tabs
Ctrl + L Focus location bar
Alt + ↑ Go to parent directory
Alt + ← Go back
Alt + → Go forward
Ctrl + D Bookmark current location
Ctrl + F Search in current folder
F2 Rename selected file
F9 Show/hide sidebar
Ctrl + Shift + N Create new folder

Terminal Shortcuts

For developers and system administrators, terminal shortcuts are invaluable. For a comprehensive guide on bash commands and usage, check out our Bash Cheat Sheet. If you work with multiple terminal windows, you might also be interested in learning how to start terminal windows tiled for better workspace organization:

Shortcut Action
Ctrl + A Move cursor to beginning of line
Ctrl + E Move cursor to end of line
Ctrl + U Clear line before cursor
Ctrl + K Clear line after cursor
Ctrl + W Delete word before cursor
Ctrl + Y Paste deleted text
Ctrl + L Clear screen
Ctrl + R Reverse search command history
Ctrl + C Interrupt/stop current command
Ctrl + D Exit terminal (or send EOF)
Ctrl + Z Suspend current process

Terminal Window Management

Shortcut Action
Ctrl + Shift + T New terminal tab
Ctrl + Shift + W Close terminal tab
Ctrl + Shift + N New terminal window
Ctrl + Shift + Q Close terminal window
Ctrl + Shift + Page Up/Down Switch terminal tabs
Ctrl + Shift + C Copy selected text
Ctrl + Shift + V Paste text
Ctrl + Shift + + Zoom in (increase font)
Ctrl + Shift + - Zoom out (decrease font)
Ctrl + Shift + F Find text in terminal
F11 Toggle fullscreen mode

Text Editing Universal Shortcuts

These shortcuts work in most text editors and applications:

Shortcut Action
Ctrl + C Copy
Ctrl + X Cut
Ctrl + V Paste
Ctrl + Z Undo
Ctrl + Shift + Z Redo
Ctrl + A Select all
Ctrl + F Find
Ctrl + H Find and replace
Ctrl + S Save
Ctrl + Shift + S Save as
Ctrl + O Open file
Ctrl + N New document/file
Ctrl + P Print
Ctrl + Q Quit application

Web Browser Shortcuts

Essential shortcuts for browsing (Firefox, Chrome, etc.):

Shortcut Action
Ctrl + T New tab
Ctrl + W Close tab
Ctrl + Shift + T Reopen closed tab
Ctrl + Tab Next tab
Ctrl + Shift + Tab Previous tab
Ctrl + L Focus address bar
Ctrl + R Reload page
Ctrl + Shift + R Hard reload (clear cache)
Ctrl + D Bookmark current page
Ctrl + Shift + Delete Clear browsing data
F11 Toggle fullscreen
Ctrl + + Zoom in
Ctrl + - Zoom out
Ctrl + 0 Reset zoom

Accessibility Shortcuts

Ubuntu provides shortcuts for enhanced accessibility:

Shortcut Action
Alt + Super + S Toggle screen reader
Alt + Super + 8 Toggle zoom
Alt + Super + + Zoom in (magnifier)
Alt + Super + - Zoom out (magnifier)
Super + Alt + H Toggle high contrast

Advanced Power User Tips

Custom Shortcuts

You can create custom keyboard shortcuts for any command:

  1. Open Settings > Keyboard > View and Customize Shortcuts
  2. Scroll to the bottom and click “Custom Shortcuts”
  3. Click the “+” button
  4. Enter a name and command
  5. Click “Set Shortcut” and press your desired key combination

Useful Custom Shortcuts Ideas

  • Launch specific applications (e.g., Super + B for browser)
  • Execute scripts (e.g., Super + Shift + U for system update script)
  • Open frequently used directories
  • Toggle system monitoring tools (like GPU monitoring applications for those working with graphics-intensive tasks)

Workspace Optimization

Maximize productivity by organizing your work environment effectively:

  • Creating 4-6 workspaces for different tasks (coding, communication, research)
  • Using consistent window positioning across workspaces with snap shortcuts
  • Assigning specific applications to workspaces using GNOME Extensions
  • Setting up tiled terminal windows for efficient multitasking with command-line tools

Keyboard Shortcuts for Different Ubuntu Versions

While most shortcuts remain consistent, there are some variations:

Ubuntu 20.04 LTS and Earlier

  • Activities overview: Super or Alt + F1
  • Application menu: Alt + F2 for run command

Ubuntu 22.04 LTS and Later

  • Enhanced workspace switching animations
  • Improved touchpad gesture integration
  • New screenshot tool with additional options

Ubuntu 24.04 LTS

  • Updated GNOME version with refined shortcuts
  • Better multi-monitor support
  • Enhanced accessibility features

If you’re new to Ubuntu 24.04 or planning to upgrade, our guide on how to install Ubuntu 24.04 and useful tools covers the complete setup process. You can verify your installation and check your Linux Ubuntu version to ensure you’re running the correct release.

Troubleshooting Common Issues

Shortcut Not Working

  1. Check if the shortcut is already assigned to another action
  2. Ensure the required application is installed
  3. Restart GNOME Shell: Alt + F2, type r, press Enter
  4. Check for conflicting extensions

Creating a Shortcuts Cheatsheet

Create a physical reference:

# Generate a list of all shortcuts
gsettings list-recursively org.gnome.desktop.wm.keybindings > shortcuts.txt
gsettings list-recursively org.gnome.settings-daemon.plugins.media-keys >> shortcuts.txt

Performance Benefits

Using keyboard shortcuts provides measurable benefits:

  • Speed: Execute commands 2-3x faster than using a mouse
  • Ergonomics: Reduce repetitive strain from mouse usage
  • Focus: Maintain concentration by staying on the keyboard
  • Professionalism: Impress colleagues with efficient workflow

Integration with Development Workflow

For developers, combine Ubuntu shortcuts with IDE shortcuts:

  • Use Ctrl + Alt + T to quickly open terminal
  • Switch between IDE and browser with Alt + Tab
  • Use workspaces to separate development, testing, and documentation
  • Create custom shortcuts for build scripts and deployment commands
  • Configure server settings efficiently (for example, changing static IP addresses when setting up development servers)

System Setup and Configuration

Desktop Environment Comparisons

Developer Tools and Workflows

Official Documentation