<info> <name>Michael Hill</name> <email>mdhillca@gmail.com</email> <name>Julita Inca</name> <email>yrazes@gmail.com</email> <name>Juanjo Marín</name> <email>juanj.marin@juntadeandalucia.es</email> <name>Shobha Tyagi</name> <email>tyagishobha@gmail.com</email> <desc>Define or change keyboard shortcuts in <gui>Keyboard</gui> settings.</desc> </info> <comment> Shaun McCance

Define shortcuts, using Shortcuts tab in Keyboard settings. Provide reference for what everything is (can group for conciseness). Explain custom shortcuts.

Important: the window says "To edit a shortcut, click the row and hold down the new keys or press Backspace to clear." This is actually wrong. You have to click the row, then click again on the shortcut within the row. File bug against control-center about the faulty message (or better, about the confusing interaction), but make sure to explain correctly in the help regardless.

</comment>

To change the key or keys to be pressed for a keyboard shortcut:

<steps> <item>

Open the Activities overview and start typing <gui>Keyboard.

</item> <item>

Click on <gui>Keyboard to open the panel.

</item> <item>

Select the <gui>Shortcuts tab.

</item> <item>

Select a category in the left pane, and the row for the desired action on the right. The current shortcut definition will change to <gui>New accelerator…

</item> <item>

Hold down the desired key combination, or press <key>Backspace</key> to clear.

</item> </steps>
Pre-defined shortcuts

There are a number of pre-configured shortcuts that can be changed, grouped into these categories:

Launchers
Launch help browser | Disabled
Launch calculator | Calculator
Launch email client | Mail
Launch web browser | WWW
Home folder | Explorer
Search | Search

Navigation
Move window to workspace 1 | Disabled
Move window to workspace 2 | Disabled
Move window to workspace 3 | Disabled
Move window to workspace 4 | Disabled
Move window one workspace to the left | <keyseq><key>Shift</key><key>Ctrl</key><key>Alt</key><key>←</key></keyseq>
Move window one workspace to the right | <keyseq><key>Shift</key><key>Ctrl</key><key>Alt</key><key>→</key></keyseq>
Move window one workspace up | <keyseq><key>Shift</key>Super <key>Page Up</keyseq>
Move window one workspace down | <keyseq><key>Shift<key>Super<key>Page Down</keyseq>
Switch applications | <keyseq><key>Super<key>Tab</keyseq>
Switch windows | Disabled
Switch windows of an application | Disabled
Switch system controls | <keyseq><key>Ctrl<key>Alt<key>Tab</keyseq>
Switch windows directly | <keyseq><key>Alt<key>Esc</keyseq>
Switch windows of an app directly | <keyseq><key>Alt<key>F6</keyseq>
Switch system controls directly | <keyseq><key>Ctrl<key>Alt<key>Esc</keyseq>
Hide all normal windows | Disabled
Switch to workspace 1 | Disabled
Switch to workspace 2 | Disabled
Switch to workspace 3 | Disabled
Switch to workspace 4 | Disabled
Move to workspace left | <keyseq><key>Ctrl<key>Alt<key>←</keyseq>
Move to workspace right | <keyseq><key>Ctrl<key>Alt<key>→</keyseq>
Move to workspace above | <keyseq><key>Super<key>Page Up</keyseq>
Move to workspace below | <keyseq><key>Super<key>Page Down</keyseq>

Screenshots
Take a screenshot | <key>Print
Take a screenshot of a window | <keyseq><key>Alt<key>Print</keyseq>
Take a screenshot of an area | <keyseq><key>Shift<key>Print</keyseq>
Copy a screenshot to clipboard | <keyseq><key>Ctrl<key>Print</keyseq>
Copy a screenshot of a window to clipboard | <keyseq><key>Ctrl<key>Alt<key>Print</keyseq>
Copy a screenshot of an area to clipboard | <keyseq><key>Shift<key>Ctrl<key>Print</keyseq>
Record a screencast | <keyseq><key>Shift<key>Ctrl<key>Alt<key>R </keyseq>

Sound and Media
Volume mute | Audio mute
Volume down | Audio lower volume
Volume up | Audio raise volume
Launch media player | Audio media
Play (or play/pause) | Audio play
Pause playback | Audio pause
Stop playback | Audio stop
Previous track | Audio previous
Next track | Audio next
Eject | Eject

System
Show the run command prompt | <keyseq><key>Alt<key>F2</keyseq>
Show the activities overview | <keyseq><key>Alt<key>F1</keyseq>
Log out | <keyseq><key>Ctrl<key>Alt<key>Delete</keyseq>
Lock screen | <keyseq><key>Ctrl<key>Alt<key>L</keyseq>
Show the message tray | <keyseq><key>Super<key>M</keyseq>
Focus the active notification | <keyseq><key>Super<key>N</keyseq>
Show all applications | <keyseq><key>Super<key>A</keyseq>
Open the application menu | <keyseq><key>Super<key>F10</keyseq>

Typing
Switch to next input source | <keyseq><key>Super<key>Space</keyseq>
Switch to previous input source | Disabled
Modifiers-only switch to next source | Disabled
Compose Key | Disabled
Alternative Characters Key | Disabled

Universal Access
Turn zoom on or off | <keyseq><key>Alt<key>Super<key>8</keyseq>
Zoom in | <keyseq><key>Alt<key>Super<key>=</keyseq>
Zoom out | <keyseq><key>Alt<key>Super<key>-</keyseq>
Turn screen reader on or off | Disabled
Turn on-screen keyboard on or off | Disabled
Increase text size | Disabled
Decrease text size | Disabled
High contrast on or off | Disabled

Windows
Activate the window menu | <keyseq><key>Alt<key>Space</keyseq>
Toggle fullscreen mode | Disabled
Toggle maximization state | <keyseq><key>Alt<key>F10</keyseq>
Maximize window | <keyseq><key>Super<key>↑</keyseq>
Restore window | <keyseq><key>Super<key>↓</keyseq>
Toggle shaded state | Disabled
Close window | <keyseq><key>Alt<key>F4</keyseq>
Hide window | <keyseq><key>Super<key>H</keyseq>
Move window | <keyseq><key>Alt<key>F7</keyseq>
Resize window | <keyseq><key>Alt<key>F8</keyseq>
Toggle window on all workspaces or one | Disabled
Raise window if covered, otherwise lower it | Disabled
Raise window above other windows | Disabled
Lower window below other windows | Disabled
Maximize window vertically | Disabled
Maximize window horizontally | Disabled
View split on left | <keyseq><key>Super<key>←</keyseq>
View split on right | <keyseq><key>Super<key>→</keyseq>

Change keyboard shortcuts

This section shows how to change keyboard shortcuts for an application.

<steps> <item>

Open the Terminal application.

</item> <item>

Run the <cmd>gsettings set org.gnome.desktop.interface can-change-accels true</cmd> command.

</item> <item>

Start the application for which you want to change the keyboard shortcut.

</item> <item>

Find the menu item for which you want to change the keyboard shortcut.

</item> <item>

Type the shortcut that you want on the keyboard.

</item> </steps>

Note that this setting is desktop-wide. You can disable it after you make changes by running the <cmd>gsettings set org.gnome.desktop.interface can-change-accels false</cmd> command. You can also use the <app>dconf-editor</app> utility to do this.

Custom shortcuts

To create your own keyboard shortcut:

<steps> <item>

Select <gui>Custom Shortcuts in the left pane, and click the + button (or click the + button in any category). The <gui>Custom Shortcut window will appear.

</item> <item>

Type a <gui>Name to identify the shortcut, and a <gui>Command to run an application, then click <gui>Apply. For example, if you wanted the shortcut to open Rhythmbox, you could name it Music and use the rhythmbox command.

</item> <item>

Click <gui>Disabled in the row that was just added. When it changes to <gui>New accelerator…, hold down the desired shortcut key combination.

</item> </steps>

The command name that you type should be a valid system command. You can check that the command works by opening a Terminal and typing it in there. The command that opens an application cannot have the same name as the application itself.

If you want to change the command that is associated with a custom keyboard shortcut, double-click the name of the shortcut. The <gui>Custom Shortcut window will appear, and you can edit the command.