You are not logged in.

#1 2014-10-24 15:24:51

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Problems writing Euro sign under X [workaround]

Hi there,

I have an European Qwerty laptop keyboard with the Euro sign on the 5. I followed the steps on the Wiki page and used the following command to create my configuration file:

# localectl set-x11-keymap us,de pc104 lv3:ralt_switch eurosign:5

The configuration file has been successfully created:

~ cat /etc/X11/xorg.conf.d/00-keyboard.conf 
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,de"
        Option "XkbModel" "pc104"
        Option "XkbVariant" "lv3:ralt_switch"
        Option "XkbOptions" "eurosign:5"
EndSection

What I understand from the Wiki, Option "XkbVariant" "lv3:ralt_switch" and Option "XkbOptions" "eurosign:5" should allow me to write the Euro sign by pressing AltrGr + 5. Yet, no symbol is posted with this key combination.

Does someone use the Euro sign and can share his configuration with me?

Thank you!

Last edited by orschiro (2014-11-23 17:21:21)

Offline

#2 2014-10-24 23:31:55

Faither
Member
Registered: 2009-10-09
Posts: 14

Re: Problems writing Euro sign under X [workaround]

Does this let you type €s:

$ setxkbmap -model pc104 -layout us,de -variant , lv3:ralt_switch eurosign:5

If so are there any other files in your conf.d directory overwriting your configuration? Or your DE setting other defaults?


There are 10 kinds of people in this world - Those who know binary and those who don't.

Offline

#3 2014-10-25 07:45:14

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Problems writing Euro sign under X [workaround]

@Faither

Yes, it does. Thanks for the hint to test it directly in the running session.

I am running a plain Openbox session. Thus from the side of DE/WM there should be no interference.

There is no other file in my conf.d directory that is overwriting the keyboard settings:

~ l /etc/X11/xorg.conf.d                             
total 24K
drwxr-xr-x 2 root root 4.0K Okt 23 18:08 .
drwxr-xr-x 4 root root 4.0K Okt  4  2013 ..
-rw-r--r-- 1 root root  356 Okt 23 18:08 00-keyboard.conf
-rw-r--r-- 1 root root  119 Okt 13 00:02 20-intel.conf
-rw-r--r-- 1 root root  152 Mär 19  2014 90-lirc-logitech-r400.conf
-rw-rw-rw- 1 root root  196 Sep 16  2013 99-calibration.conf
~ cat /etc/X11/xorg.conf.d/00-keyboard.conf 
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us,de"
        Option "XkbModel" "pc104"
        Option "XkbVariant" "lv3:ralt_switch"
        Option "XkbOptions" "eurosign:5"
EndSection
~ cat /etc/X11/xorg.conf.d/20-intel.conf   
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection
~ cat /etc/X11/xorg.conf.d/90-lirc-logitech-r400.conf 
Section "InputClass"
  Identifier "Ignore Logitech USB Receiver"
  MatchProduct "Logitech"
  MatchIsKeyboard "true"
  Option "Ignore" "true"
EndSection
~ cat /etc/X11/xorg.conf.d/99-calibration.conf       
Section "InputClass"
	Identifier	"calibration"
	MatchProduct	"Serial Wacom Tablet WACf004 stylus"
	Option	"MinX"	"24"
	Option	"MaxX"	"26226"
	Option	"MinY"	"-35"
	Option	"MaxY"	"16430"
EndSection

I launch Openbox via LXDM display manager which loads the following ~/.xprofile file:

#
# ~/.xprofile
#
# Executed by display manager at login
#

# Merging .Xresources
# https://wiki.archlinux.org/index.php/X_resources
xrdb -merge ~/.Xresources

# Loading ICC Profiles
# https://wiki.archlinux.org/index.php/ICC_Profiles#xcalib
# http://thinkpad-forum.de/threads/169279-Thinkpad-X200T-ICC-Farbprofil?p=1702491#post1702491
/usr/bin/xcalib -d :0 ~/.color/icc/X20x-Outdoor-400nit-6500k-2-2-145cd.icc &

# Redshift colour profile manager with settings for Utrecht (Netherlands)
# https://wiki.archlinux.org/index.php/Redshift
redshift -l 52.091790:5.114570 &

# Lock screen on suspend
# http://unix.stackexchange.com/questions/144591/how-to-properly-lock-desktop-when-hibernating
xss-lock -- /usr/bin/xtrlock &

# Openbox components
# Compositor
compton -bcC -o 0.3 &
stalonetray &
conky &
# Automount of USB
# https://wiki.archlinux.org/index.php/File_manager_functionality#Udiskie
udiskie -2 -s &
# Clipboard manager
copyq &

# Gnome
# Gnome Keyring
# https://wiki.archlinux.org/index.php/GNOME_Keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)

# Elementary OS
plank &

# Xfce components
xfce4-volumed-pulse &
#xfce4-power-manager & 

Last edited by orschiro (2014-10-25 07:45:45)

Offline

#4 2014-11-23 17:21:05

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Problems writing Euro sign under X [workaround]

Workaround by adding setxkbmap -model pc104 -layout us,de -variant , lv3:ralt_switch eurosign:5 to my ~/.xprofile startup file.

Offline

Board footer

Powered by FluxBB