Difference between revisions of "Keyboard"
Jump to navigation
Jump to search
(fix character encoding issues) |
(adds link to LQ) |
||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
== Console/terminal == | == Console/terminal == | ||
* Ctrl-Alt-Delete - shuts down computer | * Ctrl-Alt-Delete - shuts down computer | ||
− | * Alt-Fn (F1, F2, F3, | + | * Alt-Fn (F1, F2, F3,) - switch to n-th console |
* Alt-Left or Alt-Right - switch to next/previous virtual terminal | * Alt-Left or Alt-Right - switch to next/previous virtual terminal | ||
− | * Scroll Lock - locks terminal input/output - allows to read console contents when output is going too fast. To unlock, press Scroll Lock once again. Alternatively, Scroll Lock can be enabled using Ctrl-S and disabled with Ctrl-Q. Try last shortcut if your console hangs for unknown reason - it happened to me many times that | + | * Scroll Lock - locks terminal input/output - allows to read console contents when output is going too fast. To unlock, press Scroll Lock once again. Alternatively, Scroll Lock can be enabled using Ctrl-S and disabled with Ctrl-Q. Try last shortcut if your console hangs for unknown reason - it happened to me many times that locked it accidentaly by pressing CTRL-S. |
* Shift-Page Up and Shift-Page Down - scrolls console buffer up/down. Works also when Scroll Lock is enabled. After changing the terminal (Alt-Fn) buffer contents is erased and it is impossible to scroll it. | * Shift-Page Up and Shift-Page Down - scrolls console buffer up/down. Works also when Scroll Lock is enabled. After changing the terminal (Alt-Fn) buffer contents is erased and it is impossible to scroll it. | ||
* Ctrl-L - screen refresh | * Ctrl-L - screen refresh | ||
Line 39: | Line 39: | ||
* Alt-SysRQ-S - sync all mounted filesystem. Data in buffers is immediately written to disks. | * Alt-SysRQ-S - sync all mounted filesystem. Data in buffers is immediately written to disks. | ||
* Alt-SysRQ-U - remounts mounted filesystems read-only | * Alt-SysRQ-U - remounts mounted filesystems read-only | ||
− | * Alt-SysRQ-B - performs immediate reboot. | + | * Alt-SysRQ-B - performs immediate reboot. do it without syncing and unmounting as it can cause massive filesystem corruption |
* Alt-SysRQ-S, then Alt-SysRQ-U, then Alt-SysRQ-B - attempts to sync all mounted filesystems, remounts them read-only and immediately reboots computer. Fastest way to reboot Linux. | * Alt-SysRQ-S, then Alt-SysRQ-U, then Alt-SysRQ-B - attempts to sync all mounted filesystems, remounts them read-only and immediately reboots computer. Fastest way to reboot Linux. | ||
* Alt-SysRQ-H - prints out list of other SysRQ functions. | * Alt-SysRQ-H - prints out list of other SysRQ functions. | ||
Line 51: | Line 51: | ||
* Ctrl-Alt-Escape - xkill - click an application to kill it. | * Ctrl-Alt-Escape - xkill - click an application to kill it. | ||
* Ctrl-Shift-Num Lock will turn the keypad on the keyboard into the mouse, so you can control the mouse from keyboard. Keys / and * on the numpad select left mouse click and right mouse click respectively. Mouse click is done by 5 on the numpad. | * Ctrl-Shift-Num Lock will turn the keypad on the keyboard into the mouse, so you can control the mouse from keyboard. Keys / and * on the numpad select left mouse click and right mouse click respectively. Mouse click is done by 5 on the numpad. | ||
− | * Ctrl-Alt-Fn (F1, F2, F3, | + | * Ctrl-Alt-Fn (F1, F2, F3,) - switches to n-th text console. |
* Ctrl-Fn (F1, F2, F3,...) - switches to the nth Virtual Desktop | * Ctrl-Fn (F1, F2, F3,...) - switches to the nth Virtual Desktop | ||
* Meta + "=" zooms in | * Meta + "=" zooms in |