Linux keyboard shortcuts

Linux has no single keymap: shortcuts belong to the desktop environment. This page lists the default keys of GNOME 51, the desktop that Ubuntu, Fedora Workstation and Debian install by default, taken from GNOME Help, together with the Files app and GNOME Terminal. KDE Plasma, Xfce, distribution-specific additions and shell line-editing keys are left out. Super is the Windows-logo key on most keyboards: pressed alone it opens the Activities overview, and most window and workspace shortcuts start with it.

147 shortcuts in 11 sections. Checked row by row against GNOME Help (GNOME 51) on . Edited by Jay.

Desktop and overview 13

Super is GNOME's name for the key that carries the Windows logo on most keyboards; an Apple keyboard has the Command key in that place and a Chromebook a magnifying glass.

ActionShortcut
Open Activities overviewPressed alone it toggles the overview and the desktop; type there to search apps, contacts and documents.Super
Show all applicationsSuper+A
Run a commandOpens a small command prompt; the arrow keys recall commands entered there earlier.Alt+F2
Show notification listA second press, or Esc, closes the list.Super+V
Focus active notificationSuper+N
Show system menuSuper+S
Lock screenSuper+L
Show Power Off dialogCtrl+Alt+Delete
Switch system controlsPuts keyboard focus on the top bar; inside the overview it cycles through top bar, dash, windows, app list and search.Ctrl+Alt+Tab
Switch system controls directlyCtrl+Alt+Esc
Restore keyboard shortcutsSuper+Esc
Next input sourceChanges to the following keyboard layout or input method in your list.Super+Space
Previous input sourceSuper+Shift+Space

Switching windows and workspaces 8

ActionShortcut
Switch applicationsHold Shift as well to go through the switcher backwards.Super+Tab
Switch windows of one applicationActs on the current app, or on the one picked in the application switcher; non-US layouts use the key above Tab.Super+`
Switch windows directlyCycles through the open windows of the current workspace; Shift reverses the order.Alt+Esc
Switch windows of an app directlyKeep Alt down and tap F6 until the right window of the same application is highlighted.Alt+F6
Switch to workspace on the leftGNOME lays workspaces out side by side, so the arrow variant uses Left and Right.Super+Page UporCtrl+Alt+Left
Switch to workspace on the rightSuper+Page DownorCtrl+Alt+Right
Switch to first workspaceSuper+Home
Switch to last workspaceSuper+End

Moving windows to workspaces and monitors 8

ActionShortcut
Move window to workspace on leftSuper+Shift+Page Up
Move window to workspace on rightSuper+Shift+Page Down
Send window to first workspaceSuper+Shift+Home
Send window to last workspaceSuper+Shift+End
Move window to left monitorSuper+Shift+Left
Move window to right monitorSuper+Shift+Right
Move window to monitor aboveSuper+Shift+Up
Move window to monitor belowSuper+Shift+Down

Window management 10

GNOME has no default key for showing the desktop: the action Hide all normal windows is listed as Disabled until you assign one in Settings > Keyboard.

ActionShortcut
Close windowAlt+F4
Maximize windowSuper+Up
Restore windowReturns a maximized window to the size it had before.Super+DownorAlt+F5
Toggle maximizeOne key for both directions: it maximizes the window, and restores it when pressed again.Alt+F10
Minimize windowGNOME Settings lists this action under the name Hide window.Super+H
Tile window to left halfA second press undoes the split; the Right variant moves the window to the other side.Super+Left
Tile window to right halfThe window takes the right half of the screen at full height.Super+Right
Move window with keyboardShift the window with the arrow keys afterwards; Enter confirms the position and Esc puts it back.Alt+F7
Resize window with keyboardChange the size with the arrow keys afterwards; Enter keeps it and Esc cancels.Alt+F8
Open window menuThe same menu a right-click on the title bar gives.Alt+Space

Screenshots and screen recording 10

GNOME Help calls the Print Screen key Print. Pressed alone it only opens the screenshot tool; nothing is saved until you capture.

ActionShortcut
Open screenshot toolShows an overlay where you pick an area, the whole screen or one window before capturing.Print Screen
Screenshot of focused windowSkips the overlay; the image lands in Pictures/Screenshots and on the clipboard.Alt+Print Screen
Screenshot of entire screenTakes the full-screen picture at once, bypassing the overlay.Shift+Print Screen
Start or stop screen recordingThe video is written to the Videos/Screencasts folder in your home folder.Ctrl+Alt+Shift+R
Overlay: select areaThe single-letter keys work only while the screenshot overlay is open.S
Overlay: capture screenChanges the overlay from area selection to the whole screen.C
Overlay: capture windowChanges the overlay to window mode, where you choose one of the open windows.W
Overlay: show or hide pointerDecides whether the mouse pointer appears in the picture or video.P
Overlay: screenshot or screencastFlips the overlay between still-image mode and video recording mode.V
Overlay: take the captureSame as clicking the big round button of the overlay.EnterorSpaceorCtrl+C

Accessibility 4

ActionShortcut
Toggle screen readerSuper+Alt+S
Toggle zoomSuper+Alt+8
Zoom inSuper+Alt+=
Zoom outSuper+Alt+-

Keyboard navigation in apps 15

ActionShortcut
Move focus to next controlAdd Shift to walk through the controls backwards.Tab
Move focus between control groupsJumps between areas such as the sidebar and the main content, and gets out of a text area that takes Tab itself.Ctrl+Tab
Move selection within a controlSteps through toolbar buttons, list or grid items, or the options of a radio group.Arrow keys
Move focus without selectingIn list and grid views the selected item stays as it is while focus travels.Ctrl+Arrow keys
Extend selectionIn list and grid views, selects everything between the current item and the one you move to.Shift+Arrow keys
Expand tree itemIn a tree view, shows the children of the focused item.Shift+Right
Collapse tree itemIn a tree view, hides the children of the focused item.Shift+Left
Activate focused itemPresses a button, ticks a check box or picks a list entry.Space
Toggle selection of focused itemOther selected entries of the list or grid stay selected.Ctrl+Space
Reveal acceleratorsHold it to underline letters in menus and buttons; Alt with such a letter triggers that control.Alt
Close menu or dialogAlso dismisses popups and the window switcher.Esc
Open first menu of menu barWorks in windows that have a menu bar; continue with the arrow keys.F10
Open context menuActs on the current selection, like a right-click.Shift+F10orMenu
Switch to tab on the leftCtrl+Page Up
Switch to tab on the rightCtrl+Page Down

Common editing 5

ActionShortcut
Select allTakes all text, or every item when a list has focus.Ctrl+A
Cut selectionCtrl+X
Copy selectionNot in the Terminal, where copying needs Shift as well.Ctrl+C
Paste clipboardNot in the Terminal, where pasting needs Shift as well.Ctrl+V
Undo last actionCtrl+Z

Files app: files and folders 20

ActionShortcut
Open selected itemEnter
Open in New TabCtrl+Enter
Open in New WindowShift+Enter
Open With Default AppCtrl+O
Open Item LocationFor a search result or a Recent entry: jumps to the folder that holds the item.Ctrl+Alt+O
Open folder in ConsoleStarts the Console app in the directory you are viewing.Ctrl+.
Preview selected itemSpace
Create FolderCtrl+Shift+N
RenameF2
Create link to copied itemCtrl+M
Create link to selected itemCtrl+Shift+M
Move to TrashDelete
Delete PermanentlyRemoves the item for good instead of sending it to the Trash.Shift+Delete
Undo file operationCtrl+Z
Redo file operationCtrl+Shift+Z
Show Item PropertiesCtrl+IorAlt+Enter
Invert SelectionCtrl+Shift+I
Select Items MatchingCtrl+S
Bookmark Current LocationCtrl+D
Open Current Folder MenuF10

Files app: views, navigation and tabs 26

ActionShortcut
Switch to list viewCtrl+1
Switch to grid viewCtrl+2
Zoom in on itemsCtrl++orCtrl+=
Zoom out of itemsCtrl+-
Reset ZoomCtrl+0
Refresh ViewF5orCtrl+R
Show or hide hidden filesCtrl+H
Show or hide sidebarF9
Expand FolderIn right-to-left languages the Left key expands instead.Right
Collapse FolderIn right-to-left languages the Right key collapses instead.Left
Go BackAlt+Left
Go ForwardAlt+Right
Go up one folderAlt+Up
Go DownAlt+Down
Go to Home FolderAlt+Home
Enter LocationTurns the path bar into a text field for typing or pasting a location.Ctrl+L
Location bar at rootOpens the location bar starting from the root of the file system./
Location bar at homeOpens the location bar starting from your home folder.~
Search Current FolderCtrl+F
Search EverywhereCtrl+Shift+F
New WindowCtrl+N
New TabCtrl+T
Close window or tabCtrl+W
Restore Closed TabCtrl+Shift+T
Show All TabsCtrl+Shift+O
Open tab by numberAlt with a digit jumps straight to one of the first nine tabs.Alt+1-9

Terminal windows, tabs and scrolling 28

The scrolling keys of GNOME Terminal are fixed; the other shortcuts can be changed or switched off under Preferences > Shortcuts.

ActionShortcut
New TabCtrl+Shift+T
New WindowCtrl+Shift+N
Close TabCtrl+Shift+W
Close WindowCtrl+Shift+Q
CopyThe terminal counterpart of the copy key other apps have without Shift.Ctrl+Shift+C
PasteThe terminal counterpart of the paste key other apps have without Shift.Ctrl+Shift+V
Full ScreenF11
Zoom InCtrl++
Zoom OutCtrl+-
Normal SizeSets the text back to its standard size after zooming.Ctrl+0
FindCtrl+Shift+F
Find NextCtrl+Shift+G
Find PreviousCtrl+Shift+H
Clear HighlightCtrl+Shift+J
Switch to Previous TabCtrl+Page Up
Switch to Next TabCtrl+Page Down
Move tab leftCtrl+Shift+Page Up
Move tab rightCtrl+Shift+Page Down
Switch to tab 1 to 9Alt+1-9
Switch to tab 10Alt+0
Scroll up one lineCtrl+Shift+Up
Scroll down one lineCtrl+Shift+Down
Scroll up one pageShift+Page Up
Scroll down one pageShift+Page Down
Scroll to topShift+Home
Scroll to bottomShift+End
Scroll to previous commandCtrl+Shift+Left
Scroll to next commandCtrl+Shift+Right

Notes

These are GNOME keys, not keys of every Linux desktop

The rows built on Super, such as Super + Tab, Super + Left and the workspace keys, are handled by GNOME Shell. KDE Plasma, Xfce and Cinnamon assign their own keys to the same jobs, and a distribution can add or change bindings on top of GNOME. The list that is active on your machine is under Settings > Keyboard > View and Customize Shortcuts, where each action can also be given another key: click its row and press the new combination.

Workspaces run left to right

Current GNOME places workspaces side by side, so the keys are Super + Page Up and Super + Page Down, or Ctrl + Alt + Left and Ctrl + Alt + Right; adding Shift to the Page keys, as in Super + Shift + Page Up, takes the focused window along. Super + Tab switches between applications, while Super + ` stays inside one application and steps through its windows. GNOME lists the classic window-by-window switcher as Disabled by default.

Files and screenshots

In the Files app (Nautilus), Ctrl + H shows or hides hidden files, Ctrl + L turns the path bar into an editable location and Alt + Up goes up one folder. The Print Screen key alone opens GNOME's screenshot overlay instead of saving a picture at once; Alt + Print Screen and Shift + Print Screen capture the focused window or the whole screen directly, and Ctrl + Alt + Shift + R starts a screen recording.

Terminal window keys and shell keys are two different sets

The Terminal rows on this page belong to the GNOME Terminal window: tabs, zoom, search and the clipboard, where copy and paste are Ctrl + Shift + C and Ctrl + Shift + V. Keys that edit the command line or recall history come from the shell, not from the desktop, and work the same over SSH or in another terminal program; they are listed on the Bash page.

Questions

Do these shortcuts work on KDE Plasma or Xfce?

Not reliably. Every row comes from GNOME documentation. KDE Plasma and Xfce have their own window, workspace and screenshot keys and ship a different file manager and terminal, so check the shortcut settings of that desktop.

What is the Super key?

The key with the Windows logo, usually next to Alt at the bottom left of the keyboard. An Apple keyboard has the Command key there and a Chromebook a magnifying glass. In GNOME, pressing it alone opens the Activities overview.

Why does Ctrl + Alt + Delete not open a task manager?

In GNOME Ctrl + Alt + Delete shows the Power Off dialog. For process management open the System Monitor app, or run top in a terminal.

Which key shows the desktop in GNOME?

None by default. The action is called Hide all normal windows and GNOME lists it as Disabled; assign a key to it under Settings > Keyboard > View and Customize Shortcuts > Navigation.

How do I open a terminal with the keyboard in GNOME?

GNOME 51 has no terminal launcher among its pre-defined shortcuts. Press Super, type terminal and press Enter, or create one under Settings > Keyboard > View and Customize Shortcuts > Custom Shortcuts. Some distributions add a launcher key of their own.

Where does GNOME save screenshots and screen recordings?

Screenshots go to Pictures/Screenshots in your home folder and are also placed on the clipboard; screen recordings go to Videos/Screencasts.

Sources and checks

6 more source pages

Every row on this page was matched to a line in the documentation above on . A binding that could not be found there is not listed.

13 rows from the earlier version of this page were removed in that check: duplicates, and bindings the documentation does not list or lists differently.

Found a wrong or missing key? Tell us and it gets checked against the source. How we verify describes the process and its limits.