Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8532 - New Xorg breaks keyboard layout switching in Gnome
Attached to Project:
Arch Linux
Opened by (N/A) (wantilles) - Tuesday, 06 November 2007, 16:20 GMT
Last edited by Greg (dolby) - Saturday, 24 May 2008, 09:23 GMT
Opened by (N/A) (wantilles) - Tuesday, 06 November 2007, 16:20 GMT
Last edited by Greg (dolby) - Saturday, 24 May 2008, 09:23 GMT
|
DetailsDescription:
New Xorg breaks keyboard layout switching in Gnome. Additional info: * package version(s) - libx11-1.1.3-5 - libxcb-1.1-1 - xcb-proto-1.1-1 - xf86-input-keyboard-1.2.2-2 - xf86-input-mouse-1.2.3-1 - xorg-server-1.4-4 * config and/or log files etc. Keyboard section on xorg.conf is as follows: Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Gnome Keyboard Layout configuration is as follows: Layouts: - US English - Greece Extended Layout Options: - Layout Switching: ----> Ctrl+Shift change layout. - Adding the EuroSign to certain keys: ----> Add the EuroSign to the E key. - Third level choosers ----> Press right Alt key to choose 3rd level. Steps to reproduce: 1. Everything works normally with the above configuration with Xorg 7.2. 2. Do a pacman sync -> pacman -Sy 3. Upgrade the system -> pacman -Su 4. Restart the system. 5. When Gnome is started again, keyboard layout change key combination does not work. User has to go into the Gnome Keyboard Preferences, change something, and exit. Only then it works. PS: Bug had been reported in the forums about a month ago when the Xorg was still in testing, but it was ignored. http://bbs.archlinux.org/viewtopic.php?pid=287074#p287074 |
This task depends upon
Works fine here. :-/
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
#Option "XkbModel" "pc104"
Option "XkbLayout" "us,ua,ru"
Option "XkbVariant" ",winkeys,winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle,altwin:super_win,numpad:microsoft"
EndSection
Did you try to setup all settings in xorg.conf instead of Gnome Keyboard Settings?
Let me explain.
1. This setup - with only Gnome taking the responsibility for the keyboard layouts - has been working flawlessly for 3.5 years.
2. The same bug had occurred briefly in the 6.9 dev version of Xorg long ago, during the transition from the monolithic 6.8 to the modular 7.0.
3. Back then, I attempted to do exactly exactly what you propose - as I did now - with no results.
4. If I attempt what you propose, at the next reboot I get an error messagebox saying:
Error activating XKB configuration.
It can happen under various circumstances:
- a bug in libxklavier library
- a bug in X server (xkbcomp, xmodmap utilities)
- X server with incompatible libxkbfile implementation
If you report this as a bug please include ... -> ... blah-blah.
So as you can see, I have no alternative.
But nevertheless, this whole discussion about enabling the layouts in xorg.conf is academic.
Because things have been working without them for 3.5 years, and things are supposed to - should - work without them.
Some things may changed now. :-/
> If I attempt what you propose, at the next reboot I get an error messagebox saying:
Please attach the keyboard section of your xorg config. Probably you've discovered a bug in Xorg.
Did you clear all Gnome keyboard settings before transferring keyboard switching config to xorg.conf?
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,el"
Option "XkbOptions" "grp:ctrl_shift_toggle,lv3:ralt_switch,eurosign:e"
EndSection
I also tried without the "lv3:ralt_switch" in Xkboptions with the exact same results.
So you may close the bug.
I am not willing to devote more time to this, especially when the xorg developers keep making fundamental changes without documenting them.
Option "XkbLayout" "us,ua,ru"
Option "XkbVariant" ",winkeys,winkeys"
This is equivalent to Option "XkbLayout" "us,ua(winkeys),ru(winkeys)"
On my second system (an i686 one) I cannot make it work.
Yes, essentially it is the same bug.
However, it is not Gnome's fault, as this behavior appeared only when the new Xorg Server 7.3 came out to [extra] from [testing].
For 3.5 years I have been using Gnome (from 2.6 to 2.20) with various Xorg servers (from 6.8 to 7.2) and always behaved properly.
Therefore, logic dictates it is Xorg 7.3's fault.
The other bug implies it is Gnome's fault.
But that is not the case.
It is Xorg's fault.
http://bugs.archlinux.org/task/8539
1. In gnome, reset the 'keyboard' settings to default.
2. Alt-F2, run 'gconf-editor'
3. Browse to desktop->gnome->peripherals->keyboard->kbd
4. Untick 'overrideSettings' - there is a note to unset each of the configs here to get the default layout too, when I tried to set the 'layouts' here manually I would get the error about an unsupported XKBD layout - same for if I set the layout via changing xlayout in xorg.conf
5. Logout of the X session, startx
6. Change keyboard layout via 'keyboard' settings (system->preferences->keyboard) and remove unwanted keyboard layout
7. Fixed.
In other words: Gnome uses the system configuration until you change it in gnome-keyboard-properties. From that point on gnome will always use the options you chose in gnome-keyboard-properties until you unset the model, layouts and options keys in gconf again.
I can't reproduce the bug. Has it been fixed? Can we close it?