View previous topic :: View next topic |
Author |
Message |
nempo Guru


Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sat Jun 29, 2002 7:10 pm Post subject: swedish keymap trouble |
|
|
I seem to be the only one with this problem since I couldnt find another thread with a similar one.
Its about my keymap (swedish) and the special swedish keys åäö. They work almost everywhere but there are certain exceptions, like x-chat, gaim and gterminal where they refuse to work. Well actually I can get them to work if I start X/gnome with 'gdm' but then Im stuck with the entire system on swedish, this is not something that I want. Ive tried to load se-latin1 aswell as fi-latin1 which Ive heard are the same (?). Another note is that when I start BitchX in a non-X envi. it seem to switch the entire layout with noway of stitching back except reboot.
Help is greatly appreciated. |
|
Back to top |
|
 |
nempo Guru


Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sun Jun 30, 2002 8:20 am Post subject: |
|
|
ok then....what commands does 'gdm' uses to setup the keyboard layout? |
|
Back to top |
|
 |
mjentz n00b

Joined: 13 Jun 2002 Posts: 7 Location: Kalmar, Sweden
|
Posted: Sun Jun 30, 2002 8:26 am Post subject: |
|
|
I have pretty much the same setup as you. I am running Gentoo (of course) and using Gnome 2 and åäö work for me, even in gterminal and xchat.
I am using this in my XF86Config file:
Code: |
Section "InputDevice"
Driver "keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbKeyCodes" "xfree86"
Option "XkbLayout" "se"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection
|
My LANG environment variable is set to en_US.
Since it sounds like the swedish character's work in everyting except for GNOME apps, have you changed the default font in GNOME to something that can't show Swedish characters?
I hope something of this can help you...
BTW: Gnome 1.4 "worked for me" too.
 |
|
Back to top |
|
 |
nempo Guru


Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sun Jun 30, 2002 10:52 am Post subject: |
|
|
yay, I just had to change the LANG and then it all worked out fine, I find it pretty strange to have the LANG set to en_US when I want a swedish layout... |
|
Back to top |
|
 |
HammeR n00b


Joined: 09 Jun 2002 Posts: 17
|
Posted: Sun Jun 30, 2002 11:00 am Post subject: |
|
|
To get åäö working in X-chat, take a look at the faq at X-chat's homepage.
Direct link: http://www.xchat.org/faq.html#q29 _________________ "Linux is communism" - Balmer, Microsoft. |
|
Back to top |
|
 |
d-iZe n00b


Joined: 23 Nov 2002 Posts: 15
|
Posted: Tue Dec 31, 2002 2:55 am Post subject: A little howto to get swedish/åäö in console/X/Xapps |
|
|
This works on my system in both console (no X) and in terminals in X and in programs like Xchat/licq/sim/mozilla/phoenix/opera/irssi.
This will let you use Swedish-translation and åäö in all apps as far as i know.
in /etc/rc.conf
--------------------
KEYMAP="se-latin1"
export Lang="en_US"
export LC_CTYPE="sv_SE"
CONSOLETRANSLATION="8859-1_to_uni"
in /etc/X11/XF86Config
--------------------------
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "se"
EndSection
Good Luck |
|
Back to top |
|
 |
|