add a second keyboard with a different mapping
Timothy S. Nelson
wayland at wayland.id.au
Tue Jul 21 03:18:00 PDT 2009
On Tue, 21 Jul 2009, Peter Hutterer wrote:
>> The next thing was to test running the keyboards with different maps.
>> Now that configuration I'm after is like this:
>>
>> Keyboard 1: Standard us+pc105+inet setup
>> Keyboard 2: 4 layouts; us-intl, el (Greek), il (Hebrew), and a custom layout
>> that lets me type various mathematical symbols
>>
>> So, the configuration of keyboard 1 is automatically the way I want it,
>> so I don't have to do anything to it except ensure that I don't mess it
>> up. For keyboard 2, I have a script that gets run when I log in to
>> XWindows that runs this command:
>>
>> setxkbmap -device <deviceid> '<layouts>'
>
> nipick: not XWindows, its your desktop environment. gnome-settings-daemon
> will set the configuration earlier chosen but apply it to all devices and
> hence overwrite your xorg.conf/HAL configuration.
> KDE doesn't overwrite the keyboard config by default, so this is less of an
> issue.
I'm not 100% sure you're right here. I don't appear to be using
either of these. My .xsession contains the following line:
${HOME}/local/bin/devicefinder --set
...where devicefinder is a script I wrote.
[snip]
Thanks for snipped advice. I may be in a position to act on some of
it at some point in the future.
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayland at wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
More information about the xorg
mailing list