Contributed by johan on from the next-patch-is-for-nonUS-mouse-support dept.
What this means to us is that one of the final obstacles to running X without a pre-made xorg.conf(5) file is now gone. This should make it considerably easier to run X11 for users with a non-US keyboard layout.
The idea and initial diff was contributed by Reyk Floeter (reyk@).
Furthermore, keyboard layouts are referred to differently in wscons(4) and Xorg(1) for some countries. This meant that for example the Swedish keyboard layout which is named "sv" in wscons(4) would not get automatically detected because it is named "se" in Xorg. Mats O Jansson (maja@) solved this by adding a lookup table to the xf86-input-keyboard driver.
There is one exception - if you alter your keymap by means of wsconsctl(8) your keymap will become "user" in which case this will not work.
Go ahead and try using Xorg without xorg.conf(5) yourself next time you install X on an OpenBSD computer.
(Comments are closed)
By Tom Van Looy (tvlooy) tom@ctors.net on
By Anonymous Coward (88.89.138.252) on
By Anonymous Coward (147.175.160.157) on
Tested so far on the console 'course I didn't had X on the FW
Comments
By Renaud Allard (renaud) on
>
Still better than most (all?) other OSes.
By Anonymous Coward (87.173.90.69) on
>
> Tested so far on the console 'course I didn't had X on the FW
There is a kernel option which you can use to set the default layout of your usb one.
Of course I don't apper to have it handy at the moment neither do I find it with my favorite search engine.
Anyone I hit a light at please raise your hands!!
Comments
By Anonymous Coward (140.112.14.181) on
> >
> > Tested so far on the console 'course I didn't had X on the FW
>
> There is a kernel option which you can use to set the default layout of your usb one.
> Of course I don't apper to have it handy at the moment neither do I find it with my favorite search engine.
> Anyone I hit a light at please raise your hands!!
I angree I didn't knew about this but this option should (must? :) ) get set during the installation where you are asked for the layout.
If I would know the responseable for the installer I would ask him if it's possible to edit the "correct" sysctl-value and add it to the sysctl.conf if that realy does the job.
I just was confused that the layout gets lost and I wondered that nobody els enoticed this (or reported it).
I am sure the usual user may wont dig intot he kernel to get a kayboard layout set (nor does he/she either care or has the time :( )
It would be great if modifying the installer would be an accaptable option because it would solve this completly if it can get set with a sysctl-command.
By Artis (artis) artis@proit.lv on
Comments
By Anonymous Coward (195.29.148.251) on
Many many times I used setxkbmap to change US keyboard to DE (german) and vice versa resulted in X server freezing a machine. Only reboot helped. I experienced this bug in OpenBSD 3.9 (that was my first OpenBSD install) but it still existed in 4.0, 4.1 and 4.2. Don't know about 4.3 (haven't yet installed it).
This bug prevented me to use OpenBSD as a desktop OS.
Comments
By Otto Moerbeek (otto) on http://www.drijf.net
>
> Many many times I used setxkbmap to change US keyboard to DE (german) and vice versa resulted in X server freezing a machine. Only reboot helped. I experienced this bug in OpenBSD 3.9 (that was my first OpenBSD install) but it still existed in 4.0, 4.1 and 4.2. Don't know about 4.3 (haven't yet installed it).
>
> This bug prevented me to use OpenBSD as a desktop OS.
Did you file a proper bug report?
-Otto
By thib (83.246.89.10) on
>
> Many many times I used setxkbmap to change US keyboard to DE (german) and vice versa resulted in X server freezing a machine. Only reboot helped. I experienced this bug in OpenBSD 3.9 (that was my first OpenBSD install) but it still existed in 4.0, 4.1 and 4.2. Don't know about 4.3 (haven't yet installed it).
>
> This bug prevented me to use OpenBSD as a desktop OS.
No, your laziness prevented you from using OpenBSD as a desktop OS.
I'd bet, that if you had filed a proper bug report, and offered to work with a developer or other users, this issue would have been solved...
By Tom Van Looy (tvlooy) tom@ctors.net on
By Paul Irofti (91.199.104.3) bulibuta@gmail.com on
Comments
By Jan J (130.237.95.28) on
> xorg.conf, but the other one is font paths. How can I set those
> w/o xorg.conf?
xset should do the trick.
By phessler (phessler) on first undead, then not, then undead again.