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

Re: Keyboard remapping



On 2013-02-28 14:21:30 +0000, Harvey Kelly wrote:
> > On Thu, 2013-02-28 at 09:09 +0000, Daniel Dalton wrote:
> > Is it possible to make the fn key act as a control key inside of linux?
> > (I'd like to keep the functions of the fn key combinations if
> > possible).
> 
> Are the keys recognised? Have you checked?
> 
> When you run this command:
> 
> xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode \
> /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'

xev is generally of too high level for keys like Fn.

/lib/udev/keymap is probably better, though it is buggy.

And this is the right way to swap keys on a particular keyboard,
because if you use something like XKB, it will affect all the
attached keyboards.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: