You are not logged in.

#1 2016-05-17 15:41:43

Nomid
Member
From: Napoli, Italy
Registered: 2016-05-17
Posts: 5

Keyboard does not work as expected

Hello, I recently installed Arch Linux on my USB stick.

I set my locale to KEYMAP=it_IT.UTF8 as I have an italian keyboard.

1) I expect the console to print "{" when I type SHIFT+AltGr+è, but it displays "è".
2) Sometimes the console complains about a "square" character I didn't type (the bash says something like "The command 'someco\033mmand' does not exist".

These happen in the ttys since I didn't install any DM.

The only packages I installed were the wifi driver, grub, vim, mc (midnight commander), git, gcc and gtk3 (plus some other required for the packages to work, rfkill and some others I needed to make the wifi work - even if I have to rfkill unblock always).

How can I solve this problem?

Last edited by Nomid (2016-05-17 15:43:34)


I'm a web, mobile and desktop programmer, as well as a comics artist and music composer (I'm 19 years old, what did you expect...?).

Offline

#2 2016-05-17 20:52:56

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: Keyboard does not work as expected

Nomid wrote:

Hello, I recently installed Arch Linux on my USB stick.

I set my locale to KEYMAP=it_IT.UTF8 as I have an italian keyboard.

1) I expect the console to print "{" when I type SHIFT+AltGr+è, but it displays "è".
2) Sometimes the console complains about a "square" character I didn't type (the bash says something like "The command 'someco\033mmand' does not exist".

These happen in the ttys since I didn't install any DM.

The only packages I installed were the wifi driver, grub, vim, mc (midnight commander), git, gcc and gtk3 (plus some other required for the packages to work, rfkill and some others I needed to make the wifi work - even if I have to rfkill unblock always).

How can I solve this problem?

A quick forum search shows this thread, I hope it helps you.

https://bbs.archlinux.org/viewtopic.php?id=196336

There may be other similar keyboard posts which may help.

tex

Offline

#3 2016-05-17 21:03:38

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Keyboard does not work as expected

Nomid wrote:

I set my locale to KEYMAP=it_IT.UTF8

Please explain exactly how you did this, including any commands that you used.

Nomid wrote:

the bash says something like

Please post the exact error message rather than vague descriptions of error messages.

See https://bbs.archlinux.org/viewtopic.php?id=57855

EDIT: Please also post the output of:

localectl

Last edited by Head_on_a_Stick (2016-05-17 21:08:02)

Offline

#4 2016-05-18 12:32:53

Nomid
Member
From: Napoli, Italy
Registered: 2016-05-17
Posts: 5

Re: Keyboard does not work as expected

Texbrew wrote:

A quick forum search shows this thread, I hope it helps you.

https://bbs.archlinux.org/viewtopic.php?id=196336

There may be other similar keyboard posts which may help.

tex

It is related to XFCE, I don't have any desktop installed on my arch system.

Head_on_a_Stick wrote:

Please explain exactly how you did this, including any commands that you used.

I followed a guide which said I had to edit the /etc/vconsole.conf, so this is the contents:

KEYMAP=it

I edited it with nano, saved and then rebooted.

Head_on_a_Stick wrote:

Please post the exact error message rather than vague descriptions of error messages.

It doesn't always happen, during this session didn't.

Head_on_a_Stick wrote:

Please also post the output of localectl

   System Locale: LANG=it_IT.UTF-8
       VC Keymap: it
      X11 Layout: n/a

Last edited by Nomid (2016-05-18 12:35:59)


I'm a web, mobile and desktop programmer, as well as a comics artist and music composer (I'm 19 years old, what did you expect...?).

Offline

#5 2016-05-18 16:33:01

Texbrew
Member
From: The Lone Star State
Registered: 2016-02-09
Posts: 580

Re: Keyboard does not work as expected

Head_on_a_Stick wrote:
Nomid wrote:

I set my locale to KEYMAP=it_IT.UTF8

Please explain exactly how you did this, including any commands that you used.

See https://bbs.archlinux.org/viewtopic.php?id=57855

The forum post you pointed to had something for me, as well, Head_on_a_Stick:

Responding
When someone posts something like the above, don't respond with a blind guess. Usually it'll just confuse the situation, instead just politely request more details. Don't post some solution that worked for you for something vaguely similar 2 years ago unless you are confident it is the same issue.

In my eagerness to help, I cited a post which "seemed to fit" Nomid's situation. Your approach was the proper response.

Cheers!

tex

Offline

#6 2016-05-18 20:54:22

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Keyboard does not work as expected

Nomid wrote:
Head_on_a_Stick wrote:

Please explain exactly how you did this, including any commands that you used.

I followed a guide which said I had to edit the /etc/vconsole.conf, so this is the contents:

KEYMAP=it

I edited it with nano, saved and then rebooted.

That just sets the keymap for the TTY, to set your locale properly see https://wiki.archlinux.org/index.php/Beginners'_guide#Locale

Offline

#7 2016-05-20 15:51:21

Nomid
Member
From: Napoli, Italy
Registered: 2016-05-17
Posts: 5

Re: Keyboard does not work as expected

Head_on_a_Stick wrote:

That just sets the keymap for the TTY, to set your locale properly see https://wiki.archlinux.org/index.php/Beginners'_guide#Locale

I tried the guide yesterday, but still no luck.

Anyway, I don't have any desktop installed, so my Arch has just the console.


I'm a web, mobile and desktop programmer, as well as a comics artist and music composer (I'm 19 years old, what did you expect...?).

Offline

#8 2016-05-21 21:25:24

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Keyboard does not work as expected

Sorry, my link didn't work hmm

Here is the correct link:
https://wiki.archlinux.org/index.php/Be … ide#Locale

You need to set your locale correctly.

Rather than simply saying "I tried that" you need to show us exactly what you tried -- which commands did you run, which files did you edit, etc

Offline

Board footer

Powered by FluxBB