LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to use iso8859-2 encodings for characters in GNOME 2.6 (https://www.linuxquestions.org/questions/linux-software-2/how-to-use-iso8859-2-encodings-for-characters-in-gnome-2-6-a-185654/)

Rajahuroman 05-25-2004 10:16 AM

How to use iso8859-2 encodings for characters in GNOME 2.6
 
I use xmodmap to change my keyboard layout to romanian but I also need to change the character encodings to iso8859-2 for romanian characters to be properly displayed and I don't know how to do this.
Does anybody have any idea?

exit3219 08-19-2005 09:32 AM

De ce nu folosesti Gnome Keyboard Preferences?

Sau nu se poate in Slackware?

Rajahuroman 05-04-2009 08:50 AM

Five years later I found out how to setup the keyboard using xorg.conf which is better than anything else so I'm posting this here in case anybody else wants to solve some similar problem:

I modified these lines:

Section "InputDevice"
Identifier "VMware Keyboard"
Driver "kbd"
# Option "Protocol" "Xqueue"
# Option "AutoRepeat" "500 5"
# Option "Xleds" "1 2 3"
# Option "XkbDisable"

Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ro"
Option "XkbVariant" "basic,winkeys"
Option "XkbOptions" "grp:ctrl_shift_toggle"
EndSection

The places you should watch closely are XkbLayout and XkbVariant. You can find the settings for these inside /etc/X11/xkb/rules/xorg or xfree86 depending on what XkbRules you choose.

You can also use setxkbmap to setup these settings at run time (no need to reboot X)


All times are GMT -5. The time now is 02:06 PM.