Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8493 - Cannot change key layout in X
Summary: Cannot change key layout in X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 16895 19737 19766 20180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-27 21:51 UTC by Francisco León
Modified: 2003-09-02 00:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco León 2002-09-27 21:51:18 UTC
This is so weird. I change my keyboard layout to us. Start X. X says it's using
us. But i get all my spanish letters 
Comment 1 Francisco León 2002-09-27 21:51:18 UTC
This is so weird. I change my keyboard layout to us. Start X. X says it's using
us. But i get all my spanish letters ñáéíóú etc

So weird. The only way i can switch to us is by typing setxkbmap us

What is happening here?

Why am i changing my layout to us since i have a la keyboard you might ask, well
i am testing something because in gnome 2 all terminal apps (even kde konsole)
has a faulty home end backspace delete insert , ñ and lots of other keys. They
dont work. But if i manually launch startx (dont get a window manager or
anything just X with some xterms) or simply use kde, all the keys work fine so
this is gnome specific.
Comment 2 Francisco León 2002-09-27 22:39:39 UTC
#2 issue on my bug is a gnome bug. My report here is about the X bug. 
Even plain startx (just xterm windows on X) has the same problem. 
Subject should be set up like it was before
Comment 3 foser (RETIRED) gentoo-dev 2002-10-13 14:00:49 UTC
Anything todo with bug #8174 by any chance ? I'm not much into locales, so you
are pretty much on your own for this one.
Comment 4 Francisco León 2002-10-13 14:11:16 UTC
i dont use locales. locales!=keymap

all my system is in english, i just use the "la" keymap and i cant change it 
unless i use setxkbmap us

Changing it in the xf86config file does not work (and yes , x is reporting to 
use the xf86config file i am changing)
Comment 5 foser (RETIRED) gentoo-dev 2002-10-13 14:25:20 UTC
oh right ( i said i wasn't a guru ;)).

Just to make sure, you changed /etc/X11/XF86Config ? It is the XkbLayout option ?

I can only suggest you check out some xfree docs and let me know what you find out.

Comment 6 Francisco León 2002-10-13 14:31:13 UTC
i have always changed key layout this way, but somehow putting us in keylayout 
keeps using la (and /var/log... shows when i run X that us keylayout is set!)

That's why i posted this bug. Again, it should be "cannot change key layout in 
X"
Comment 7 foser (RETIRED) gentoo-dev 2002-10-15 09:02:01 UTC
Not a gnome bug, can you reassign to the right guru ?
Comment 8 Roman Majer 2003-02-05 10:49:30 UTC
this is not a gentoo bug  but problem of user 
configuration files. 
 
1. you have to have right environment... 
LANG LC_ALL 
2. also the right keymap for console 
3. the right layout in XF86Config 
4. the right font  
etc. etc.. It is "magic" to have the right combination 
of all parameters.. 
also the right termcap definition, right locale files, "nls" in USE 
to switch on the 8-bit coding for some apps, etc. etc. etc... 
 
Just bubbling about bug in X is nonsens... 
 
And just to switch the layout in XF86Config without 
propper env is not enough... 
Comment 9 Francisco León 2003-02-05 11:03:49 UTC
I have been using linux since 1999 and to change the layout in X i just edit XF86Config and i change it. In every distro.

Gentoo should be the same, why reinvent the wheel?
Comment 10 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-01 01:23:49 UTC
francisco -- please do the following:

rm /usr/portage/distfiles/XFree86-compose*

emerge xfree

and then please report.
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-01 01:31:24 UTC
*** Bug 16895 has been marked as a duplicate of this bug. ***
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-01 01:42:49 UTC
*** Bug 19737 has been marked as a duplicate of this bug. ***
Comment 13 Pierre-Henri Jondot 2003-06-01 14:29:45 UTC
xfree digest files have been edited to reflect the changes but the XFree86-compose.dir.gz2 on the mirrors is still the old one (or is it the other way around ?)

So emerging xfree fails with a bad digest...
Comment 14 Pierre-Henri Jondot 2003-06-01 15:20:20 UTC
OK, the bad digest file was obtained on the gentoo.linux.no mirror (not yet synced it seems)

gentoo.oregonstate.edu has it seems the good file, so I guess it is only a question of hours.
Comment 15 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 04:22:54 UTC
*** Bug 20180 has been marked as a duplicate of this bug. ***
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 04:26:46 UTC
*** Bug 19766 has been marked as a duplicate of this bug. ***
Comment 17 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 19:57:01 UTC
closing, since these issues are finally resolved.