Nice too see you around Miernik,
El Sat, Jun 23, 2007 07:31:56AM +0200, Miernik escribió:
> Kai Grossjohann <kai.grossjohann_AT_de.verizonbusiness.com> wrote:
> > One could use xmodmap to change the Caps Lock key (to the left of A on
> > a qwerty keyboard) to behave like Ctrl, and to change the Ctrl key
> > (below the left Shift key) to behave like the "windoze" key. Then one
> > could use any key that's not used often to do like Caps Lock normally
> > does.
>
> That's what I do, here is how:
>
> miernik_AT_tarnica:~$ cat /home/miernik/.Xmodmap | grep -v ^!
> keycode 66 = Control_L Control_R
> keycode 64 = Alt_L Alt_R
> keycode 37 = Meta_L Meta_R
> keycode 109 = Super_L Super_R
>
> clear lock
> clear control
> clear mod1
> clear mod3
> clear mod4
>
> add control = Control_L Control_R
> add mod1 = Alt_L Alt_R
> add mod3 = Meta_L Meta_R
> add mod4 = Super_L Super_R
Not exactly the same, but I hope useful.
This is how I do something similar:
> cat .xsession G xk
setxkbmap -layout us,us_intl -rules xorg -model pc105 -option -option grp:shifts_toggle,grp_led:scroll,lv3:lwin_switch,lv3:rwin_switch,ctrl:nocaps,compose:menu
Explanation:
grp:shifts_toggle togle with the two shifts pressed at the same time
between us and us_intl layout
ctrl:nocaps caps is ctrl
grp_led:scroll switch the led scrooll on when the second layout
(us_intl) is active
compose:menu the windows menu key is the compose key
...
-- Iván F. Villanueva B. A.I. Open Source project: -- www.artificialidea.com FFII.org Deutschland -- de.ffii.org FFII.org España -- es.ffii.orgReceived on Sat Jun 23 2007 - 10:19:38 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:25:19 UTC