Thread: xmodmap error - help?
i hope quick question. on netbook, able use xmodmap switch modifiers order want. installed 10.04 on new laptop (msi a6200) , xmodmap throwing error i'm not clear how interpret.
confirmed xev names of default modifier mappings -- left right,
instead, wantcode:control_l super_l alt_l <space> iso_shift_3 menu control_r
* moment, i'm not concerned difference between alt , iso_shift_3 -- want second key right of space bar behave alt.code:super_l alt_l control_l <space> control_r alt_l* menu
copied script worked on netbook , changed alt_r iso_shift_3 -- here's script i'm running on new machine.
verbose output xmodmap:code:remove control = control_l control_r remove mod1 = alt_l iso_shift_3 meta_l remove mod4 = super_l keysym control_l = super_l keysym control_r = menu keysym super_l = alt_l keysym menu = iso_shift_3 keysym alt_l = control_l keysym iso_shift_3 = control_r add mod1 = alt_l iso_shift_3 meta_l add control = control_l control_r add mod4 = super_l
how should change script work properly?code:dlm@dlm-laptop:~$ xmodmap -verbose documents/xmm-try.txt ! documents/xmm-try.txt: ! 1: remove control = control_l control_r ! keysym control_l (0xffe3) corresponds keycode(s) 0x25 ! keysym control_r (0xffe4) corresponds keycode(s) 0x69 remove control = 0x25 0x69 ! 2: remove mod1 = alt_l iso_level3_shift meta_l ! keysym alt_l (0xffe9) corresponds keycode(s) 0x40 0xcc ! keysym iso_level3_shift (0xfe03) corresponds keycode(s) 0x5c 0x6c ! keysym meta_l (0xffe7) corresponds keycode(s) 0xcd remove mod1 = 0x40 0xcc 0x5c 0x6c 0xcd ! 3: remove mod4 = super_l ! keysym super_l (0xffeb) corresponds keycode(s) 0x85 0xce remove mod4 = 0x85 0xce ! 4: keysym control_l = super_l ! keysym control_l (0xffe3) corresponds keycode(s) 0x25 keycode 0x25 = super_l ! 5: keysym control_r = menu ! keysym control_r (0xffe4) corresponds keycode(s) 0x69 keycode 0x69 = menu ! 6: keysym super_l = alt_l ! keysym super_l (0xffeb) corresponds keycode(s) 0x85 0xce keycode 0xce = alt_l keycode 0x85 = alt_l ! 7: keysym menu = iso_level3_shift ! keysym menu (0xff67) corresponds keycode(s) 0x87 keycode 0x87 = iso_level3_shift ! 9: keysym alt_l = control_l ! keysym alt_l (0xffe9) corresponds keycode(s) 0x40 0xcc keycode 0xcc = control_l keycode 0x40 = control_l ! 10: keysym iso_level3_shift = control_r ! keysym iso_level3_shift (0xfe03) corresponds keycode(s) 0x5c 0x6c keycode 0x6c = control_r keycode 0x5c = control_r ! 11: add mod1 = alt_l iso_level3_shift meta_l add mod1 = alt_l iso_level3_shift meta_l ! 12: add control = control_l control_r add control = control_l control_r ! 13: add mod4 = super_l add mod4 = super_l ! ! executing work queue ! remove control = 0x25 0x69 remove mod1 = 0x40 0xcc 0x5c 0x6c 0xcd remove mod4 = 0x85 0xce keycode 0x25 = super_l keycode 0x69 = menu keycode 0xce = alt_l keycode 0x85 = alt_l keycode 0x87 = iso_level3_shift keycode 0xcc = control_l keycode 0x40 = control_l keycode 0x6c = control_r keycode 0x5c = control_r add mod1 = alt_l iso_level3_shift meta_l add control = control_l control_r add mod4 = super_l x error of failed request: badvalue (integer parameter out of range operation) major opcode of failed request: 118 (x_setmodifiermapping) value in failed request: 0x17 serial number of failed request: 22 current serial number in output stream: 22
--
james
well, found tutorial morning - http://www.in-ulm.de/~mascheck/x11/xmodmap.html - , rewrote script this, , works now. i'd hoped avoid using keycodes this, "working" better "elegant." tutorial explains find keycodes.
jamescode:!note: disables iso_level3_shift/mode_switch, maybe fix later clear control clear mod1 clear mod4 clear mod5 keycode 37 = super_l keycode 133 = alt_l keycode 64 = control_l keycode 108 = control_r keycode 135 = alt_r keycode 105 = menu add control = control_l control_r add mod1 = alt_l alt_r add mod4 = super_l
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] xmodmap error - help?
Ubuntu
Comments
Post a Comment