| Line 7: | Line 7: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| - | + | ! Function | |
! Default | ! Default | ||
| - | + | ! My preference | |
! Changeable in GNOME Keyboard Shortcuts app? | ! Changeable in GNOME Keyboard Shortcuts app? | ||
|- | |- | ||
| Line 30: | Line 30: | ||
==How to remap keys== | ==How to remap keys== | ||
| + | |||
| + | {{cite web| url = http://linuxplanet.com/linuxplanet/tutorials/6401/2/| title = Master Your Linux Keyboard (And Fix Caps Lock Forever): XBindKeys For Launching Applications| author = | date = | accessdate = 2007-05-11 11:18| license = }} | ||
| + | {{quotation| exact=?| excerpt=?}} | ||
| + | KDE and GNOME, window managers like IceWM and Fluxbox, and many applications come with their own set of prefab keybindings. You should investigate these before going on a customization spree, or you run the risk of creating conflicts. We're going to learn how to use XBindKeys. XBindKeys is not dependent on any particular desktop or window manager, and should run on pretty much any Linux or Unix system." | ||
| + | {{end quotation}} | ||
| + | |||
http://www.xfree86.org/4.2.0/xmodmap.1.html | http://www.xfree86.org/4.2.0/xmodmap.1.html | ||
| - | {{cite web| url = | title = | author = | date = | accessdate = 2007-05-11 11:18| license = }} | + | {{cite web| url = http://lifehacker.com/software/how-to/configure-custom-keyboard-shortcuts-on-ubuntu-256955.php| title = | author = | date = | accessdate = 2007-05-11 11:18| license = }} |
{{quotation| exact=?| excerpt=?}} | {{quotation| exact=?| excerpt=?}} | ||
{{comment | author = | date = | url = }} | {{comment | author = | date = | url = }} | ||
| Line 39: | Line 45: | ||
{{comment end}} | {{comment end}} | ||
{{end quotation}} | {{end quotation}} | ||
| + | |||
| + | == == | ||
| + | |||
| + | {{cite web| url = http://linuxplanet.com/linuxplanet/tutorials/6401/1/| title = | author = | date = | accessdate = 2007-05-11 11:18| license = }} | ||
| + | {{quotation| exact=?| excerpt=?}} | ||
| + | Want to get rid of the evil caps lock key without mutilating your keyboard? Want to give those silly Windows keys useful jobs, or put all those extra multi-media keys to work? Want to become a powerhouse keyboarding commando? Then come along and join the fun, because Linux has all kinds of good tools for taming wayward keyboards and increasing your efficiency. In this two-part series we're going to use xmodmap, XBindKeys, and KeyTouch to create custom keybindings for launching applications and running commands. | ||
| + | |||
| + | The placement of the caps lock key is a demonstration of malicious cunning. It's above the shift key and it's usually oversized, so it's way too easy to hit it when you don't want to, which for me is all the time. On a case-sensitive operating system it's not all that useful anyway. Unhappy users often resort to remedies like prying it off entirely or covering it with duct tape. You can do this if you're careful, but elite geeks resort to more sophisticated measures that do not mangle their nice keyboards. It's not the fault of the keyboards that manufacturers have giant Windows-sized blind spots, and as always, Linux makes lemonade out of lemons and provides useful alternatives. | ||
| + | {{end quotation}} | ||
| + | |||
| Line 100: | Line 116: | ||
run as. The other options are disregarded, right now, in this mode. | run as. The other options are disregarded, right now, in this mode. | ||
</pre> | </pre> | ||
| + | |||
| + | {{cite web| url = http://linuxplanet.com/linuxplanet/tutorials/6401/3/| title = | author = | date = | accessdate = 2007-05-11 11:18| license = }} | ||
| + | {{quotation| exact=?| excerpt=?}} | ||
| + | For launching graphical applications with rootly powers, or as any other user, you need gksu or kdesu. Using one of these gives you a graphical login window, like Figure 2. | ||
| + | |||
| + | gksu is a graphical front-end to both su and sudo. Just to add to the fun and confusion, so is gksudo. Making it even more fun is Ubuntu makes gksu behave like gksudo. So let's talk about this first. | ||
| + | {{end quotation}} | ||
| + | {{cite web| url = http://linuxplanet.com/linuxplanet/tutorials/6401/4/| title = | author = | date = | accessdate = 2007-05-11 11:18| license = }} | ||
| + | {{quotation| exact=?| excerpt=?}} | ||
| + | Because Ubuntu makes gksu and gksudo both behave like sudo, how do you configure xbindkeys to run a command as "real" root? Use the -w switch, like this: | ||
| + | |||
| + | <pre class="console"> | ||
| + | $ gksu -w kate | ||
| + | </pre> | ||
| + | |||
| + | You can cancel the sudo timeout with this command: | ||
| + | |||
| + | <pre class="console"> | ||
| + | $ sudo -k | ||
| + | </pre> | ||
| + | |||
| + | This is helpful when you're testing your commands and they get stuck in sudo mode. | ||
| + | {{end quotation}} | ||
| + | |||
Aliases: GNU/Linux / Desktop environment, GNU/Linux / X Windowing System, GNU/Linux / Graphical environment,
This information will be about Ubuntu and GNOME unless specified otherwise.
Contents |
| Function | Default | My preference | Changeable in GNOME Keyboard Shortcuts app? |
|---|---|---|---|
| Opens a Run Application window... | Alt-F2 | F1 | Yes |
| Open a terminal window | SuperR | Yes | |
| Switch to workspace on the left | Ctrl+Alt+Left | Yes |
Master Your Linux Keyboard (And Fix Caps Lock Forever): XBindKeys For Launching Applications (http://linuxplanet.com/linuxplanet/tutorials/6401/2/).
KDE and GNOME, window managers like IceWM and Fluxbox, and many applications come with their own set of prefab keybindings. You should investigate these before going on a customization spree, or you run the risk of creating conflicts. We're going to learn how to use XBindKeys. XBindKeys is not dependent on any particular desktop or window manager, and should run on pretty much any Linux or Unix system."
http://www.xfree86.org/4.2.0/xmodmap.1.html
http://lifehacker.com/software/how-to/configure-custom-keyboard-shortcuts-on-ubuntu-256955.php.
I live and die by xbindkeys and xautomation. They allow me to easily map and remap the 9 extra buttons on my mouse, something that I couldn't figure out how to do in Windows. I'm almost always using my laptop while in bed, so I like to be able to do everything with one hand. I even have profiles saved and automatically change depending on the situation, so click-wheel left and right scroll through tabs in Firefox and Konqueror, change the page in KPDF and skip -/+ 10 seconds in VLC. Very useful stuff.
http://linuxplanet.com/linuxplanet/tutorials/6401/1/.
Want to get rid of the evil caps lock key without mutilating your keyboard? Want to give those silly Windows keys useful jobs, or put all those extra multi-media keys to work? Want to become a powerhouse keyboarding commando? Then come along and join the fun, because Linux has all kinds of good tools for taming wayward keyboards and increasing your efficiency. In this two-part series we're going to use xmodmap, XBindKeys, and KeyTouch to create custom keybindings for launching applications and running commands. The placement of the caps lock key is a demonstration of malicious cunning. It's above the shift key and it's usually oversized, so it's way too easy to hit it when you don't want to, which for me is all the time. On a case-sensitive operating system it's not all that useful anyway. Unhappy users often resort to remedies like prying it off entirely or covering it with duct tape. You can do this if you're careful, but elite geeks resort to more sophisticated measures that do not mangle their nice keyboards. It's not the fault of the keyboards that manufacturers have giant Windows-sized blind spots, and as always, Linux makes lemonade out of lemons and provides useful alternatives.
[Differences from Windows (category)]
I like!
At first I didn't think I liked this, having two different clipboard buffers... But I think the benefits outweigh the drawbacks here: It is so convenient to be able to select text and have it automatically copied to the clipboard and then be able to paste to another application with only a single click, without ever touching the keyboard!.
I used to have it set up to be almost as convenient on Windows: I just had to select the text, press the Windows key (mapped to copy), switch to the other app, and press CapsLock (paste).
On the other hand, ... I'm more of a keyboard-lover than a mouse-lover, and I don't know of any way to access the middle-click buffer from the keyboard. Does anyone else know a way??
When you drag the address bar (or the icon beside it) to another app (a textarea in another browser window), I'm used to having it insert the URL as well as the title. In X / Gnome, it looks like it only inserts the URL. (Oh well. At least it's usually pretty easy to copy and paste the title of the page using the middle button...)
http://ubuntu.wordpress.com/2005/09/07/adding-a-startup-script-to-be-run-at-bootup/
http://oldfield.wattle.id.au/luv/boot.html#init
http://www.acm.uiuc.edu/workshops/cool_unix/xinitrc.html
http://web.mit.edu/answers/xwindows/xwindows_xmodmap.html
http://www.in-ulm.de/~mascheck/X11/xmodmap.html
man gksu:
gksu - GTK+ frontend for su and sudo
SYNOPSIS
gksu
gksu [-u <user>] [options] <command>
gksudo [-u <user>] [options] <command>
DESCRIPTION
gksu is a frontend to su and gksudo is a frontend to sudo. Their primary purpose is to run graphical commands that need root without the need to run an X terminal
emulator and using su directly.
Notice that all the magic is done by the underlying library, libgksu. Also notice that the library will decide if it should use su or sudo as backend using the
/apps/gksu/sudo-mode gconf key, if you call the gksu command. You can force the backend by using the gksudo command, or by using the --sudo-mode and --su-mode
options.
If no command is given, the gksu program will display a small window that allows you to type in a command to be run, and to select what user the program should be
run as. The other options are disregarded, right now, in this mode.
http://linuxplanet.com/linuxplanet/tutorials/6401/3/.
For launching graphical applications with rootly powers, or as any other user, you need gksu or kdesu. Using one of these gives you a graphical login window, like Figure 2. gksu is a graphical front-end to both su and sudo. Just to add to the fun and confusion, so is gksudo. Making it even more fun is Ubuntu makes gksu behave like gksudo. So let's talk about this first.
http://linuxplanet.com/linuxplanet/tutorials/6401/4/.
Because Ubuntu makes gksu and gksudo both behave like sudo, how do you configure xbindkeys to run a command as "real" root? Use the -w switch, like this:$ gksu -w kateYou can cancel the sudo timeout with this command:
$ sudo -kThis is helpful when you're testing your commands and they get stuck in sudo mode.
~/Templates
.gnome2/~/nautilus-scripts/
http://ubuntuforums.org/showthread.php?t=40617
http://weblogs.mozillazine.org/gerv/archives/2005/06/taskbars.html.
I think you should use desktops more. You can group windows by activities - one desktop for messaging stuff, one for music, one for web browsing, use the pager or the window list (which is on the top right in a gnome setup) to move between desktops. I typically use six desktops, and there is no need for minimizing windows. The taskbar isn't needed anymore.
I've never understood the use of taskbars in a system with virtual desktops. It makes sense in the Other OS, but I've never seen the point in GNOME. My browser is always in desktop 3; my terminal is always in #1, my music is always in #4, etc. Having an omnipresent widget just to tell me which apps are open seems like a bad use of screen real estate; I know exactly where my apps are without even thinking about it. Learning to be consistent in which programs you open on which desktops really pays off. Then again, maybe it just works well for me since I am a web developer, and I have a predictable set of programs open at all time with little variance.
http://ubuntuforums.org/showthread.php?p=2003626
I used EasyUbuntu to get the codecs, but there are probably other ways.
| Project/Development: | http://sourceforge.net/projects/tilda/
|
|---|---|
| Description: | Tilda is a Linux terminal taking after the likeness of many classic terminals from first person shooter games, Quake, Doom and Half-Life to name a few, where the terminal has no border and is hidden from the desktop till a key or keys is hit.
|