View previous topic :: View next topic |
Author |
Message |
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun May 14, 2006 8:45 am Post subject: Modular X keyboard layout problem [SOLVED] |
|
|
Hi everyone, since i upgraded to modular X thing worked out of the box. Layouts worked great just like before migration. Until yesterday....
I trie to
Code: | emerge -va x11-misc/xkbdata x11-misc/xkeyboard-config |
And i saw that x11-misc/xkeyboard-config is blocking x11-misc/xkbdata. So i first unmerged x11-misc/xkeyboard-config and emerged x11-misc/xkbdata and tried to reemerge x11-misc/xkeyboard-config. No luck. In fact they are mutually blocking each other.
So, i unmerged x11-misc/xkbdata and emerged x11-misc/xkeyboard-config to get to the previous state. Till then, i cant switch keyboard layouts.
From gnome i'm getting this nasty error:
Code: | 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
X server version data:
The X.Org Foundation
70000000
If you report this situation as a bug, please include:
- The result of xprop -root | grep XKB
- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd |
I tried reemerging libxklavier, xkbcomp, xmodmap NO LUCK.
xprop -root | grep XKB gives me:
Code: | _XKB_RULES_NAMES_BACKUP(STRING) = "xorg", "pc105", "us,el", ",extended", "grp:alt_shift_toggle,grp_led:scroll,compose:rwin"
_XKB_RULES_NAMES(STRING) = "xorg", "pc105", "us,el(extended)", "", "grp:alt_shift_toggle,grp_led:scroll,compose:rwin"
|
gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd gives me:
Code: | layouts = []
model =
overrideSettings = true
options = [] |
This is my relevent xorg.conf section (which IS UNGANGED from xorg 6.8 and worked before with 7)
Code: | Option "XkbModel" "pc105"
Option "XkbLayout" "us,el(extended)"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,compose:rwin" |
The problem should be an X related thing since im unable to switch layouts from KDE too. The greek flag just becomes an err flag and typing is always in english.
Also, i used this fix https://forums.gentoo.org/viewtopic-t-442896-highlight-xkeyboardconfig.html, and got both x11-misc/xkeyboard-config and x11-misc/xkbdata on my system. No luck too... The problem is the same both for XGL and regular X server.
Any ideas pliz??
Last edited by TemplarKnight on Sun Jun 04, 2006 6:03 pm; edited 2 times in total |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun May 14, 2006 9:42 am Post subject: |
|
|
hmm.....
Is this normal??
Code: | hydra birbilakos # setxkbmap -layout us
Error loading new keyboard description |
What is going on here? |
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun May 14, 2006 9:49 am Post subject: |
|
|
Also:
Code: | hydra birbilakos # setxkbmap -rules xorg -model pc105 -layout "us" -option "grp:alt_shift_toggle" -v
Warning! Multiple definitions of rules file
Using command line, ignoring X server
Warning! Multiple definitions of keyboard model
Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc(pc105)+us+group(alt_shift_toggle)
geometry: pc(pc105)
Error loading new keyboard description
|
|
|
Back to top |
|
|
TemplarKnight Guru
Joined: 14 Jun 2005 Posts: 311 Location: Greece/patras/
|
Posted: Sun May 14, 2006 10:35 am Post subject: |
|
|
Problem SOLVED!!
Solution:
Remove /usr/X11R6/lib/X11/xkb and /usr/share/X11/xkb and re-emerge
xkeyboard-config as described in this bug:
https://bugs.gentoo.org/show_bug.cgi?id=130590.
Curently:
Quote: |
hydra birbilakos # emerge -va x11-misc/xkbdata x11-misc/xkeyboard-config
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] x11-misc/xkeyboard-config (is blocking x11-misc/xkbdata-1.0.1)
[ebuild N ] x11-misc/xkbdata-1.0.1 USE="-debug" 0 kB
[ebuild R ] x11-misc/xkeyboard-config-0.8 0 kB
|
The monologue has ended... |
|
Back to top |
|
|
papapenguin l33t
Joined: 20 Sep 2005 Posts: 694 Location: Bellevue
|
Posted: Tue Aug 01, 2006 5:36 am Post subject: |
|
|
Hi-- how did you remove /usr/lib/X11/xkb ?
Sorry, it may be a silly question, but I'm stuck... |
|
Back to top |
|
|
madams n00b
Joined: 31 Jul 2006 Posts: 30 Location: Charlotte, NC, USA
|
Posted: Wed Aug 02, 2006 4:07 am Post subject: |
|
|
rm -Rvf /usr/lib/X11/xkb _________________ This post is worth exactly $0.02
/Always remember to 'pillage' before you 'plunder'/ |
|
Back to top |
|
|
papapenguin l33t
Joined: 20 Sep 2005 Posts: 694 Location: Bellevue
|
Posted: Thu Aug 03, 2006 7:01 pm Post subject: |
|
|
Thanks, that solved this problem... |
|
Back to top |
|
|
bug n00b
Joined: 04 Jul 2004 Posts: 7 Location: Ioannina, Greece.
|
Posted: Sat Aug 05, 2006 9:17 pm Post subject: |
|
|
TemplarKnight wrote: | Problem SOLVED!!
Solution:
Remove /usr/X11R6/lib/X11/xkb and /usr/share/X11/xkb and re-emerge
xkeyboard-config as described in this bug:
https://bugs.gentoo.org/show_bug.cgi?id=130590.
Curently:
Quote: |
hydra birbilakos # emerge -va x11-misc/xkbdata x11-misc/xkeyboard-config
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] x11-misc/xkeyboard-config (is blocking x11-misc/xkbdata-1.0.1)
[ebuild N ] x11-misc/xkbdata-1.0.1 USE="-debug" 0 kB
[ebuild R ] x11-misc/xkeyboard-config-0.8 0 kB
|
The monologue has ended... |
It worked for me too but only after upgrading to GNOME 2.14.2 (in case someone who is a GNOME user reads this). Thanks! |
|
Back to top |
|
|
max2k5 n00b
Joined: 15 May 2006 Posts: 35
|
Posted: Fri Aug 11, 2006 5:35 pm Post subject: Thank |
|
|
you so much!
Had exactly the same problem, was now looking for a solution for 2 days, and your posting was completely what i was missing!
Thanks!
max |
|
Back to top |
|
|
cotcot Tux's lil' helper
Joined: 18 Mar 2006 Posts: 77 Location: Belgium
|
Posted: Sat Sep 02, 2006 10:36 am Post subject: |
|
|
I only had to remove /usr/share/X11/xkb. I do not fully understand the solution in the bug report. Should I emerge --unmerge xkbdata prior to emerge xkeyboard-config (as xkbdata is blocking) ? |
|
Back to top |
|
|
|