You are not logged in.

#1 2012-11-04 09:45:21

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

[Solved] KEYMAP problem (or FONT ?)

Hello,

I've got a KEYMAP problem (or maybe FONT, I do not know...)
Hopefully one of you have a solution.

'cause I got some warning during statup about rc.conf variable that now should be managed by systemd with compatibiliyy mode, I have choosend to resinatll.
So that I have a fresh install with GRUB2 and full-systemd.
I have useed the last ISO from 1st of november.

So, my problem is, if I press the 'é' touch, I get :

in a TTY : '{'
from a TTY emulator (XFCE Terminal Emulator) : '?'

Here is my configuration :

[bastien@zoulou ~]$ cat /etc/vconsole.conf
KEYMAP=fr
FONT=
FONT_MAP=
[bastien@zoulou ~]$

[bastien@zoulou ~]$ localectl status
   System Locale: LANG=C
       VC Keymap: fr
      X11 Layout: fr
       X11 Model: pc105
     X11 Options: terminate:ctrl_alt_bksp
[bastien@zoulou ~]$

[bastien@zoulou ~]$ cat /etc/X11/xorg.conf.d/10-keyboard-layout.conf
Section "InputClass"
    Identifier         "Keyboard Layout"
    MatchIsKeyboard    "yes"
    MatchDevicePath    "/dev/input/event*"
    Option             "XkbLayout"  "fr"
    Option             "XkbVariant" "latin9" # acc?s aux caract?res sp?ciaux plus logique avec "Alt Gr" (ex : << >> avec "Alt Gr" w x)
EndSection
[bastien@zoulou ~]$

After I run this command, I get the confirmation message : "Loading /usr/share/kbd/keymap/i386/azerty/fr.map.gz"
But if I press 'é' in a TTY I still get '{'.

I would like to have the right keymap everything (including TTYs)
I guess there is a clean, centralized, nice solution by using systemd ?

Thanks you so much !

Last edited by PolePosition (2012-11-11 10:50:55)


Life is not linear.
-----------
Arch power !

Offline

#2 2012-11-05 15:00:57

unifiedlinux
Member
Registered: 2012-11-03
Posts: 20

Re: [Solved] KEYMAP problem (or FONT ?)

Hello, what happens if you do "setfont Lat2-Terminus16" in the terminal and then try to press "é" ? Does the problem happens in a terminal emulator or even on the native TTYs (accessible with Ctrl+Alt+F1, F2, etc...) ?

PS: Salut, tu es francais je suppose...

Offline

#3 2012-11-06 11:09:01

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [Solved] KEYMAP problem (or FONT ?)

Hello.

Try the next command in a terminal emulator (in X):

setxkbdmap fr

-------------------------------------------------------

Surely you haven't uncommented fr_FR.UTF-8 in /etc/locale.gen
Remember regenerate locale, if don't get 'é' could be because you have only ascii chars.

locale-gen

https://wiki.archlinux.org/index.php/Locale

Last edited by Alber (2012-11-06 11:19:12)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#4 2012-11-10 18:36:57

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [Solved] KEYMAP problem (or FONT ?)

Hello !

Thanks for your answers !

Have tried your suggestions, but still not perfect.

[bastien@zoulou ~]$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
[bastien@zoulou ~]$ setxkbmap fr
[bastien@zoulou ~]$ cat /etc/locale.gen | grep en_GB
en_GB.UTF-8 UTF-8 
#en_GB ISO-8859-1 
[bastien@zoulou ~]$ cat /etc/locale.gen | grep fr_FR
fr_FR.UTF-8 UTF-8 
#fr_FR ISO-8859-1 
#fr_FR@euro ISO-8859-15 
[bastien@zoulou ~]$ cat /etc/locale.conf
LC_ALL="en_GB.UTF-8"
LANG="en_GB.UTF-8"
export LANGUAGE="en_GB:en"
[bastien@zoulou bastien]$ su
Password:
[root@zoulou bastien]# locale-gen
Generating locales...
  en_GB.UTF-8... done
  fr_FR.UTF-8... done
Generation complete.
[root@zoulou bastien]#reboot

Almost all keyboard touches works fine, but some does not, for example 'é' and 'è'.
I would like to add that the results are exactly the same in TTY and X11.

What I woulid like is :

- use my french layout keyboard as a french layout keyboard (system-widely, I mean in both TTY and X11),
- keep the default language as english for applications, this is the case right now and it works fine

@unifiedlinux, to answer your question, yep I am french !

Hope you have an idea.

Regards,
Bastien


Life is not linear.
-----------
Arch power !

Offline

#5 2012-11-10 20:41:02

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [Solved] KEYMAP problem (or FONT ?)

Hello.

Open an emulator terminal and type

setxkbmap fr

This command changes your layout in X to french layout. But just until you log out your session. Try if it works. If it do, put it in your start session file.

For virtual console:
edit /etc/vconsole.conf and write down KEYMAP=cf or KEYMAP=fr-latin1
https://wiki.archlinux.org/index.php/KEYMAP

PS: I've tried but, I have no idea how is a french keyboard. It looks like in my "2" key print é.

Last edited by Alber (2012-11-10 21:03:34)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#6 2012-11-10 21:21:08

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [Solved] KEYMAP problem (or FONT ?)

Hi,

THANK U SO MUCH !!!!

Below is my vconsole.conf

[bastien@zoulou ~]$ cat /etc/vconsole.conf
KEYMAP=fr-latin1
FONT=
FONT_MAP=
[bastien@zoulou ~]$

It was KEYMAP=fr but according to the link you just gave me I have changed it to KEYMAP=fr-latin1.
Now it works, after a restart, in both TTY AND X11 !!

Merci beaucoup !


Life is not linear.
-----------
Arch power !

Offline

#7 2012-11-10 21:57:06

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [Solved] KEYMAP problem (or FONT ?)

You're welcome (En)
De nada, un placer (Es)
De rien, avec plaisir (Fr)

Remember to mark the thread as solved.

Last edited by Alber (2012-11-10 22:18:29)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#8 2012-11-11 07:20:45

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [Solved] KEYMAP problem (or FONT ?)

Hi,

Actually I had a look into "Newbie Corner" and also "Forum & Wiki discution" to know how to mark a thread as Solved but I have not found the way to go...
Also Google does not help.

Could you please tell me ?


Life is not linear.
-----------
Arch power !

Offline

#9 2012-11-11 10:38:30

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [Solved] KEYMAP problem (or FONT ?)

Don't worry.
Just go up the thread and edit the title adding "[Solved]", or like.
https://wiki.archlinux.org/index.php/Fo … ow_to_Post

Last edited by Alber (2012-11-11 10:45:24)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#10 2012-11-11 10:43:51

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [Solved] KEYMAP problem (or FONT ?)

[Solved] KEYMAP problem (or FONT ?)

I guess this is not the rigth way to go.
I cannot change the topic of the thread...


Life is not linear.
-----------
Arch power !

Offline

#11 2012-11-11 10:49:42

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: [Solved] KEYMAP problem (or FONT ?)

Sorry,
go to the first item of the thread, and press the "edit" link.
There, you'll see that you can edit the title.

Last edited by Alber (2012-11-11 10:50:39)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#12 2012-11-11 10:51:56

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [Solved] KEYMAP problem (or FONT ?)

I got it...
I am not used to forum which allow you to edit post more than a few minutes old.
This is why I didn't think of clicking edit of the first post.

Thanks again,
Bastien


Life is not linear.
-----------
Arch power !

Offline

Board footer

Powered by FluxBB