[email protected] (Trent W. Buck) writes: >>>> 1. Run setxkbmap -option ctrl:nocaps -option altwin:ctrl_win >>>> I can't see an option in setxkbmap to say >>>> "bloody well set this permanently?" >>> >>> There are the XKBOPTIONS in /etc/default/keyboard, but I'm guessing you >>> don't want this remapping as a system wide default? >> >> I did that. If I plug in a keyboard after X has started, >> it forgets the settings that are set there. > > (To be clear, I'm setting /etc/default/keyboard *and* calling > setupcon on ~/.console-setup for tty logins *and* calling setxkbmap for > X sessions.) > > At least part of the problem was > > XKBOPTIONS="altwin:ctrl_win ctrl:nocaps" > > is wrong, ignoring at least the first option; > > XKBOPTIONS="altwin:ctrl_win,ctrl:nocaps" > > honors at least the first option. > > (I don't have an external keyboard handy today to test the other half.)
Update: this was the whole problem. Set host-wide, adding & removing keyboards doesn't break as it did when set correctly user-wide and set incorrectly host-wide. _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
