View previous topic :: View next topic |
Author |
Message |
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sun Jun 02, 2013 12:08 pm Post subject: [solved] Eurosymbol in X |
|
|
In X I managed to get the dead keys working. I'm using XFCE4.
What I can't manage is to get the euro symbol working. And I would like to get é ë etc with altgr insead of the "nodeadkeys" option.
I followed the guide on: http://www.gentoo.org/doc/en/guide-localization.xml
Does anyone know what the right config is?
This is my config:
Code: |
elmarotter@trillian ~ $ cat /etc/X11/xorg.conf.d/30-keyboard.conf
Section "InputClass"
Identifier "keyboard-all"
Driver "evdev"
Option "XkbLayout" "us_intl"
Option "XkbModel" "pc105"
#Option "XkbVariant" "altgr-intl"
#Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,terminate:ctrl_alt_bksp"
MatchIsKeyboard "on"
EndSection
|
Code: |
elmarotter@trillian ~ $ cat /usr/share/fonts/misc/fonts.alias | grep iso8859-15
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15
7x13euro -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
|
Last edited by elmar283 on Sun Jun 02, 2013 1:36 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Jun 02, 2013 12:52 pm Post subject: |
|
|
I run xmodmap from .xinitrc for fine tuning in otherwise US UTF-8 boxes. I'm using left Windows key to switch.
Code: | $ cat .xmodmaprc
keycode 133 = Mode_switch
keycode 13 = 4 dollar 4 cent
keycode 24 = q Q otilde Otilde
keycode 26 = e E EuroSign cent
keycode 30 = u U udiaeresis Udiaeresis
keycode 32 = o O odiaeresis Odiaeresis
keycode 38 = a A adiaeresis Adiaeresis
keycode 39 = s S scaron Scaron
keycode 40 = d D degree
keycode 52 = z Z zcaron Zcaron
|
_________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sun Jun 02, 2013 1:00 pm Post subject: |
|
|
Do you know what number 'altgr' is?
So I can use that. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sun Jun 02, 2013 1:36 pm Post subject: |
|
|
Thanks. This solved the one half and most important part of my question:
I found out that in '/etc/X11/xinit/xinitrc' the file '.Xmodmap' is used. So I used that one.
The output is:
Code: |
elmarotter@trillian ~ $ cat ~/.Xmodmap
keycode 108 = Mode_switch
keycode 14 = 5 percent EuroSign percent EuroSign NoSymbol EuroSign
|
Now I only have to set all the special caracters like é, ë etc and it should work I think.
Thanks! |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|