You are not logged in.

#1 2010-06-21 08:12:56

spiridow
Member
Registered: 2009-08-08
Posts: 40

XORG 1.8: so what does it imply?

So I did a pacman -Syu this morning. Seems to work fine, except that my keyboard layout was reset to default. How can I change it back ? Also does it mean that we dont need hal anymore?

Offline

#2 2010-06-21 08:19:46

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: XORG 1.8: so what does it imply?

Temporary you can use setxkbmap de/us/...
I used the xfce settings to change it.
The right way would probably changing a udev rule.

You can disable hal and try it. smile


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#3 2010-06-21 08:31:56

spiridow
Member
Registered: 2009-08-08
Posts: 40

Re: XORG 1.8: so what does it imply?

Woot, woot. One daemon less in my DAEMONS list smile setxkbmap works great for now. Thanks!

EDIT: looks like devices won't appear in pcmanfm anymore without hal.

Last edited by spiridow (2010-06-21 08:34:27)

Offline

#4 2010-06-21 08:47:12

xamaco
Member
From: Corsica, France
Registered: 2010-04-05
Posts: 87

Re: XORG 1.8: so what does it imply?

Hal is still needed by several applications including pcmanfm.

Offline

#5 2010-06-21 08:49:10

spiridow
Member
Registered: 2009-08-08
Posts: 40

Re: XORG 1.8: so what does it imply?

xamaco wrote:

Hal is still needed by several applications including pcmanfm.

Okay, better keep it then. Thanks.

Offline

#6 2010-06-21 10:22:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: XORG 1.8: so what does it imply?

There is a long thread in the testing sub-forum about xorg 1.8 - you should read it. The xorg wiki page has also been updated.

More generally, asking if you don't need hal anymore suggests that you don't really know what hal is, what it does, or whether any of your other applications use it. I would suggest you try to become more familiar with the way your system works.

Offline

#7 2010-06-21 10:41:37

Erus_Iluvatar
Wiki Admin
Registered: 2010-04-01
Posts: 122

Re: XORG 1.8: so what does it imply?

To have the question answered here :

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "xkb_layout" "fr"
        Option "xkb_variant" "oss"
        Option "xkb_options" "compose:menu"
EndSection

in /etc/X11/xorg.conf.d/10-evdev.conf


I'm french, don't mind my mistakes in english.

Offline

#8 2010-06-22 13:10:16

fubar0
Member
Registered: 2009-10-05
Posts: 18

Re: XORG 1.8: so what does it imply?

Yes, that is correct.

The same Problem is described here:
http://bleedux.wordpress.com/2010/06/22 … -xorg-1-8/
If you had set the keymap im your WM before, it won't work after update.
The simplest solution is to set your keymap globally and independently in the XORG config files.

However, the arch wiki on Xorg
http://wiki.archlinux.org/index.php/Xor … 20G_Laptop
still says that keyboard settings via Xorg is deprecated.

That might not be true any more, now that HAL has been removed.
In good old HAL times, you were advised by the wiki to set keymaps in
/etc/hal/fdi/policy/10-keymap.fdi
which obviously no longer works.

Guide to set (non-US) keymaps after update to Xorg 1.8: http://bleedux.wordpress.com/2010/06/22 … us-keymap/

Last edited by fubar0 (2010-06-22 14:04:22)

Offline

#9 2010-06-22 13:59:48

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: XORG 1.8: so what does it imply?

I was wondering where to put keyboard layout too.

Following the (outdated?) wiki I created a /etc/X11/xorg.conf.d/10-keyboard.conf file

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "it"
    Option                 "XkbModel" "acer_laptop"
EndSection

But maybe it's better to add these options in /etc/X11/xorg.conf.d/10-evdev.conf?

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "xkb_layout" "it"
        Option "xkb_model" "acer_laptop"
EndSection

Thank you.

Last edited by rent0n (2010-06-22 14:00:24)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#10 2010-06-22 15:22:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: XORG 1.8: so what does it imply?

fubar0 wrote:

However, the arch wiki on Xorg
http://wiki.archlinux.org/index.php/Xor … 20G_Laptop
still says that keyboard settings via Xorg is deprecated.

Huh? That links to a xorg.conf.d/ example. roll

Offline

#11 2010-06-22 17:22:37

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: XORG 1.8: so what does it imply?

rent0n wrote:

I was wondering where to put keyboard layout too.

Following the (outdated?) wiki I created a /etc/X11/xorg.conf.d/10-keyboard.conf file

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "it"
    Option                 "XkbModel" "acer_laptop"
EndSection

But maybe it's better to add these options in /etc/X11/xorg.conf.d/10-evdev.conf?

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "xkb_layout" "it"
        Option "xkb_model" "acer_laptop"
EndSection

Thank you.

...or maybe directly into /etc/X11/xorg.conf (I don't have one right now)?
Please enlighten me. big_smile

Last edited by rent0n (2010-06-22 17:23:08)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#12 2010-06-22 17:35:30

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: XORG 1.8: so what does it imply?

I suggest to put any customization directly in xorg.conf, since that has priority over the xorg.conf.d files.

Offline

#13 2010-06-22 18:10:12

fubar0
Member
Registered: 2009-10-05
Posts: 18

Re: XORG 1.8: so what does it imply?

tomk wrote:
fubar0 wrote:

However, the arch wiki on Xorg
http://wiki.archlinux.org/index.php/Xor … 20G_Laptop
still says that keyboard settings via Xorg is deprecated.

Huh? That links to a xorg.conf.d/ example. roll

Yeah, you are right. I meant
http://wiki.archlinux.org/index.php/Xor … recated.29

Offline

#14 2010-06-22 18:12:13

fubar0
Member
Registered: 2009-10-05
Posts: 18

Re: XORG 1.8: so what does it imply?

ataraxia wrote:

I suggest to put any customization directly in xorg.conf, since that has priority over the xorg.conf.d files.

After a contemporary installation, you don't necessarily have one single xorg.conf, but everything spread over several files.
Cheers

Offline

#15 2010-06-22 22:49:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: XORG 1.8: so what does it imply?

fubar0, you're missing the point. Typically, distros will provide default settings by installing files under /etc/X11/xorg.conf.d/ e.g. the /etc/X11/xorg.conf.d/20-nvidia.conf file that is now included in Arch's nvidia-utils package. If the user changes this file, it will just be reset back to the default the next time the nvidia package is upgraded. Therefore the user should place their custom settings in /etc/X11/xorg.conf, which does not belong to any package, and will therefore be retained during upgrades.

Offline

Board footer

Powered by FluxBB