Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
swedish keymap trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sat Jun 29, 2002 7:10 pm    Post subject: swedish keymap trouble Reply with quote

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
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sun Jun 30, 2002 8:20 am    Post subject: Reply with quote

ok then....what commands does 'gdm' uses to setup the keyboard layout?
Back to top
View user's profile Send private message
mjentz
n00b
n00b


Joined: 13 Jun 2002
Posts: 7
Location: Kalmar, Sweden

PostPosted: Sun Jun 30, 2002 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sun Jun 30, 2002 10:52 am    Post subject: Reply with quote

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
View user's profile Send private message
HammeR
n00b
n00b


Joined: 09 Jun 2002
Posts: 17

PostPosted: Sun Jun 30, 2002 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message
d-iZe
n00b
n00b


Joined: 23 Nov 2002
Posts: 15

PostPosted: Tue Dec 31, 2002 2:55 am    Post subject: A little howto to get swedish/åäö in console/X/Xapps Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum