Keyboard shortcuts: Difference between revisions

From ICO wiki
Jump to navigationJump to search
(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...")
 
 
(3 intermediate revisions by 2 users not shown)
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</code>+<code>R</code>, because M refers to Meta key which is also known as ALT key
 
* <code>Meta-R</code> means <code>ALT</code>+<code>R</code>
Some other keyboard shortcut notations, especially in the Help section of older terminal programs:
* <code>^X</code> means <code>CTRL</code>+<code>X</code>
 
* Super is a vendor-neutral way to refer to Windows button on PC or Command key ⌘ 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
 
Windows/Ubuntu:
 
* Alt-Tab - Switch between windows
* Alt-Space - Opens window's menu, to move, resize, minimize, maximize the window
* Alt-F4, for dialog windows also Escape - Close window
* Alt-F, Atl-E, ... - Open the main menu of current window
 
Mac OS X:
 
* ⌘-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
== Directional key ALTernative ==
* Ctrl-Alt-L - Lock screen
If the directional <code>↑</code>,<code>↓</code>,<code>→</code>,<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.
* Alt-F2
{| class="wikitable"
! 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>
|}


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


* Ctrl-U - View page source
== Mac OS X ==
* Ctrl-F - Find in page
{| class="wikitable"
* Alt-Left, Backspace - Navigate back in history
!Shortcut
* Alt-Right, Shift-Backspace - Navigate forward in history
!Action
* Ctrl-R - Refresh
|-
* Ctrl-N - Open window
|<code>⌘</code>+<code>TAB</code>
* Ctrl-T - Open tab
|Switch between windows
* Ctrl-Shift-N - Open new incognito window
|-
* Ctrl-W - Close tab
|<code>⌘</code>+<code>C</code>
* Ctrl-L - Open address bar
|Copy
* Ctrl-K - Search
|-
* Ctrl-H - History
|<code>⌘</code>+<code>V</code>
* Ctrl-Tab - Switch between tabs
|Paste
* 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:
== File browser ==
{| class="wikitable"
!Shortcut
!Action
|-
|<code>F2</code>
|Rename file
|-
|<code>CTRL</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code> and <code>SPACE</code>
|Select individual files
|-
|<code>Shift</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
|Select bunch of files
|-
|<code>CTRL</code>+<code>A</code>
|Select all files
|-
|<code>CTRL</code>+<code>C</code>
|Copy file
|-
|<code>CTRL</code>+<code>V</code>
|Paste file
|-
|<code>CTRL</code>+<code>X</code>
|Cut file
|-
|<code>ALT</code>+<code>↑</code> or <code>BACKSPACE</code>
|Go up in directory tree
|-
|<code>ALT</code>+<code>←</code>, <code>ALT</code>+<code>→</code>
|Navigate back and forth
|-
|<code>ALT</code>+<code>ENTER</code>
|Open file properties
|-
|<code>ENTER</code>
|Enter directory, open file
|}


* Ctrl-A - Select all text
== Windows ==
* Ctrl-S - Save
{| class="wikitable"
* Ctrl-O - Open file
!Shortcut
* Ctrl-F - Find in file
!Action
* Ctrl-H - Search & replace (?)
|-
* Ctrl-Arrows - Jump back and forth by words
|<code>SUPER</code>+<code>PRINT SCREEN</code>
* Shift-Arrows - Select text
|Take a screenshot of the desktop and place it under Pictures/Screenshots
* Tab - Indent
|-
* Shift-Tab - Unindent
|<code>CTRL</code>+<code>ALT</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
* Page Up/Page Down - Scroll up and down by page
|Rotate screen
* Home/End - Go to the beginning/end of line
|-
* Alt-1, Alt-2, ..., Alt-9 - Select tab
|<code>SUPER</code>+<code>←</code>,<code>→</code>
* Ctrl-Page Up, Ctrl-Page Down - Switch between tabs
|Rezise window to left-/rightmost half of screen
|-
|<code>SUPER</code>+<code>↑</code>
|Maximize window
|-
|<code>SUPER</code>+<code>R</code>
|Run command
|-
|<code>SUPER</code>+<code>D</code>
|Show desktop
|-
|<code>SUPER</code>+<code>L</code>
|Lock screen
|}


Terminal:
== Ubuntu ==
{| class="wikitable"
!Shortcut
!Action
|-
|<code>CTRL</code>+<code>SUPER</code>+<code>←</code>,<code>→</code>
|Resize window to left-/rightmost half of screen
|-
|<code>CTRL</code>+<code>SUPER</code>+<code>↑</code>,<code>↓</code>
|Maximize/Minimize window
|-
|<code>CTRL</code>+<code>ALT</code>+<code>T</code>
|Open terminal
|-
|<code>CTRL</code>+<code>ALT</code>+<code>L</code>
|Lock screen
|-
|<code>ALT</code>+<code>F2</code>
|Run command
|-
|<code>CTRL</code>+<code>ALT</code>+<code>F1</code>
|To open up text-only console. Follow this with <code>CTRL</code>+<code>ALT</code>+<code>DELETE</code> for graceful reboot
|-
|<code>CTRL</code>+<code>ALT</code>+<code>F7</code>
|Return to graphical user interface from text-only console
|}


* Up/Down - Navigate through command history
== Firefox/Chrome ==
* Shift-Alt-Up/Down - Scroll up down in terminal output
{| class="wikitable"
* Ctrl-R - Search command history
!Shortcut
* Ctrl-C - Kill currently running command
!Action
* Ctrl-Shift-C - Copy text from terminal
|-
* Ctrl-Shift-V - Past text to terminal
|<code>CTRL</code>+<code>U</code>
* Ctrl-Z - Background and suspend a command, if accidentally pressed run <code>fg</code> to resume
|View page source
* Ctrl-D - End of input, on blank command line equivalent with <code>exit</code>
|-
* Ctrl-L - Clear screen, equivalent with <code>clear</code>
|<code>CTRL</code>+<code>F</code>
* Ctrl-Plus, Ctrl-Minus, Ctrl-0 - Zoom in, zoom out, reset zoom factor
|Find in page
|-
|<code>ALT</code>+<code>←</code>,<code>→</code>
|Navigate back/forth in history
|-
|<code>CTRL</code>+<code>R</code>
|Refresh
|-
|<code>CTRL</code>+<code>N</code>
|Open new window
|-
|<code>CTRL</code>+<code>SHIFT</code>+<code>N</code>
|Open new incognito window
|-
|<code>CTRL</code>+<code>T</code>
|Open tab
|-
|<code>CTRL</code>+<code>W</code>
|Close tab
|-
|<code>CTRL</code>+<code>L</code>
|Open address bar
|-
|<code>CTRL</code>+<code>K</code>
|Search
|-
|<code>CTRL</code>+<code>H</code>
|History
|-
|<code>CTRL</code>+<code>TAB</code>
|Switch between tabs
|-
|<code>TAB</code>
|Focus next clickable element in the web page
|-
|<code>SHIFT</code>+<code>TAB</code>
|Focus previous clickable element in the web page
|-
|<code>ENTER</code>
|Click on a link, SUBMIT A FORM
|-
|<code>SPACE</code>
|Tick/untick a checkbox
|-
|<code>CTRL</code>+<code>J</code>
|Open downloads
|-
|<code>CTRL</code>+<code>SHIFT</code>+<code>J</code>
|Open developer console
|-
|<code>CTRL</code>+<code>SHIFT</code>+<code>T</code>
|Reopen closed tabs
|-
|<code>CTRL</code>+<code>D</code>
|Bookmark
|-
|<code>CTRL</code>+<code>+</code>
|Zoom in
|-
|<code>CTRL</code>+<code>-</code>
|Zoom out
|-
|<code>CTRL</code>+<code>0</code>
|Reset zoom
|-
|<code>CTRL</code>+<code>''Number''</code>
|Activate according tab in Chrome
|-
|<code>ALT</code>+<code>''Number''</code>
|Activate according tab in Firefox
|}


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>:
== Text editors/IDE-s ==
{| class="wikitable"
!Shortcut
!Action
|-
|<code>CTRL</code>+<code>A</code>
|Select all text
|-
|<code>CTRL</code>+<code>S</code>
|Save
|-
|<code>CTRL</code>+<code>O</code>
|Open file
|-
|<code>CTRL</code>+<code>F</code>
|Find in file
|-
|<code>CTRL</code>+<code>H</code>
|Search & replace
|-
|<code>CTRL</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
|Move one line up/down, move one word left/right
|-
|<code>SHIFT</code>+<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
|Select text
|-
|<code>TAB</code>
|Indent
|-
|<code>SHIFT</code>+<code>TAB</code>
|Unindent
|-
|<code>PAGE UP</code>,<code>PAGE DOWN</code>
|Scroll up and down by page
|-
|<code>HOME</code>,<code>END</code>
|Go to beggining/end of line
|-
|<code>ALT</code>+<code>''Number''</code>
|Select according tab
|-
|<code>CTRL</code>+<code>PAGE UP</code>,<code>PAGE DOWN</code>
|Switch between tabs
|}


* Tab - Switch between panels
== Terminal ==
* F4 - Edit file  --> here select mcedit, it's a neat text editor
{| class="wikitable"
* F5 - Copy file
!Shortcut
* F6 - Move/rename file
!Action
* F7 - Create directory
|-
* F8 - Delete file/folder
|<code>↑</code>,<code>↓</code>
* F9 - Open main menu
|Navigate through command history
* F10 - Exit
|-
* Alt-S - Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut
|<code>SHIFT</code>+<code>ALT</code>+<code>↑</code>,<code>↓</code>
|Scroll up/down in terminal output
|-
|<code>CTRL</code>+<code>R</code>
|Search through command history
|-
|<code>CTRL</code>+<code>C</code>
|Kill currently running command
|-
|<code>CTRL</code>+<code>SHIFT</code>+<code>C</code>
|Copy text from terminal
|-
|<code>CTRL</code>+<code>SHIFT</code>+<code>V</code>
|Paste text to terminal
|-
|<code>CTRL</code>+<code>Z</code>
|Background and suspend a command, if accidentally pressed run <code>fg</code> command to resume
|-
|<code>CTRL</code>+<code>D</code>
|End of input, on blank command line equivalent with <code>exit</code> command
|-
|<code>CTRL</code>+<code>L</code>
|Clear screen, equivalent with <code>clear</code> command
|-
|<code>CTRL</code>+<code>+</code>
|Zoom in
|-
|<code>CTRL</code>+<code>-</code>
|Zoom out
|-
|<code>CTRL</code>+<code>0</code>
|Reset zoom
|}


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>
== Midnight Commander ==
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>.
{| class="wikitable"
!Shortcut
!Action
|-
|<code>TAB</code>
|Switch between panels
|-
|<code>F4</code>
|Edit file --> here select mcedit, it's a neat text editor
|-
|<code>F5</code>
|Copy file
|-
|<code>F6</code>
|Move/rename file
|-
|<code>F7</code>
|Create directory
|-
|<code>F8</code>
|Delete file/folder
|-
|<code>F9</code>
|Open main menu
|-
|<code>F10</code>
|Exit
|-
|<code>ALT</code>+<code>S</code>
|Search for files, unfortunately Ubuntu dashboard eats this keyboard shortcut
|}


* Up/down arrow buttons - Navigate between links
== Links ==
* Left/right - Go back/forward in history, click on link
Command line web browser, open with <code>links wiki.itcollege.ee</code> or to install on a personal machine <code>apt install links</code>.
* Enter - To click
{| class="wikitable"
* F10 - Open main menu
!Shortcut
* q - Quit browser
!Action
* g - Go to another URL
|-
|<code>↑</code>,<code>↓</code>,<code>→</code>,<code>←</code>
|Navigate between links
|-
|<code>ENTER</code>
|To click
|-
|<code>F10</code>
|Open main menu
|-
|<code>Q</code>
|Quit browser
|-
|<code>G</code>
|Go to another URL
|}

Latest revision as of 16:38, 18 November 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

Shortcut Action
F2 Rename file
CTRL+,,, and SPACE Select individual files
Shift+,,, Select bunch of files
CTRL+A Select all files
CTRL+C Copy file
CTRL+V Paste file
CTRL+X Cut file
ALT+ or BACKSPACE Go up in directory tree
ALT+, ALT+ Navigate back and forth
ALT+ENTER Open file properties
ENTER Enter directory, open file

Windows

Shortcut Action
SUPER+PRINT SCREEN Take a screenshot of the desktop and place it under Pictures/Screenshots
CTRL+ALT+,,, Rotate screen
SUPER+, Rezise window to left-/rightmost half of screen
SUPER+ Maximize window
SUPER+R Run command
SUPER+D Show desktop
SUPER+L Lock screen

Ubuntu

Shortcut Action
CTRL+SUPER+, Resize window to left-/rightmost half of screen
CTRL+SUPER+, Maximize/Minimize window
CTRL+ALT+T Open terminal
CTRL+ALT+L Lock screen
ALT+F2 Run command
CTRL+ALT+F1 To open up text-only console. Follow this with CTRL+ALT+DELETE for graceful reboot
CTRL+ALT+F7 Return to graphical user interface from text-only console

Firefox/Chrome

Shortcut Action
CTRL+U View page source
CTRL+F Find in page
ALT+, Navigate back/forth in history
CTRL+R Refresh
CTRL+N Open new window
CTRL+SHIFT+N Open new incognito window
CTRL+T Open tab
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 clickable element in the web page
ENTER Click on a link, SUBMIT A FORM
SPACE Tick/untick a checkbox
CTRL+J Open downloads
CTRL+SHIFT+J Open developer console
CTRL+SHIFT+T Reopen closed tabs
CTRL+D Bookmark
CTRL++ Zoom in
CTRL+- Zoom out
CTRL+0 Reset zoom
CTRL+Number Activate according tab in Chrome
ALT+Number Activate according tab in Firefox

Text editors/IDE-s

Shortcut Action
CTRL+A Select all text
CTRL+S Save
CTRL+O Open file
CTRL+F Find in file
CTRL+H Search & replace
CTRL+,,, Move one line up/down, move one word left/right
SHIFT+,,, Select text
TAB Indent
SHIFT+TAB Unindent
PAGE UP,PAGE DOWN Scroll up and down by page
HOME,END Go to beggining/end of line
ALT+Number Select according tab
CTRL+PAGE UP,PAGE DOWN Switch between tabs

Terminal

Shortcut Action
, Navigate through command history
SHIFT+ALT+, Scroll up/down in terminal output
CTRL+R Search through command history
CTRL+C Kill currently running command
CTRL+SHIFT+C Copy text from terminal
CTRL+SHIFT+V Paste text to terminal
CTRL+Z Background and suspend a command, if accidentally pressed run fg command to resume
CTRL+D End of input, on blank command line equivalent with exit command
CTRL+L Clear screen, equivalent with clear command
CTRL++ Zoom in
CTRL+- Zoom out
CTRL+0 Reset zoom

Midnight Commander

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

Shortcut Action
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

Links

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

Shortcut Action
,,, Navigate between links
ENTER To click
F10 Open main menu
Q Quit browser
G Go to another URL