public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "pat" <pat@xvalheru.org>
To: gentoo-user@lists.gentoo.org
Subject: [SOLVED] Re: [gentoo-user] hal and keyboard layout switching
Date: Tue, 8 Sep 2009 17:40:49 +0200	[thread overview]
Message-ID: <20090908153936.M34100@xvalheru.org> (raw)
In-Reply-To: <4AA58B9D.3010908@xvalheru.org>

On Tue, 08 Sep 2009 00:39:25 +0200, Pat wrote
> Hello,
> 
> I want to setup hal to enable me switching between two keyboard layouts.
> My original configuration in xorg.conf is:
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbModel" "pc104"
>         Option      "XkbLayout" "us,cz"
>         Option      "XkbOptions" "grp:shift_toggle,grp_led:num"
> EndSection
> 
> I've searched web and got some information, but I'm doing something wrong.
> 
> I've created file /etc/hal/fdi/policy/x11-input.fdi and configure it 
> like: <device> <match key="info.capabilities" contains="input.keyboard">
> <merge key="input.x11_options.XkbModel" type="string">pc104</merge>
> <merge key="input.x11_options.XkbLayout" type="string">us,cz</merge>
> <merge key="input.x11_options.XkbOptions"
> type="string">grp:shifts_toggle</merge>
> </match>
> </device>
> 
> I have installed hal and running hald. The xorg-server version is 
> 1.5.3-r6.
> 
> Thanks for help
> 
> 	Pat
> 


Sorry !!! I have to restart hald and not only X server !!!

     Pat


-------------------------------------------
Modern Hosting PIPNI - http://www.pipni.cz/



      reply	other threads:[~2009-09-08 15:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-07 22:39 [gentoo-user] hal and keyboard layout switching Pat
2009-09-08 15:40 ` pat [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090908153936.M34100@xvalheru.org \
    --to=pat@xvalheru.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox