[arch-general] Option XkbLayout doesn't work?

2009-05-13 Thread Sergey Manucharian
Hi folks,

It looks like the setting of keyboards layouts in xorg.conf doesn't
work anymore, or I'm missing something?

--8--
Section InputDevice
.
Option XkbRules   xorg
Option XkbModel   evdev
Option XkbLayout  us,ru,am
Option XkbVariant  ,phonetic,phonetic
.
EndSection
--8--

The only way I can set up the kbd layout is the using setxkbmap with
the same settings in my ~/.xinitrc.

Is it a bug of a feature of the new X?

Cheers,
Sergey



Re: [arch-general] Option XkbLayout doesn't work?

2009-05-13 Thread Denis A . Altoé Falqueto
On Wed, May 13, 2009 at 2:41 PM, Sergey Manucharian serg...@rmico.com wrote:
 Hi folks,

 It looks like the setting of keyboards layouts in xorg.conf doesn't
 work anymore, or I'm missing something?

 --8--
 Section InputDevice
    .
    Option XkbRules   xorg
    Option XkbModel   evdev
    Option XkbLayout  us,ru,am
    Option XkbVariant  ,phonetic,phonetic
    .
 EndSection
 --8--

 The only way I can set up the kbd layout is the using setxkbmap with
 the same settings in my ~/.xinitrc.

 Is it a bug of a feature of the new X?

 Cheers,
 Sergey




There's some time now that X Window has a hotplugging feature. You can
disable it, probably is what you want. See
http://wiki.archlinux.org/index.php/Xorg_input_hotplugging for more
information.

-- 
---
Denis A. Altoe Falqueto
---
Jay Leno  - Don't forget Mother's Day. Or as they call it in Beverly
Hills, Dad's Third Wife Day. -
http://www.brainyquote.com/quotes/authors/j/jay_leno.html


Re: [arch-general] Option XkbLayout doesn't work?

2009-05-13 Thread Paulo Santos

Sergey Manucharian wrote:


It looks like the setting of keyboards layouts in xorg.conf doesn't
work anymore, or I'm missing something?

[...]

Is it a bug of a feature of the new X?



It's a feature since Xorg 1.5.X, it's called Xorg Input Hotplugging.
Now your keyboard layout settings should be in 
/etc/hal/fdi/policy/10-keymap.fdi (once you put it there).


Check out the wiki:
http://wiki.archlinux.org/index.php/Xorg_input_hotplugging

Cheers,
Paulo Santos


Re: [arch-general] Option XkbLayout doesn't work?

2009-05-13 Thread Sergey Manucharian
On Wed, 13 May 2009 14:46:29 -0300
Denis A. Altoé Falqueto denisfalqu...@gmail.com wrote:

. 
 There's some time now that X Window has a hotplugging feature. You can
 disable it, probably is what you want. See
 http://wiki.archlinux.org/index.php/Xorg_input_hotplugging for more
 information.


Thanks for reply, Denis and Paulo!

I was thinking that the old mechanism can be used as well.

The problem why I do not want to use setxkbmap was discussed in the
thread:

http://www.archlinux.org/pipermail/arch-general/2009-May/004959.html
Rogutės wrote: This is a bug with xkbcomp and it has been reported
upstream long ago

Thanks,
Sergey



Re: [arch-general] Option XkbLayout doesn't work?

2009-05-13 Thread Denis A . Altoé Falqueto
On Wed, May 13, 2009 at 4:56 PM, Sergey Manucharian serg...@rmico.com wrote:
 On Wed, 13 May 2009 14:46:29 -0300
 Denis A. Altoé Falqueto denisfalqu...@gmail.com wrote:

 .
 There's some time now that X Window has a hotplugging feature. You can
 disable it, probably is what you want. See
 http://wiki.archlinux.org/index.php/Xorg_input_hotplugging for more
 information.


 Thanks for reply, Denis and Paulo!

 I was thinking that the old mechanism can be used as well.

 The problem why I do not want to use setxkbmap was discussed in the
 thread:

 http://www.archlinux.org/pipermail/arch-general/2009-May/004959.html
 Rogutės wrote: This is a bug with xkbcomp and it has been reported
 upstream long ago

 Thanks,
 Sergey



You can't use both ways simultaneously. You must choose either
xorg.conf or hotplugging. The wiki explains how you can get the old
behaviour againt, disabling hotplugging. Or you can try to configure
it. I am using it and I think it's great. In fact, I'm not using
xorg.conf anymore and I'm loving it :)

-- 
---
Denis A. Altoe Falqueto
---
Yogi Berra  - If you ask me anything I don't know, I'm not going to
answer. - http://www.brainyquote.com/quotes/authors/y/yogi_berra.html