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

Re: Configuring hotplugged input devices



David Wright (12019-11-25):
> My problem is knowing what to put in the script to make a keyboard
> layout apply only to a specific keyboard. I connect two keyboards;
> one is an old IBM M with British layout (PS/2), the other is a
> Logitech K520 with US layout (wireless).
> 
> Currently the machine boots in GB mode with the PS/2, and I have
> kbdgb and kbdus functions to switch back and forth when I use
> either keyboard. (For just the odd character I use memory of the
> easier transpositions (like @"), or the composition key.)
> 
> How do you make layout scripts so specific?

Is it for the console or for X11?

For the console I do not know. For X11, use this:

xkbcomp -i $id mapping.xkb

where $id is found with the xinput command.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature


Reply to: