| PLEX86 | ||
|
Remap key to simulate Ctrl+Alt simultaniouslyBlack Sun and said: Process end 2369 OK No, I didn't. Do you mean I should look atvar-log-messages? I didn't realize that it would have that kind of detailed information about my user process. Sure, but my... Wait, what? This sounds really stupid. How are you supposed to switch consoles while in X, or enter some of X's special codes, without being able to press Ctrl+Alt? Uh-huh. xmodmap binds single keys to single keys, not single keys to arbitrary actions. Nope, it didn't work right the last time I tried it either. Fortunately, this isn't too difficult to do. Use xbindkeys (or its frontend gtk-xbindkeys) and xmacroplay. xmacroplay simulates key events, mouse motion events, and mouse button events. xbindkeys binds arbitrary keys to arbitrary actions. Make a script like so: #!-bin-sh echo -e "KeyStrPress ControlL-nKeyStrPress AltL-nKeyStrRelease AltL-n KeyStrRelease ControlL" xmacroplay :0 # end ctrl+alt.sh ...do xbindkeys -k, bind special key N to ctrl+alt.sh, you should be set. xmacroplay is part of the "xmacro" package; look that up on freshmeat.net if your distro doesn't have a package--it's a quick download and a quick compile. HTH, -- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
Online Counseling Group Therapy Creative Support *CYBORGS* ContentLength: 3686 |
||||