Sven Arvidsson <s...@whiz.se> writes: >> How can I change this line >> >> xmodmap -e 'keycode 66=0xe2' # rebind key: CAPS (66) -> â (0xe2) >> >> so that doesn't happen on CAPS alone (66), but >> instead (and only) on M-CAPS (here, M == Alt_L)? >> >> xev tells me M/Alt_L has has keycode 64. > > I'm not sure that's possible with xmodmap. > Maybe try xmacro?
Good idea, but I didn't get it t work. With this in ~/keys: Delay 1 String 0xe2 I got the literal chars (0xe2). With Delay 1 String â I get "No keycode ... found for char". I also tried with xdotool(1) like this xdotool keydown 0xe2; xdotool keyup 0xe2 That actually did work! ... but only as a command from xterm :( When I tried to assign an xbindkeys(1) shortcut, for some reason it wouldn't work, not even with DISPLAY=:0 on both commands and 0xe2 substituted for 'a'. Ideas? -- underground experts united http://user.it.uu.se/~embe8573 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87h9qfb4hv....@debian.uxu