Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: German keymap: Euro sign (Read 1821 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

German keymap: Euro sign

Hi there,
I am Berni from Germany and new to ArtiX and to this Forum.
My yesterdays installation of ArtiX on an older Asus notebook went fine and everything seems to work properly - except one thing: The missing Euro sign on the keymap. Using x-org the keyboard is perfect, but using the console I don' t have the Euro. Instead the keyboard gives me an small quadrat.
I have installed the de-latin1 keymap and have already tried the modifications in the keymap file regarding the Euro.
Any hint is welcome, because I often use the console.
Thks & regards
Berni
The good old days may not return, and the rocks might smelt and the sea may burn.


Re: German keymap: Euro sign

Reply #2
Thanks @alium. I doublechecked /etc/vconsole.conf as well as locale.conf.
Locale.conf was OK, but the FONTS entry in vconsole.conf was missing and so I added "FONT=eurlatgr".
Unfortunately without success. AltGR-a still gives the little filled square.

The mistake seems to lay deeper.  :'(

Regards
Berni
The good old days may not return, and the rocks might smelt and the sea may burn.

Re: German keymap: Euro sign

Reply #3
Hi, Berni,

The problem can be with the font (if it just doesn't have an Euro symbol) or with the keymap. For the font, try to install terminus-font package and select something like
Code: [Select]
FONT=ter-v16b
in /etc/vconsole.conf. ter-v* fonts have plenty of Unicode symbols and I myself use it for Cyrillic.

What's for the keymap, I stumbled upon an option in OpenRC configuration file:

/etc/conf.d/keymaps
Code: [Select]
# The maps to load for extended keyboards.  Most users will leave this as is.
extended_keymaps=""
#extended_keymaps="backspace keypad euro2"

...

# Some fonts map AltGr-E to the currency symbol instead of the Euro.
# To fix this, set to "yes"
fix_euro="NO"

This affects initialization script in such way:

/etc/init.d/keymaps
Code: [Select]
loadkeys -q $wkeys $keymap $extended_keymaps

...

if yesno $fix_euro; then
ebegin "Fixing font for euro symbol"
# Fix some fonts displaying the Euro, #173528.
echo "altgr keycode 18 = U+20AC" | loadkeys -q -
eend $?
fi

Perhaps this will help.

Re: German keymap: Euro sign

Reply #4
Thanks @VictorBrand. Your posting looked so good and logically that I testet it immedietaly. But the result is the same as before: A bloody litle square.  >:(

Before ArtiX I run NetBSD on the Asus notebook and I'm sure that the console was able to display the € out of the box.

The good old days may not return, and the rocks might smelt and the sea may burn.

Re: German keymap: Euro sign

Reply #5
Well, I've just tested de-latin1 keymap with ter-v16b font in my OpenRC installation. I left fix_euro="NO" in /etc/conf.d/keymaps.

So, ter-v16b displays Euro sign out of the box.

In de-latin1 keymap, right Alt + e = Euro sign, right Alt + c = Eurocent sign. Everything works for me.

UPD. I've just tested this in my Runit installation, Euro sign works fine as mentioned above with this setup:

/etc/vconsole.conf
Code: [Select]
LOCALE="de_DE.UTF-8"
KEYMAP="de-latin1"
FONT="ter-v16b"
CONSOLEMAP=""

Re: German keymap: Euro sign

Reply #6
That's quite crazy! I still have only my squares when pressing AltCtrl-e, but AltCtrl-c offers the Euro-Cent.
Better I will give up and using X-org, where the world is in order.

Regards & ths for your kind help.
Berni
The good old days may not return, and the rocks might smelt and the sea may burn.


Re: German keymap: Euro sign

Reply #8
Quote from: VictorBrand
BTW it's not AltCtrl, but right Alt only (at least, in the console).

 :o   :o
Do you talk about German keyboards?
Typical German keyboards only have an Alt-key on the left side and an AltCtrl-key on the right side. I have here several keyboards, all with the layout just described.
The only keyboard with a left and a right Alt-key is my RaspBerry original keyboard.

With left-Alt-e or -c I don't get any output - nothing.
Possibly my problem is the German layout .....

The good old days may not return, and the rocks might smelt and the sea may burn.

Re: German keymap: Euro sign

Reply #9
:o   :o
Do you talk about German keyboards?
Typical German keyboards only have an Alt-key on the left side and an AltCtrl-key on the right side. I have here several keyboards, all with the layout just described.
The only keyboard with a left and a right Alt-key is my RaspBerry original keyboard.

With left-Alt-e or -c I don't get any output - nothing.
Possibly my problem is the German layout .....

Yeah, you are right, I've never seen a German keyboard, and the one I use is rather classic one. Currently I'm studying German (or to say so trying to recollect and improve my skills in the language), so I use German locale, but not German kbd layout.

The last idea: if everything works fine for you in *BSD, you could import kbd layout file from there (if it shares the same format with Linux) and use it instead of vanilla de-latin1.

I do this thing with several config files from different Linux distros, e.g. I use fontconfig files from Debian in Artix. BTW, I've never used *BSD too.

Re: German keymap: Euro sign

Reply #10
Hi,

Edit your /usr/share/X11/xkb/symbols/de and check the relative field, as below is for Greek and reboot after to test the changes



gr layout

Re: German keymap: Euro sign

Reply #11
Thank @linuxer , but under X11 everthing is OK and the keyboard works perfect.
It`s only a console problem.
The good old days may not return, and the rocks might smelt and the sea may burn.

Re: German keymap: Euro sign

Reply #12
Put here your /etc/vconsole.conf and /etc/locale.conf (relevant part) and output from "locale -a"

Re: German keymap: Euro sign

Reply #13
OK, here we are:
vconsole.conf
Code: [Select]
LOCALE="de_DE.UTF-8"
KEYMAP="de-latin1"
# FONT=eurlatgr
FONT="ter-v16b"
CONSOLEMAP=""

locale.conf
Code: [Select]
LANG=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8

Answer from locale -a:
[berni@k53u ~]$ locale -a
C
de_DE.utf8
en_US.utf8
POSIX
[berni@k53u ~]$
The good old days may not return, and the rocks might smelt and the sea may burn.

Re: German keymap: Euro sign

Reply #14
my settings  /etc/vconsole.conf:

Code: [Select]
FONT_MAP=8859-2_to_uni
FONT=lat2-16
KEYMAP=cz-qwertz

can you try  set your  /etc/vconsole.conf to:

Code: [Select]
FONT_MAP=8859-1_to_uni
FONT=lat1-16
KEYMAP=de-latin1

I think the problem is somewhere in your  inappropriate combination in vconsole.conf