Projects/Usability/HIG/Keyboard Shortcuts: Difference between revisions
(change "may not" to "will not" for Ctrl W) |
(Add F11 as shortcut for full screen) |
||
Line 1: | Line 1: | ||
Keyboard shortcuts help users perform common actions quickly through the keyboard instead of accessing the functionality in the UI with a mouse. | Keyboard shortcuts help users perform common actions quickly through the keyboard instead of accessing the functionality in the UI with a mouse. | ||
=== Global Keyboard Shortcuts === | === Global Keyboard Shortcuts === | ||
{| | {| cellpadding="5" border="1" | ||
|- style="height:40px" | |- style="height: 40px;" | ||
! width="200" | Action | ! width="200" | Action | ||
|- style="height:40px" | ! width="50" | Key | ||
| colspan="4" | File Menu | ! width="50" | Altern. | ||
|- style="height:40px" | ! width="250" | Comment | ||
| New | |- style="height: 40px;" | ||
|- style="height:40px" | | colspan="4" | File Menu | ||
| Open | |- style="height: 40px;" | ||
|- style="height:40px" | | New | ||
| Save | | Ctrl+N | ||
|- style="height:40px" | | <br> | ||
| Save As | | Create a new document | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Reload | | Open | ||
|- style="height:40px" | | Ctrl+O | ||
| Print | | <br> | ||
|- style="height:40px" | | Open a document | ||
| Close | |- style="height: 40px;" | ||
|- style="height:40px" | | Save | ||
| Quit | | Ctrl+S | ||
|- style="height:40px" | | <br> | ||
| colspan="4" | Edit menu | | Save the current document | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Undo | | Save As | ||
|- style="height:40px" | | Ctrl+Shift+S | ||
| Redo | | <br> | ||
|- style="height:40px" | | Save the current document | ||
| Cut | |- style="height: 40px;" | ||
|- style="height:40px" | | Reload | ||
| Copy | | F5 | ||
|- style="height:40px" | | <br> | ||
| Paste | | Reload the current document/view | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Select All | | Print | ||
|- style="height:40px" | | Ctrl+P | ||
| Deselect | | <br> | ||
|- style="height:40px" | | Print the current document | ||
| Find | |- style="height: 40px;" | ||
|- style="height:40px" | | Close | ||
| Find Next | | Ctrl+W | ||
|- style="height:40px" | | <br> | ||
| Find Previous | | Close the current document. If there is only one document open, this shortcut '''will not''' Close the window or Quit the application. | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Replace | | Quit | ||
|- style="height:40px" | | Ctrl+Q | ||
| Delete word forward | | <br> | ||
|- style="height:40px" | | Quit the application | ||
| Delete word backward | |- style="height: 40px;" | ||
|- style="height:40px" | | colspan="4" | Edit menu | ||
| Go to line... | |- style="height: 40px;" | ||
|- style="height:40px" | | Undo | ||
| colspan="4" | View Menu | | Ctrl+Z | ||
|- style="height:40px" | | <br> | ||
| Full Screen Mode || Ctrl+Shift+F | | Undo the last operation | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Redo | |||
| Ctrl+Y | |||
| Shift+Ctrl+Z | |||
| Redo the last undone operation | |||
|- style="height: 40px;" | |||
| Cut | |||
| Ctrl+X | |||
| Shift+Delete | |||
| Cut the selected area and store it in the clipboard | |||
|- style="height: 40px;" | |||
| Copy | |||
| Ctrl+C | |||
| Ctrl+Insert | |||
| Copy the selected area into the clipboard | |||
|- style="height: 40px;" | |||
| Paste | |||
| Ctrl+V | |||
| Shift+Insert | |||
| Paste contents of clipboard at mouse/cursor position | |||
|- style="height: 40px;" | |||
| Select All | |||
| Ctrl+A | |||
| <br> | |||
| Select everything in the contents area | |||
|- style="height: 40px;" | |||
| Deselect | |||
| Ctrl+Shift+A | |||
| <br> | |||
| Deselect everything in the contents area | |||
|- style="height: 40px;" | |||
| Find | |||
| Ctrl+F | |||
| <br> | |||
| Find | |||
|- style="height: 40px;" | |||
| Find Next | |||
| F3 | |||
| <br> | |||
| Find the next match | |||
|- style="height: 40px;" | |||
| Find Previous | |||
| Shift+F3 | |||
| <br> | |||
| Find previous match | |||
|- style="height: 40px;" | |||
| Replace | |||
| Ctrl+R | |||
| <br> | |||
| Find and replace matches | |||
|- style="height: 40px;" | |||
| Delete word forward | |||
| Ctrl+Delete | |||
| <br> | |||
| Delete word from current cursor location to the end. | |||
|- style="height: 40px;" | |||
| Delete word backward | |||
| Ctrl+Backspace | |||
| <br> | |||
| Delete word from beginning to current cursor location. | |||
|- style="height: 40px;" | |||
| Go to line... | |||
| Ctrl+G | |||
| <br> | |||
| Move cursor to the corresponding line. | |||
|- style="height: 40px;" | |||
| colspan="4" | View Menu | |||
|- style="height: 40px;" | |||
| Full Screen Mode | |||
| F11<br> | |||
| Ctrl+Shift+F <br> | |||
| Toggle full screen mode | |||
|- style="height: 40px;" | |||
| colspan="4" | Zoom menu | | colspan="4" | Zoom menu | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Zoom In | | Zoom In | ||
|- style="height:40px" | | Ctrl++ | ||
| Zoom Out | | | Ctrl+= | ||
|- style="height:40px" | | Zoom in to the document (magnify) | ||
| Zoom to 100% | |- style="height: 40px;" | ||
|- style="height:40px" | | Zoom Out | ||
| Ctrl+- | |||
| <br> | |||
| Zoom out of the document | |||
|- style="height: 40px;" | |||
| Zoom to 100% | |||
| Ctrl+0 | |||
| <br> | |||
|- style="height: 40px;" | |||
| colspan="4" | Bookmarks menu | | colspan="4" | Bookmarks menu | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Add Bookmark | | Add Bookmark | ||
|- style="height:40px" | | Ctrl+B | ||
| colspan="4" | Help menu | | <br> | ||
|- style="height:40px" | | Add a bookmark for the current location | ||
| Help | |- style="height: 40px;" | ||
|- style="height:40px" | | colspan="4" | Help menu | ||
| What's This | |- style="height: 40px;" | ||
|- style="height:40px" | | Help | ||
| F1 | |||
| <br> | |||
| Obtain help and documentation for the application | |||
|- style="height: 40px;" | |||
| What's This | |||
| Shift+F1 | |||
| <br> | |||
| Obtain a short help for the currently visible interface elements. | |||
|- style="height: 40px;" | |||
| colspan="4" | Navigation | | colspan="4" | Navigation | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Focus to Menu | | Focus to Menu | ||
|- style="height:40px" | | F10 | ||
| Show Context Menu | | <br> | ||
|- style="height:40px" | | Focus the menu bar. | ||
| Toggle Menu bar | |- style="height: 40px;" | ||
|- style="height:40px" | | Show Context Menu | ||
| Page Down | | Ctrl+F10 | ||
|- style="height:40px" | | Menu | ||
| Page Up | | Show the context menu. | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Forward | | Toggle Menu bar | ||
|- style="height:40px" | | Ctrl+M | ||
| Back | | <br> | ||
|- style="height:40px" | | Toggle the appearance of the menu bar. | ||
| Next Tab | |- style="height: 40px;" | ||
|- style="height:40px" | | Page Down | ||
| Previous Tab | | Space | ||
|- style="height:40px" | | PageDown | ||
| Next Major Panel | | Scroll down one Screen, displaying the next page if the application normally displays a page at a time. | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Resize Split Pane | | Page Up | ||
|- style="height:40px" | | Shift+space | ||
| colspan="4" | Text Navigation | | PageUp | ||
|- style="height:40px" | | Scroll up one Screen, displaying the previous page if the application normally displays a page at a time. | ||
| Beginning of line | |- style="height: 40px;" | ||
|- style="height:40px" | | Forward | ||
| End of line | | Alt+Right | ||
|- style="height:40px" | | <br> | ||
| End | | Go to next page. | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Forward Word | | Back | ||
|- style="height:40px" | | Alt+Left | ||
| Backward Word | | <br> | ||
|- style="height:40px" | | Go to previous page. | ||
|- style="height: 40px;" | |||
| Next Tab | |||
| Ctrl+PageUp | |||
| <br> | |||
| Activate the next Tab. | |||
|- style="height: 40px;" | |||
| Previous Tab | |||
| Ctrl+PageDown | |||
| <br> | |||
| Activate the previous Tab. | |||
|- style="height: 40px;" | |||
| Next Major Panel | |||
| F6 | |||
| <br> | |||
| Switches focus to the next major panel, e.g. sidebar or content panel in a file manager. Useful to get focus from dockers back to the main window when. | |||
|- style="height: 40px;" | |||
| Resize Split Pane | |||
| F8 | |||
| <br> | |||
| Switches focus from one split pane to another to resize them via the arrow keys. | |||
|- style="height: 40px;" | |||
| colspan="4" | Text Navigation | |||
|- style="height: 40px;" | |||
| Beginning of line | |||
| Home | |||
| <br> | |||
| Move cursor to the beginning of the line. | |||
|- style="height: 40px;" | |||
| End of line | |||
| End | |||
| <br> | |||
| Move cursor to the beginning of the line. | |||
|- style="height: 40px;" | |||
| End | |||
| Ctrl+End | |||
| <br> | |||
|- style="height: 40px;" | |||
| Forward Word | |||
| Ctrl+Right | |||
| <br> | |||
| Move cursor to the beginning of the next word. | |||
|- style="height: 40px;" | |||
| Backward Word | |||
| Ctrl+Left | |||
| <br> | |||
| Move cursor to the beginning of the previous word. | |||
|- style="height: 40px;" | |||
| colspan="4" | Text Completion | | colspan="4" | Text Completion | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Substring completion | | Substring completion | ||
|- style="height:40px" | | Ctrl+T | ||
| Text Completion | | <br> | ||
|- style="height:40px" | | Toggle substring completion. | ||
| Next item in list | |- style="height: 40px;" | ||
|- style="height:40px" | | Text Completion | ||
| Previous item in list | | Ctrl+E | ||
|- style="height:40px" | | <br> | ||
| Next completion match | | Toggle text completion. | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Previous completion match | | Next item in list | ||
| Down | |||
| <br> | |||
| Select the next item in the completion list. | |||
|- style="height: 40px;" | |||
| Previous item in list | |||
| Up | |||
| <br> | |||
| Select the previous item in the completion list. | |||
|- style="height: 40px;" | |||
| Next completion match | |||
| Ctrl+Down | |||
| <br> | |||
| Select the next completion match. | |||
|- style="height: 40px;" | |||
| Previous completion match | |||
| Ctrl+Up | |||
| <br> | |||
| Select the previous completion match. | |||
|} | |} | ||
F8 and F6 may still be used differently, if the window has no split panes (F8) or the definition of main panels is not required, e.g. if there are no dockers (F6). | |||
=== Standard System Shortcuts === | === Standard System Shortcuts === | ||
{| | {| cellpadding="5" border="1" | ||
|- style="height:40px" | |- style="height: 40px;" | ||
! width="50" | Key | ! width="50" | Key | ||
|- style="height:40px" | ! width="250" | Comment | ||
| colspan="2" | Navigation | |- style="height: 40px;" | ||
|- style="height:40px" | | colspan="2" | Navigation | ||
| Alt+Tab | |- style="height: 40px;" | ||
|- style="height:40px" | | Alt+Tab | ||
| Alt+Shift+Tab | | Walk through windows | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Tab | | Alt+Shift+Tab | ||
|- style="height:40px" | | Walk through windows (reverse) | ||
| Ctrl+Shift+Tab | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Tab | ||
| Ctrl+F1 – F4 | | Focus to next widget (e.g. to get focus out of text fields). | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Alt+Tab | | Ctrl+Shift+Tab | ||
|- style="height:40px" | | Focus to previous widget (e.g. to get focus out of text fields). | ||
| Ctrl+Alt+Right | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+F1 – F4 | ||
| Ctrl+Alt+Left | | Switch to desktop 1 to 4 | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Alt+Shift+Tab | | Ctrl+Alt+Tab | ||
|- style="height:40px" | | Switch focus between panel and desktop | ||
| colspan="2" | Windows | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Alt+Right | ||
| Alt+F3 | | Switch to next desktop | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Alt+F4 | | Ctrl+Alt+Left | ||
|- style="height:40px" | | Switch to previous desktop | ||
|- style="height: 40px;" | |||
| Ctrl+Alt+Shift+Tab | |||
| Switch focus between panel and desktop (reverse) | |||
|- style="height: 40px;" | |||
| colspan="2" | Windows | |||
|- style="height: 40px;" | |||
| Alt+F3 | |||
| Window operations menu | |||
|- style="height: 40px;" | |||
| Alt+F4 | |||
| Close Window | |||
|- style="height: 40px;" | |||
| colspan="2" | Miscellaneous | | colspan="2" | Miscellaneous | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Alt+F12 | | Alt+F12 | ||
|- style="height:40px" | | Mouse Emulation | ||
| Ctrl+Alt+Escape | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Alt+Escape | ||
| Alt+Print | | Kill window | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Print | | Alt+Print | ||
|- style="height:40px" | | Window screenshot | ||
| colspan="2" | Panel | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Print | ||
| Alt+F1 | | Desktop screenshot | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Alt+D | | colspan="2" | Panel | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| colspan="2" | Desktop | | Alt+F1 | ||
|- style="height:40px" | | Popup launch menu | ||
| Alt+F2 | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Alt+D | ||
| Ctrl+Escape | | Toggle showing (empty) desktop | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Alt+F5 | | colspan="2" | Desktop | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Alt+Ctrl+L | | Alt+F2 | ||
|- style="height:40px" | | Run command | ||
| colspan="2" | Clipboard | |- style="height: 40px;" | ||
|- style="height:40px" | | Ctrl+Escape | ||
| Ctrl+Alt+V | | Show taskmanager | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+Alt+R | | Alt+F5 | ||
|- style="height:40px" | | Show windowlist | ||
| Ctrl+Alt+X | |- style="height: 40px;" | ||
|- style="height:40px" | | Alt+Ctrl+L | ||
| colspan="2" | | Lock session | ||
|- style="height:40px" | |- style="height: 40px;" | ||
| Ctrl+K | | colspan="2" | Clipboard | ||
|- style="height: 40px;" | |||
| Ctrl+Alt+V | |||
| Show Klipper popup menu | |||
|- style="height: 40px;" | |||
| Ctrl+Alt+R | |||
| Manually invoke action on current clipboard | |||
|- style="height: 40px;" | |||
| Ctrl+Alt+X | |||
| Enable/disable clipboard actions | |||
|- style="height: 40px;" | |||
| colspan="2" | |||
| Keyboard | |||
|- style="height: 40px;" | |||
| Ctrl+K | |||
| Switch to next keyboard layout | |||
|} | |} | ||
=== Implementation Notes === | === Implementation Notes === | ||
Keyboard accelerators - classes helping to establish consistent key bindings throughout the desktop. | Keyboard accelerators - classes helping to establish consistent key bindings throughout the desktop. | ||
* [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKAccel.html KAccel] - collection of keyboard shortcuts. | |||
* [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKStdAccel.html KStdAccel] - easy access to the common keyboard shortcut keys. | *[http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKAccel.html KAccel] - collection of keyboard shortcuts. | ||
* [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKGlobalAccel.html KGlobalAccel] - collection of system-wide keyboard shortcuts | *[http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKStdAccel.html KStdAccel] - easy access to the common keyboard shortcut keys. | ||
*[http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKGlobalAccel.html KGlobalAccel] - collection of system-wide keyboard shortcuts |
Revision as of 18:49, 3 June 2009
Keyboard shortcuts help users perform common actions quickly through the keyboard instead of accessing the functionality in the UI with a mouse.
Global Keyboard Shortcuts
Action | Key | Altern. | Comment |
---|---|---|---|
File Menu | |||
New | Ctrl+N | Create a new document | |
Open | Ctrl+O | Open a document | |
Save | Ctrl+S | Save the current document | |
Save As | Ctrl+Shift+S | Save the current document | |
Reload | F5 | Reload the current document/view | |
Ctrl+P | Print the current document | ||
Close | Ctrl+W | Close the current document. If there is only one document open, this shortcut will not Close the window or Quit the application. | |
Quit | Ctrl+Q | Quit the application | |
Edit menu | |||
Undo | Ctrl+Z | Undo the last operation | |
Redo | Ctrl+Y | Shift+Ctrl+Z | Redo the last undone operation |
Cut | Ctrl+X | Shift+Delete | Cut the selected area and store it in the clipboard |
Copy | Ctrl+C | Ctrl+Insert | Copy the selected area into the clipboard |
Paste | Ctrl+V | Shift+Insert | Paste contents of clipboard at mouse/cursor position |
Select All | Ctrl+A | Select everything in the contents area | |
Deselect | Ctrl+Shift+A | Deselect everything in the contents area | |
Find | Ctrl+F | Find | |
Find Next | F3 | Find the next match | |
Find Previous | Shift+F3 | Find previous match | |
Replace | Ctrl+R | Find and replace matches | |
Delete word forward | Ctrl+Delete | Delete word from current cursor location to the end. | |
Delete word backward | Ctrl+Backspace | Delete word from beginning to current cursor location. | |
Go to line... | Ctrl+G | Move cursor to the corresponding line. | |
View Menu | |||
Full Screen Mode | F11 |
Ctrl+Shift+F |
Toggle full screen mode |
Zoom menu | |||
Zoom In | Ctrl++ | Ctrl+= | Zoom in to the document (magnify) |
Zoom Out | Ctrl+- | Zoom out of the document | |
Zoom to 100% | Ctrl+0 | ||
Bookmarks menu | |||
Add Bookmark | Ctrl+B | Add a bookmark for the current location | |
Help menu | |||
Help | F1 | Obtain help and documentation for the application | |
What's This | Shift+F1 | Obtain a short help for the currently visible interface elements. | |
Navigation | |||
Focus to Menu | F10 | Focus the menu bar. | |
Show Context Menu | Ctrl+F10 | Menu | Show the context menu. |
Toggle Menu bar | Ctrl+M | Toggle the appearance of the menu bar. | |
Page Down | Space | PageDown | Scroll down one Screen, displaying the next page if the application normally displays a page at a time. |
Page Up | Shift+space | PageUp | Scroll up one Screen, displaying the previous page if the application normally displays a page at a time. |
Forward | Alt+Right | Go to next page. | |
Back | Alt+Left | Go to previous page. | |
Next Tab | Ctrl+PageUp | Activate the next Tab. | |
Previous Tab | Ctrl+PageDown | Activate the previous Tab. | |
Next Major Panel | F6 | Switches focus to the next major panel, e.g. sidebar or content panel in a file manager. Useful to get focus from dockers back to the main window when. | |
Resize Split Pane | F8 | Switches focus from one split pane to another to resize them via the arrow keys. | |
Text Navigation | |||
Beginning of line | Home | Move cursor to the beginning of the line. | |
End of line | End | Move cursor to the beginning of the line. | |
End | Ctrl+End | ||
Forward Word | Ctrl+Right | Move cursor to the beginning of the next word. | |
Backward Word | Ctrl+Left | Move cursor to the beginning of the previous word. | |
Text Completion | |||
Substring completion | Ctrl+T | Toggle substring completion. | |
Text Completion | Ctrl+E | Toggle text completion. | |
Next item in list | Down | Select the next item in the completion list. | |
Previous item in list | Up | Select the previous item in the completion list. | |
Next completion match | Ctrl+Down | Select the next completion match. | |
Previous completion match | Ctrl+Up | Select the previous completion match. |
F8 and F6 may still be used differently, if the window has no split panes (F8) or the definition of main panels is not required, e.g. if there are no dockers (F6).
Standard System Shortcuts
Key | Comment |
---|---|
Navigation | |
Alt+Tab | Walk through windows |
Alt+Shift+Tab | Walk through windows (reverse) |
Ctrl+Tab | Focus to next widget (e.g. to get focus out of text fields). |
Ctrl+Shift+Tab | Focus to previous widget (e.g. to get focus out of text fields). |
Ctrl+F1 – F4 | Switch to desktop 1 to 4 |
Ctrl+Alt+Tab | Switch focus between panel and desktop |
Ctrl+Alt+Right | Switch to next desktop |
Ctrl+Alt+Left | Switch to previous desktop |
Ctrl+Alt+Shift+Tab | Switch focus between panel and desktop (reverse) |
Windows | |
Alt+F3 | Window operations menu |
Alt+F4 | Close Window |
Miscellaneous | |
Alt+F12 | Mouse Emulation |
Ctrl+Alt+Escape | Kill window |
Alt+Print | Window screenshot |
Ctrl+Print | Desktop screenshot |
Panel | |
Alt+F1 | Popup launch menu |
Ctrl+Alt+D | Toggle showing (empty) desktop |
Desktop | |
Alt+F2 | Run command |
Ctrl+Escape | Show taskmanager |
Alt+F5 | Show windowlist |
Alt+Ctrl+L | Lock session |
Clipboard | |
Ctrl+Alt+V | Show Klipper popup menu |
Ctrl+Alt+R | Manually invoke action on current clipboard |
Ctrl+Alt+X | Enable/disable clipboard actions |
colspan="2" | Keyboard |
Ctrl+K | Switch to next keyboard layout |
Implementation Notes
Keyboard accelerators - classes helping to establish consistent key bindings throughout the desktop.
- KAccel - collection of keyboard shortcuts.
- KStdAccel - easy access to the common keyboard shortcut keys.
- KGlobalAccel - collection of system-wide keyboard shortcuts