Projects/Usability/HIG/Keyboard Shortcuts: Difference between revisions

From KDE TechBase
< Projects‎ | Usability‎ | HIG
(Add F11 as shortcut for full screen)
(HIG moved to community)
 
(One intermediate revision by one other user not shown)
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.
{{ Moved To Community | KDE_Visual_Design_Group/HIG/Keyboard Shortcuts }}
 
=== Global Keyboard Shortcuts  ===
 
{| cellpadding="5" border="1"
|- style="height: 40px;"
! width="200" | Action
! width="50" | Key
! width="50" | Altern.
! width="250" | Comment
|- style="height: 40px;"
| colspan="4" | File Menu
|- style="height: 40px;"
| New
| Ctrl+N
| <br>
| Create a new document
|- style="height: 40px;"
| Open
| Ctrl+O
| <br>
| Open a document
|- style="height: 40px;"
| Save
| Ctrl+S
| <br>
| Save the current document
|- style="height: 40px;"
| Save As
| Ctrl+Shift+S
| <br>
| Save the current document
|- style="height: 40px;"
| Reload
| F5
| <br>
| Reload the current document/view
|- style="height: 40px;"
| Print
| Ctrl+P
| <br>
| Print the current document
|- style="height: 40px;"
| Close
| Ctrl+W
| <br>
| 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;"
| Quit
| Ctrl+Q
| <br>
| Quit the application
|- style="height: 40px;"
| colspan="4" | Edit menu
|- style="height: 40px;"
| Undo
| Ctrl+Z
| <br>
| Undo the last operation
|- 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
|- style="height: 40px;"
| Zoom In
| Ctrl++
| Ctrl+=
| Zoom in to the document (magnify)
|- 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
|- style="height: 40px;"
| Add Bookmark
| Ctrl+B
| <br>
| Add a bookmark for the current location
|- style="height: 40px;"
| colspan="4" | Help menu
|- 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
|- style="height: 40px;"
| Focus to Menu
| F10
| <br>
| Focus the menu bar.
|- style="height: 40px;"
| Show Context Menu
| Ctrl+F10
| Menu
| Show the context menu.
|- style="height: 40px;"
| Toggle Menu bar
| Ctrl+M
| <br>
| Toggle the appearance of the menu bar.
|- style="height: 40px;"
| Page Down
| Space
| PageDown
| Scroll down one Screen, displaying the next page if the application normally displays a page at a time.
|- style="height: 40px;"
| Page Up
| Shift+space
| PageUp
| Scroll up one Screen, displaying the previous page if the application normally displays a page at a time.
|- style="height: 40px;"
| Forward
| Alt+Right
| <br>
| Go to next page.
|- style="height: 40px;"
| Back
| Alt+Left
| <br>
| 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
|- style="height: 40px;"
| Substring completion
| Ctrl+T
| <br>
| Toggle substring completion.
|- style="height: 40px;"
| Text Completion
| Ctrl+E
| <br>
| Toggle text completion.
|- style="height: 40px;"
| 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  ===
 
{| cellpadding="5" border="1"
|- style="height: 40px;"
! width="50" | Key
! width="250" | Comment
|- style="height: 40px;"
| colspan="2" | Navigation
|- style="height: 40px;"
| Alt+Tab
| Walk through windows
|- style="height: 40px;"
| Alt+Shift+Tab
| Walk through windows (reverse)
|- style="height: 40px;"
| Ctrl+Tab
| Focus to next widget (e.g. to get focus out of text fields).
|- style="height: 40px;"
| Ctrl+Shift+Tab
| Focus to previous widget (e.g. to get focus out of text fields).
|- style="height: 40px;"
| Ctrl+F1 – F4
| Switch to desktop 1 to 4
|- style="height: 40px;"
| Ctrl+Alt+Tab
| Switch focus between panel and desktop
|- style="height: 40px;"
| Ctrl+Alt+Right
| Switch to next desktop
|- style="height: 40px;"
| Ctrl+Alt+Left
| 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
|- style="height: 40px;"
| Alt+F12
| Mouse Emulation
|- style="height: 40px;"
| Ctrl+Alt+Escape
| Kill window
|- style="height: 40px;"
| Alt+Print
| Window screenshot
|- style="height: 40px;"
| Ctrl+Print
| Desktop screenshot
|- style="height: 40px;"
| colspan="2" | Panel
|- style="height: 40px;"
| Alt+F1
| Popup launch menu
|- style="height: 40px;"
| Ctrl+Alt+D
| Toggle showing (empty) desktop
|- style="height: 40px;"
| colspan="2" | Desktop
|- style="height: 40px;"
| Alt+F2
| Run command
|- style="height: 40px;"
| Ctrl+Escape
| Show taskmanager
|- style="height: 40px;"
| Alt+F5
| Show windowlist
|- style="height: 40px;"
| Alt+Ctrl+L
| Lock session
|- style="height: 40px;"
| 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  ===
 
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/classKGlobalAccel.html KGlobalAccel] - collection of system-wide keyboard shortcuts

Latest revision as of 11:26, 4 August 2016

This page is now on the community wiki.