42 Comments
- atdigg, on 10/12/2007, -0/+29I shouldn't have tried Alt+SysRq+b....
- Hindu_Wardrobe, on 10/12/2007, -0/+24Raising Skinny Elephants is Utterly Boring. :)
- coldphoenix, on 10/12/2007, -0/+22We don't.
- KhaaL, on 10/12/2007, -0/+17There's a more SysRq shortcuts, but this sequence is quite useful:
Alt+SysRq+s - sync the disk
Alt+SysRq+e - try to nicely kill processes (w. SIGTERM, wait a little bit here)
Alt+SysRq+i - kills processes with SIGKILL
Alt+SysRq+u - unmount disks (wait a bit here, too)
Alt+SysRq+b - reboot
I can remember that with "So Everything Is Unusual - Boot!"
More magic key shortcuts at http://www.developertutorials.com/tutorials/linux/magic-sysrq-050503/page1.html - burke, on 10/12/2007, -0/+10This is linux in general for the most part. It would seem you haven't read the article.
- burke, on 10/12/2007, -0/+10I think he meant <TAB>, if anyone is confused.
- zcat, on 10/12/2007, -0/+9True for everything but the alt-SysRq combos. Those are built into the kernel and truly are "Linux key combos".
- burke, on 10/12/2007, -0/+8Not near as much as you crazy apple people.
- chrisdawson, on 10/12/2007, -1/+7For those too lazy to google:
"'Raising Skinny Elephants Is Utterly Boring' is a mnemonic device for remembering a particularly important keystroke sequence in Linux. In the event of a total system freeze up, this is the failsafe way to safely reboot a near-frozen computer."
"The sequence is performed as follows: While holding Alt and SysRq, press the keys R, S, E, I, U, and then B, in sequence, leaving some time between keystrokes."
http://en.wikipedia.org/wiki/Raising_Skinny_Elephants_Is_Utterly_Boring - weijie90, on 10/12/2007, -0/+5i use Alt-Sysrq-R,S,E,I,U,B.
Raising Sleepy Rlephants Is Utterly Boring. - jedi851508, on 10/12/2007, -1/+6With TWO buttons!
Yeah, feel free to digg me down for that... but until the Mighty Mouse came out... /grumble grumble - TomFrost, on 10/12/2007, -0/+5man, I've been using Linux for over 10 years and I STILL had to Google that one. Thanks for the tip :)
- stanleyfresh, on 10/12/2007, -1/+5Ctrl+Alt+D - show desktop
- burke, on 10/12/2007, -0/+4Wow, that's great. I'm compiling Magic Sysrq back into my kernel right now.
- KhaaL, on 10/12/2007, -0/+3These shortcuts work directly with the kernel, it dosen't matter what DE or WM you're running. I tried these on Edgy Eft and I can confirm they work.
- weijie90, on 10/12/2007, -0/+3oops, typo at "elephants"
- tech42er, on 10/12/2007, -0/+3Yeah. I mapped my Windows key to the terminal. ; )
- ostracize, on 10/12/2007, -0/+2People, just map those shortcuts to a single key.
Google ~/.inputrc - mcprogrammer, on 10/12/2007, -0/+2Also, some of the combos listed under Console/terminal are for Linux (scrolling, changing consoles)
- ha1f, on 10/12/2007, -1/+3the best hotkey/shortcut: for completion.
- pauldonnelly, on 10/12/2007, -0/+2Also good to know:
Ctrl+c will kill most console apps, or even X apps run from a console. Ctrl+z suspends them, taking you back to your prompt where you can do what you like. The "jobs" command will tell you what you've got running in a particular console, and you can use "fg" and "bg" to move a job to the background or back to the foreground. See the respective man pages for more. - inactive, on 10/12/2007, -0/+2*points at the moon
http://catb.org/~esr/writings/unix-koans/gui-programmer.html - pixelbeat_, on 10/12/2007, -0/+2Pretty pictures. Nice.
Here is my linux keyboard shortcut reference:
http://www.pixelbeat.org/lkdb/ - capiCrimm, on 10/12/2007, -0/+2For terminal (meaning bash) it's useful to just realize that it's all the emacs bindings. You can actually switch to vi mode using "set -o vi", although I don't think many do. I suggest reading up on bash, some interesting things. Like "cd -" returns you to the last directory, or "^orig^replace^" replaces text, "!tex" will run the last line starting with "tex"... and tons of other stuff and programs...
- stalefries, on 10/12/2007, -1/+3Not a spelling error, Scooby Doo impression.
- CluelessTroll, on 10/12/2007, -0/+1[Ctrl]+[Alt]+[t] has become quite useful for suspending a session while making use of NX Client.
- pauldonnelly, on 10/12/2007, -0/+1This set is pretty much universal. If you Dapper install didn't have these (keep in mind, Magic SysRq may have been disabled, as might the X shortcuts) I'll eat my hat.
- leszek, on 10/12/2007, -0/+1oops all the tags are deleted ...
- leszek, on 10/12/2007, -3/+4Using gnome:
F1 menu
F2 launch application
F4 close application
You can also create custom shortcuts yourself.
Example for metacity from the unofficial ubuntu wiki:
How to enable Ctrl+Alt+Del to open System Monitor in GNOME
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "Delete"
gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor" - 0KonTroL0, on 10/12/2007, -0/+1is this not dependent on your distro and what you are running? I can put overrides for these in my inittab....
- res0nat0r, on 10/12/2007, -2/+2This is the only one you really need:
set -o vi - daanyul, on 10/12/2007, -0/+0I've been finding the following commands for (re)mapping keys extremely useful recently- xmodmap, xev, xkeycaps, xbindkeys, xbindkeys-config (and also the Beryl config menu). Using a combination of those five commands, I've found I can set my keyboard bindings, including virtually all of the non-standard keys, to be pretty much anything I want. I'm running Ubuntu/Gnome/XGL/Beryl, but I'm pretty sure that the commands will work on anything with X.
- syrleb, on 10/12/2007, -0/+0thanks alot for that, they really helped, not all of them work but yeh good enough
- Modio, on 10/12/2007, -0/+0niiice
- azrael13666, on 10/12/2007, -0/+0im running ubuntu right now and everythings cool but my internet shortcut key on my laptop doesn't work. It's defined on the keyboard shortcuts panel but when I press it a window opens saying "Couldn't execute command: . Verify that command exists." Where would I go to fix that path cuz thats what seems to be the problem.
- pauldonnelly, on 10/12/2007, -0/+0This is a really good list. Just a few addenda:
The ctrl+alt+plus/minus shortcuts refer to the keypad plus and minus, not the ones next to backspace.
Also good to know are some keystrokes are usable in bash: ctrl+f/b to move by characters, ctrl+p/n to see previous commands, ctrl+d to delete a char, ctrl+h to backspace, alt+d to delete a word, alt+backspace to backspace over a word, and ctrl+d (on an empty line) to exit bash. They're much quicker than fumbling for the arrow keys. - manojisi, on 07/16/2008, -0/+01. ALT + CTRL + left / right arrow = change worksapce.
2. ALT + F1 = Start Menu
3. ALT + CTRL + Esc = switch between Desktop & Panels - burke, on 10/12/2007, -3/+1Yeah. Get it right.
- DarkRappey, on 10/12/2007, -5/+2I'm not sure which distros this is specific to, at least in Ubuntu you can configure a good deal of short-cuts in the System > Preferences > Keyboard Shortuts menu.
Also in the terminal: Edit > Keyboard Shortcuts menu.
Hope that's relevant. - sekyuritei, on 10/12/2007, -25/+3Keyboard shortcuts depend on what distro, desktop environment, window manager, etc. that you use. I know my Dapper install was different from this, whether or not I'm running Beryl with the default key mappings... No digg.
- saggygrandma, on 10/12/2007, -27/+4I didnt know you linux guys even used a mouse?
hehehehe - lesnadyk, on 10/12/2007, -25/+1There are no Linux key combos. Linux is a kernel. X-windows and X applications have key combos. Get it right


What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official