HAL and INPUT
Daniel Stone
daniel.stone at nokia.com
Mon Jul 9 05:15:25 PDT 2007
On Mon, Jul 09, 2007 at 01:43:57PM +0200, ext Danny Kukawka wrote:
> On Montag, 9. Juli 2007, Daniel Stone wrote:
> > On Mon, Jul 09, 2007 at 12:08:53PM +0200, ext Danny Kukawka wrote:
> > > Is it a good idea to put keyboard layout information to HAL like in your
> > > file:
> > >
> > > <merge key="input.xkb_layout" type="string">us</merge>
> > >
> > > This would IMO make only sense if you really can detect the layout of the
> > > hardware (is this possible?).
> >
> > It gives a sane default which can be overridden by local FDIs (populated
> > either by the local admin, or, e.g. by choices made in the installer).
> > Saves having the defaults in two places.
>
> But isn't this something the user want to set, or is this independent from the
> user settings? I'm unconvinced that it is a good idea to set this in a
> fdi-file which force all to have this layout by default and which is not
> changeable by the user (and edit a XML file is also not that funny).
It's a default. The user can change it, but that's session-specific.
This is a way to give a good default (given that there's no other way)
setting.
> IMO this key would make only sence if there is a way to detect if the keyboard
> has really a US layout.
Well, distribution installers all ask for your keyboard layout, so yes,
somewhat.
Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20070709/c803dc55/attachment.pgp
More information about the hal
mailing list