keyboard layout problems

gettingout gettingout at linux.it
Wed Oct 20 09:41:17 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gettingout wrote:
| I can't type any character that is combining with the ALT-GR key (like
| @#). I can do it in console tty1,2,.. and inside xterm but I can't do it
| inside thunderbird, mozilla, gvim, xfce-notes (for example). In all
| graphic programs (except xterm) I can't use the alt-gr key.
Solved the problem.

to enable alt-gr inside the tty console just use
	dpkg-reconfigure console-data

to enable it in the xterm created the file /etc/X11/Xmodmap and
inserting lines like this
	$ cat /etc/X11/Xmodmap
	keycode 113 = ISO_Level3_Shift

to enable it in all X enviroment I had to put this line of code
	setxkbmap -rules xfree86 -model pc105 -layout it -option ""
inside the /etc/gdm/Init/Default file, just before the exit 0 line.

Obviusly the XF86Config-4 file seems to be ok.
	Section "InputDevice"
~        	Identifier      "Generic Keyboard"
	        Driver          "keyboard"
	        Option          "CoreKeyboard"
	        Option          "XkbRules"      "xfree86"
	        Option          "XkbModel"      "pc105"
	        Option          "XkbLayout"     "it"
	        Option          "XkbOptions"    ""
	EndSection

it seems that there's something that change the keyboard layout after X
got his configuration. Infact the line of code above (setxkbmap...) just
set the keyboard layout as the config file.

That's all folks
Thanks and by
Davide

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBdhad4bZBbJz82hMRAgY6AKCL8Iu0O3t2yRTWTnShKMS9RE9TcQCfZ9iQ
UB8+tzQkvKVHi3bIqZTAIe4=
=sy25
-----END PGP SIGNATURE-----



More information about the Xfce mailing list