|
Bugzilla – Full Text Bug Listing |
| Summary: | Can't write accents with locale es_ES | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Forgotten User L03nYQvXe7 <forgotten_L03nYQvXe7> |
| Component: | X11 Applications | Assignee: | Mike Fabian <mfabian> |
| Status: | RESOLVED FIXED | QA Contact: | Stefan Dirsch <sndirsch> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | xorg.conf | ||
|
Description
Forgotten User L03nYQvXe7
2008-06-22 14:02:27 UTC
I forgot to say I can write the letter "ñ" and "ç" Thanks. where are you typing that? How did you install? if you installed in spanish, please provide your yast logs This sounds like you're using "es(nodeadkeys)" keyboard layout. What's the output of 'setxkbmap -print'? Please attach also /etc/X11/xorg.conf. Created attachment 223958 [details]
xorg.conf
In response of comment#2, it happens when I write something in a terminal, Kwrite and Kate in OpenOffice it doesn't happen. The installation was done with a DVD (downloaded .iso torrent). In response of comment#4: setxkbmap -print xkb_keymap { xkb_keycodes { include "xfree86+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+es" }; xkb_geometry { include "pc(pc102)" }; }; Thanks. The keyboard layout from comment #6 looks correct. I would like to check whether you have scim installed or not. Usually scim will not be installed on a Spanish installation, but we should make sure. What is the output of rpm -qa | grep scim on your system? What are the values of the environment variables QT_IM_MODULE QT_IM_SWITCHER XMODIFIERS GTK_IM_MODULE ? In reply to comment#7: rpm -qa | grep scim ~> NULL ~> echo $QT_IM_MODULE scim ~> echo $QT_IM_SWITCHER imsw-multi ~> echo $XMODIFIERS @im=SCIM ~> echo $GTK_IM_MODULE scim It's strange, I don't have scim installed (I don't know what scim is) but I have it defined in the environment variables. Is this the problem? John Lewis> it happens when I write something in a terminal Which terminal? xterm, konsole, gnome-terminal, murxvt, ...? xterm and konsole, others I don't use them. John Lewis> It's strange, I don't have scim installed (I don't know John Lewis> what scim is) but I have it defined in the environment John Lewis> variables. Is this the problem? Yes, this causes the problem. If you set the variables to the following values, it should work: export XMODIFIERS=@im=local # use "Compose" export GTK_IM_MODULE=xim export QT_IM_SWITCHER=imsw-none # disable input method switching in Qt export QT_IM_MODULE=xim (or keep the GTK_ and QT_ variables unset, that should work as well). Another alternative would be to install scim (but not scim-bridge, because scim-bridge apparently breaks dead-key support). But as you don’t even know what scim is I guess you are happy without and I recommend to try the above settings of the environment variables. I wonder how it is possible that you had the settings of the environment variables you wrote into comment #8 *without* having scim installed. These variables are usually set by sourcing the script /etc/X11/xim.d/scim which belongs to the scim package mfabian@magellan:/etc/X11/xim.d$ rpm -qf scim scim-1.4.7-1.71 mfabian@magellan:/etc/X11/xim.d$ and therefore this script is not there if scim is not installed. While starting an X11 session, /etc/X11/xinit/xinitrc.common is read which contains the following lines to start an input method: # # Start the XIM server # XIMFILE=/etc/X11/xim test -r $HOME/.xim && XIMFILE=$HOME/.xim test -r $XIMFILE && source $XIMFILE I.e. it first checks whether the user has a file called ~/.xim in his home directory. If yes, this is sourced and nothing else. In this case, everything needed to start an input method and to setup the environment variables needs to be in this ~/.xim. This is usually only done if one doesn’t like the system default at all and wants to do something completely different. Maybe you do have such a file and setup the environment variables as in comment #8? But why??? If you have such a file and don’t need scim, just delete it. I close the bug, it's solved. Perhaps I have selected this package during installation without knowing it. Thanks for your help!!! Even if scim was installed at some time, it is strange though why you
had these settings of the environment variables when scim was not
installed anymore (and you don’t have a ~/.xim file either).
The only way I can imagine how this could happen is:
- you install scim
- you start a new X session and get the environment set up
to use scim
- you uninstall scim but do *not* restart your X session
→ you still have the environment setup for scim but scim
might not work anymore which causes the problem you see
But in that case, the problem should go away just by restarting X11
because then you get the environment setup *not* to use scim
automatically (because the /etc/X11/xim.d/scim is gone after
uninstalling scim).
In both of the following cases your Spanish keyboard should
work correctly
1) scim is correctly installed and works
2) scim is not installed.
Somehow you managed to reach a state inbetween 1) and 2).
(An exception to 1) is when scim-bridge is also installed,
this seems to cause a problem with dead keys indeed which I just
found today because of your bug report).
|