[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Swap capslock-control in console?



I have swap-caps-ctrl in X, why shouldn't I want it in console too?
How do I set things up so that I swap caps-lock and control in the
console?  Everytime that "console-data" updates it tries to clobber my
setup (explained below).  Is there a debian way to configure this?

I hacked myself a new keymap which does this and called it
/etc/console/us+.kmap.gz.  Then changed /etc/init.d/keymap.sh to point
to this by setting CONFFILEROOT=us+ instead of the usual boottime.
Every so often upgrading stuff will ask about a modified keymap.sh.
Since the package is kind enough not to outright clobber keymap.sh and
it graciously makes a new keymap.sh (called something obvious but
unmemorable like keymap.sh-dpkg.new or somesuch, but the exact name
isn't important here) so I can then manually update things.

I had tried replacing boottime with my own keymapfile but console-data
will unceremoniously and silently clobber that.

Is there a better way to get this?  Is this a reasonable thing to want
by way of console configuration?

-- 
Johan KULLSTAM



Reply to: