three additional configurations added, all of which add an additional modifier that works well in jwm but not Rox; there's a jwm file included to make it almost as easy as right click > edit > click to set [keyboard shortcut]. edit all now opens in a new instance of geany, and there's a menu entry that opens up to the /root/my-applications/xmodmaps directory from off Utilities. i got the idea to add mod3 from SFR's lockstate thread, which i just turned to for help with my iso level three shift problem. new versions basically just add two lines, though 82m makes caps lock the multimedia key under F2 (again, check xev if you're short on keys--i wanted Hyper_R and Mode_shift to be able to act on that key, so i couldn't put either there). here's the 82m config file:
and here's the jwm file:
! caps lock becomes mode switch, pause becomes caps lock, Menu gets added as modeshift plus q
remove Lock = Caps_Lock
! keycode 78 = Caps_Lock
keycode 252 = Caps_Lock
keycode 66 = Mode_switch
keycode 24 = q Q Menu Q q Q
add Lock = Caps_Lock
! keycode 144 = Caps_Lock
! keycode 71 = F5
! keycode 72 = ISO_Level3_Shift
! keycode 153 = F6
! xmodmap -e 'keycode 21 = equal plus Menu'
! keycode 71 = Mode_switch Mode_switch Mode_switch Mode_switch
! keycode 49 = grave asciitilde grave asciitilde grave asciitilde
! keycode 9 = Escape Menu(second slot is plus shift) (plus modeshift)3 (plus shift and modeshift)4 (can't-get 5th6th2wrk)5 (iso level shift 3 plus shift)6
! possible use is to add another 24 function keys (12 on the Function row, 12 on the numbers plus -/+ row, so that shift isn't used/precluded as a modifier. getting isolevel to work would probably be a better solution...)
! (84 is 82 but with scroll lock rather than pause made caps lock; 87 is the same as 84 but without the menu key activated as mode shift plus q; all three relocate Caps_Lock and make the original key into Mode_switch
! c version makes caps lock an extra control and moves mode switch to pause (rest is same as 84))
keycode 110 = Hyper_R
add mod3 = Hyper_R
! add Control = Hyper_R
enjoy!
<JWM>
<!-- mod 3 jwm template with that as the only modifier. add individual lines to /root/.jwm/jwmrc-personal or one of your key config files. include the whole file with <Include>/root/my-applications/xmodmaps/no10m/jwmmod3</Include>
added to that/those same file/s. restart jwm to activate -->
<!--
<Key mask="3" key="F1">exec:</Key>
<Key mask="3" key="F2">exec:</Key>
<Key mask="3" key="F3">exec:</Key>
<Key mask="3" key="F4">exec:</Key>
<Key mask="3" key="F5">exec:</Key>
<Key mask="3" key="F6">exec:</Key>
<Key mask="3" key="F7">exec:</Key>
<Key mask="3" key="F8">exec:</Key>
<Key mask="3" key="F9">exec:</Key>
<Key mask="3" key="F10">exec:</Key>
<Key mask="3" key="F11">exec:</Key>
<Key mask="3" key="F12">exec:</Key>
-->
<Key mask="3" key="1">exec:xdotool click 1</Key>
<Key mask="3" key="2">exec:xdotool click 2</Key>
<Key mask="3" key="3">exec:xdotool click 3</Key>
<Key mask="3" key="4">exec:xdotool click 4</Key>
<Key mask="3" key="5">exec:xdotool click 5</Key>
<!-- only these five are currently active. remove bookend arrows (<!-- -->) or move line outside the bookends to activate-->
<!--
<Key mask="3" key="6">exec:</Key>
<Key mask="3" key="7">exec:</Key>
<Key mask="3" key="8">exec:</Key>
<Key mask="3" key="9">exec:</Key>
<Key mask="3" key="0">exec:</Key>
<Key mask="3" key="minus">exec:</Key>
<Key mask="3" key="equal">exec:</Key>
<Key mask="3" key="bracketleft">exec:</Key>
<Key mask="3" key="bracketright">exec:</Key>
<Key mask="3" key="backslash">exec:</Key>
<Key mask="3" key="semicolon">exec:</Key>
<Key mask="3" key="apostrophe">exec:</Key>
<Key mask="3" key="comma">exec:</Key>
<Key mask="3" key="period">exec:</Key>
<Key mask="3" key="slash">exec:</Key>
-->
<!--
<Key mask="3" key="a">exec:</Key>
<Key mask="3" key="b">exec:</Key>
<Key mask="3" key="c">exec:</Key>
<Key mask="3" key="d">exec:</Key>
<Key mask="3" key="e">exec:</Key>
<Key mask="3" key="f">exec:</Key>
<Key mask="3" key="g">exec:</Key>
<Key mask="3" key="h">exec:</Key>
<Key mask="3" key="i">exec:</Key>
<Key mask="3" key="j">exec:</Key>
<Key mask="3" key="k">exec:</Key>
<Key mask="3" key="l">exec:</Key>
<Key mask="3" key="m">exec:</Key>
<Key mask="3" key="n">exec:</Key>
<Key mask="3" key="o">exec:</Key>
<Key mask="3" key="p">exec:</Key>
<Key mask="3" key="q">exec:</Key>
<Key mask="3" key="r">exec:</Key>
<Key mask="3" key="s">exec:</Key>
<Key mask="3" key="t">exec:</Key>
<Key mask="3" key="u">exec:</Key>
<Key mask="3" key="v">exec:</Key>
<Key mask="3" key="w">exec:</Key>
<Key mask="3" key="x">exec:</Key>
<Key mask="3" key="y">exec:</Key>
<Key mask="3" key="z">exec:</Key>
-->
<!--
<Key mask="3" key="space">exec:</Key>
<Key mask="3" key=""></Key>
<Key mask="3" key=""></Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
-->
<!-- -->
</JWM>