Keyboard shortcuts: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Lvosandi (talk | contribs)
Created page with " Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts plea..."
 
Lliba (talk | contribs)
Kerge struktuuri ja süntaksi muudatus, et kiiremini ja selgemini klahvikombinatsioone välja lugeda. Pole veel valmis.
Line 1: Line 1:
Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top.
Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top.


If running Ubuntu, press Ctrl-Alt-F1 to open up text-only console and then Ctrl-Alt-Delete for graceful reboot.
== Notational differences ==
 
* <code>SUPER</code> is a vendor-neutral way to refer to <code>WINDOWS KEY</code> or <code>⌘</code> on Mac
If the up button does not work (because of keyboard firmware issue :D)  then use the up button on numpad. Use NumLock to switch between number entry and arrow button modes.
* <code>M-R</code> means <code>ALT+R</code>, because M refers to Meta key which is also known as ALT key
 
* <code>Meta-R</code> means <code>ALT+R</code>
Some other keyboard shortcut notations, especially in the Help section of older terminal programs:
* <code>^X</code> means <code>CTRL+X</code>


* Super is a vendor-neutral way to refer to Windows button on PC or Command key ⌘ on Mac
== Directional key ALTernative ==
* M-r means Alt-R, because M refers to Meta key which is also known as Alt key
If the directional <code>↑↓→←</code> buttons do not work for whatever reason. Then you can, as an alternative, use the directional buttons on the Numpad section of your keyboard. To change between numerical and directional mode you have to press the <code>⇭</code> (Numlock) button.
* Meta-R means Alt-R
{| class="wikitable"
* ^X means Ctrl-X
! Key on <br>Numeric Keypad
! Num Lock On
! Num Lock Off
|-
| <code>1</code>
| <code>1</code>
| <code>END</code>
|-
| <code>2</code>
| <code>2</code>
| <code>↓</code>
|-
| <code>3</code>
| <code>3</code>
| <code>PAGE DOWN</code>
|-
| <code>4</code>
| <code>4</code>
| <code>←</code>
|-
| <code>5</code>
| <code>5</code>
| <code>CLEAR</code>
|-
| <code>6</code>
| <code>6</code>
| <code>→</code>
|-
| <code>7</code>
| <code>7</code>
| <code>HOME</code>
|-
| <code>8</code>
| <code>8</code>
| <code>↑</code>
|-
| <code>9</code>
| <code>9</code>
| <code>PAGE UP</code>
|-
| <code>0</code>
| <code>0</code>
| <code>INSERT</code>
|-
| <code>.</code>
| <code>.</code>
| <code>DELETE</code>
|}


Windows/Ubuntu:
== Windows/Ubuntu ==
{| class="wikitable"
!Shortcut
!Action
|-
|<code>ALT+TAB</code>
|Quickly switch between windows. Hold down <code>SHIFT</code> for reverse order
|-
|<code>ALT+SPACE</code>
|Opens window's menu, to move, resize, minimize, maximize the window
|-
|<code>ALT+F4</code>
|For dialog windows also Escape - Close window
|-
|<code>ALT+''Underlined character''</code>
|Open the main menu of current window
|}


* Alt-Tab - Switch between windows
== Mac OS X ==
* Alt-Space - Opens window's menu, to move, resize, minimize, maximize the window
{| class="wikitable"
* Alt-F4, for dialog windows also Escape - Close window
!Shortcut
* Alt-F, Atl-E, ... - Open the main menu of current window
!Action
 
|-
Mac OS X:
|<code>⌘+TAB</code>
 
|Switch between windows
* ⌘-Tab - Switch between windows
|-
* -C - Copy
|<code>+C</code>
* -V - Paste
|Copy
 
|-
File browser:
|<code>+V</code>
|Paste
|}


== File browser ==
* F2 - Rename file
* F2 - Rename file
* Ctrl-Arrow buttons  and Space - Select individual files
* CTRL-Arrow buttons  and Space - Select individual files
* Shift-Arrow buttons - Select bunch of files
* Shift-Arrow buttons - Select bunch of files
* Ctrl-A - Select all files
* CTRL-A - Select all files
* Ctrl-C - Copy file
* CTRL-C - Copy file
* Ctrl-V - Paste file
* CTRL-V - Paste file
* Ctrl-X - Cut file
* CTRL-X - Cut file
* Alt-Up or Backspace - Go up in directory tree
* ALT-Up or Backspace - Go up in directory tree
* Alt-Left, Alt-Right - Navigate back and forth
* ALT-Left, ALT-Right - Navigate back and forth
* Alt-Enter - Open file properties
* ALT-Enter - Open file properties
* Enter - Enter directory, open file
* Enter - Enter directory, open file


== Windows ==
* SUPER-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots
* CTRL-ALT-Arrow buttons - Rotate screen
* SUPER-Left - Resize window to leftmost half of screen
* SUPER-Right - Resize window to rightmost half of screen
* SUPER-Up - Maximize window
* SUPER-R - Run command
* SUPER-D - Show desktop
* SUPER-L - Lock screen (?)


== Ubuntu ==
* CTRL-SUPER-Left - Resize window to leftmost half of screen
* CTRL-SUPER-Right - Resize window to rightmost half of screen
* CTRL-SUPER-Up - Maximize window
* CTRL-SUPER-Up - Minimize
* CTRL-ALT-T - Open terminal
* CTRL-ALT-L - Lock screen
* ALT-F2
* CTRL-ALT-F1 to open up text-only console and then CTRL-ALT-Delete for graceful reboot.


Windows:
== Firefox/Chrome ==
 
* CTRL-U - View page source
* Super-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots
* CTRL-F - Find in page
* Ctrl-Alt-Arrow buttons - Rotate screen
* ALT-Left, Backspace - Navigate back in history
* Super-Left - Resize window to leftmost half of screen
* ALT-Right, Shift-Backspace - Navigate forward in history
* Super-Right - Resize window to rightmost half of screen
* CTRL-R - Refresh
* Super-Up - Maximize window
* CTRL-N - Open window
* Super-R - Run command
* CTRL-T - Open tab
* Super-D - Show desktop
* CTRL-Shift-N - Open new incognito window
* Super-L - Lock screen (?)
* CTRL-W - Close tab
 
* CTRL-L - Open address bar
Ubuntu:
* CTRL-K - Search
 
* CTRL-H - History
* Ctrl-Super-Left - Resize window to leftmost half of screen
* CTRL-Tab - Switch between tabs
* Ctrl-Super-Right - Resize window to rightmost half of screen
* Ctrl-Super-Up - Maximize window
* Ctrl-Super-Up - Minimize
 
* Ctrl-Alt-T - Open terminal
* Ctrl-Alt-L - Lock screen
* Alt-F2
 
Firefox/Chrome:
 
* Ctrl-U - View page source
* Ctrl-F - Find in page
* Alt-Left, Backspace - Navigate back in history
* Alt-Right, Shift-Backspace - Navigate forward in history
* Ctrl-R - Refresh
* Ctrl-N - Open window
* Ctrl-T - Open tab
* Ctrl-Shift-N - Open new incognito window
* Ctrl-W - Close tab
* Ctrl-L - Open address bar
* Ctrl-K - Search
* Ctrl-H - History
* Ctrl-Tab - Switch between tabs
* Tab - Focus next clickable element in the web page
* Tab - Focus next clickable element in the web page
* Shift-Tab - Focus previous element
* Shift-Tab - Focus previous element
* Enter - Click on an element
* Enter - Click on an element
* Ctrl-Shift-J - Open developer console
* CTRL-Shift-J - Open developer console
* Ctrl-Shift-T - Reopen closed tabs
* CTRL-Shift-T - Reopen closed tabs
* Ctrl-D - Bookmark
* CTRL-D - Bookmark
* Ctrl-Plus, Ctrl-Minus, Ctrl-0 - Zoom in, zoom out, reset zoom factor
* CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
* Ctrl-1, Ctrl-2, ..., Ctrl-9 - Select tab in Chrome
* CTRL-1, CTRL-2, ..., CTRL-9 - Select tab in Chrome
* Alt-1, Alt-2, ..., Alt-9 - Select tab in Firefox
* ALT-1, ALT-2, ..., ALT-9 - Select tab in Firefox


Text editors/IDE-s:
== Text editors/IDE-s ==
 
* CTRL-A - Select all text
* Ctrl-A - Select all text
* CTRL-S - Save
* Ctrl-S - Save
* CTRL-O - Open file
* Ctrl-O - Open file
* CTRL-F - Find in file
* Ctrl-F - Find in file
* CTRL-H - Search & replace (?)
* Ctrl-H - Search & replace (?)
* CTRL-Arrows - Jump back and forth by words  
* Ctrl-Arrows - Jump back and forth by words  
* Shift-Arrows - Select text
* Shift-Arrows - Select text
* Tab - Indent
* Tab - Indent
Line 102: Line 161:
* Page Up/Page Down - Scroll up and down by page
* Page Up/Page Down - Scroll up and down by page
* Home/End - Go to the beginning/end of line
* Home/End - Go to the beginning/end of line
* Alt-1, Alt-2, ..., Alt-9 - Select tab
* ALT-1, ALT-2, ..., ALT-9 - Select tab
* Ctrl-Page Up, Ctrl-Page Down - Switch between tabs
* CTRL-Page Up, CTRL-Page Down - Switch between tabs
 
Terminal:


== Terminal ==
* Up/Down - Navigate through command history
* Up/Down - Navigate through command history
* Shift-Alt-Up/Down - Scroll up down in terminal output
* Shift-ALT-Up/Down - Scroll up down in terminal output
* Ctrl-R - Search command history
* CTRL-R - Search command history
* Ctrl-C - Kill currently running command
* CTRL-C - Kill currently running command
* Ctrl-Shift-C - Copy text from terminal
* CTRL-Shift-C - Copy text from terminal
* Ctrl-Shift-V - Past text to terminal
* CTRL-Shift-V - Past text to terminal
* Ctrl-Z - Background and suspend a command, if accidentally pressed run <code>fg</code> to resume
* CTRL-Z - Background and suspend a command, if accidentally pressed run <code>fg</code> to resume
* Ctrl-D - End of input, on blank command line equivalent with <code>exit</code>
* CTRL-D - End of input, on blank command line equivalent with <code>exit</code>
* Ctrl-L - Clear screen, equivalent with <code>clear</code>
* CTRL-L - Clear screen, equivalent with <code>clear</code>
* Ctrl-Plus, Ctrl-Minus, Ctrl-0 - Zoom in, zoom out, reset zoom factor
* CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor


Command line Norton Commander style file browser, run <code>mc</code> in terminal or to install on a personal machine <code>apt install mc</code>:
== CLI Filebrowser ==
Command line Norton Commander style file browser, run <code>mc</code> in terminal or to install on a personal machine <code>apt install mc</code>.


* Tab - Switch between panels
* Tab - Switch between panels
Line 128: Line 187:
* F9 - Open main menu
* F9 - Open main menu
* F10 - Exit
* F10 - Exit
* Alt-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut
* ALT-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut


Command line web browser links, open with <code>links wiki.itcollge.ee</code> or to install on a personal machine <code>apt install links</code>
== CLI Webbrowser ==
Command line web browser links, open with <code>links wiki.itcollge.ee</code> or to install on a personal machine <code>apt install links</code>.


* Up/down arrow buttons - Navigate between links
* Up/down arrow buttons - Navigate between links

Revision as of 14:46, 12 October 2016

Mouse is holding you back, to be the best you really need to know your way around on the keyboard. This page is off to rescue. If you know some useful keyboard shortcuts please add them here by logging in with your school user account and clicking edit on the top.

Notational differences

  • SUPER is a vendor-neutral way to refer to WINDOWS KEY or on Mac
  • M-R means ALT+R, because M refers to Meta key which is also known as ALT key
  • Meta-R means ALT+R
  • ^X means CTRL+X

Directional key ALTernative

If the directional ↑↓→← buttons do not work for whatever reason. Then you can, as an alternative, use the directional buttons on the Numpad section of your keyboard. To change between numerical and directional mode you have to press the (Numlock) button.

Key on
Numeric Keypad
Num Lock On Num Lock Off
1 1 END
2 2
3 3 PAGE DOWN
4 4
5 5 CLEAR
6 6
7 7 HOME
8 8
9 9 PAGE UP
0 0 INSERT
. . DELETE

Windows/Ubuntu

Shortcut Action
ALT+TAB Quickly switch between windows. Hold down SHIFT for reverse order
ALT+SPACE Opens window's menu, to move, resize, minimize, maximize the window
ALT+F4 For dialog windows also Escape - Close window
ALT+Underlined character Open the main menu of current window

Mac OS X

Shortcut Action
⌘+TAB Switch between windows
⌘+C Copy
⌘+V Paste

File browser

  • F2 - Rename file
  • CTRL-Arrow buttons and Space - Select individual files
  • Shift-Arrow buttons - Select bunch of files
  • CTRL-A - Select all files
  • CTRL-C - Copy file
  • CTRL-V - Paste file
  • CTRL-X - Cut file
  • ALT-Up or Backspace - Go up in directory tree
  • ALT-Left, ALT-Right - Navigate back and forth
  • ALT-Enter - Open file properties
  • Enter - Enter directory, open file

Windows

  • SUPER-PrintScrn - Take a screenshot of the desktop and place it under Pictures/Screenshots
  • CTRL-ALT-Arrow buttons - Rotate screen
  • SUPER-Left - Resize window to leftmost half of screen
  • SUPER-Right - Resize window to rightmost half of screen
  • SUPER-Up - Maximize window
  • SUPER-R - Run command
  • SUPER-D - Show desktop
  • SUPER-L - Lock screen (?)

Ubuntu

  • CTRL-SUPER-Left - Resize window to leftmost half of screen
  • CTRL-SUPER-Right - Resize window to rightmost half of screen
  • CTRL-SUPER-Up - Maximize window
  • CTRL-SUPER-Up - Minimize
  • CTRL-ALT-T - Open terminal
  • CTRL-ALT-L - Lock screen
  • ALT-F2
  • CTRL-ALT-F1 to open up text-only console and then CTRL-ALT-Delete for graceful reboot.

Firefox/Chrome

  • CTRL-U - View page source
  • CTRL-F - Find in page
  • ALT-Left, Backspace - Navigate back in history
  • ALT-Right, Shift-Backspace - Navigate forward in history
  • CTRL-R - Refresh
  • CTRL-N - Open window
  • CTRL-T - Open tab
  • CTRL-Shift-N - Open new incognito window
  • CTRL-W - Close tab
  • CTRL-L - Open address bar
  • CTRL-K - Search
  • CTRL-H - History
  • CTRL-Tab - Switch between tabs
  • Tab - Focus next clickable element in the web page
  • Shift-Tab - Focus previous element
  • Enter - Click on an element
  • CTRL-Shift-J - Open developer console
  • CTRL-Shift-T - Reopen closed tabs
  • CTRL-D - Bookmark
  • CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor
  • CTRL-1, CTRL-2, ..., CTRL-9 - Select tab in Chrome
  • ALT-1, ALT-2, ..., ALT-9 - Select tab in Firefox

Text editors/IDE-s

  • CTRL-A - Select all text
  • CTRL-S - Save
  • CTRL-O - Open file
  • CTRL-F - Find in file
  • CTRL-H - Search & replace (?)
  • CTRL-Arrows - Jump back and forth by words
  • Shift-Arrows - Select text
  • Tab - Indent
  • Shift-Tab - Unindent
  • Page Up/Page Down - Scroll up and down by page
  • Home/End - Go to the beginning/end of line
  • ALT-1, ALT-2, ..., ALT-9 - Select tab
  • CTRL-Page Up, CTRL-Page Down - Switch between tabs

Terminal

  • Up/Down - Navigate through command history
  • Shift-ALT-Up/Down - Scroll up down in terminal output
  • CTRL-R - Search command history
  • CTRL-C - Kill currently running command
  • CTRL-Shift-C - Copy text from terminal
  • CTRL-Shift-V - Past text to terminal
  • CTRL-Z - Background and suspend a command, if accidentally pressed run fg to resume
  • CTRL-D - End of input, on blank command line equivalent with exit
  • CTRL-L - Clear screen, equivalent with clear
  • CTRL-Plus, CTRL-Minus, CTRL-0 - Zoom in, zoom out, reset zoom factor

CLI Filebrowser

Command line Norton Commander style file browser, run mc in terminal or to install on a personal machine apt install mc.

  • Tab - Switch between panels
  • F4 - Edit file --> here select mcedit, it's a neat text editor
  • F5 - Copy file
  • F6 - Move/rename file
  • F7 - Create directory
  • F8 - Delete file/folder
  • F9 - Open main menu
  • F10 - Exit
  • ALT-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut

CLI Webbrowser

Command line web browser links, open with links wiki.itcollge.ee or to install on a personal machine apt install links.

  • Up/down arrow buttons - Navigate between links
  • Left/right - Go back/forward in history, click on link
  • Enter - To click
  • F10 - Open main menu
  • q - Quit browser
  • g - Go to another URL