You are not logged in.

#1 2022-07-16 13:23:38

BloodEaglePL
Member
Registered: 2022-07-16
Posts: 6

[SOLVED]Setting up a keyboard fails

Hello everyone,

That is the first time I set up Arch on bare metal and so far the experience was good, I chose GNOME environment.
Unfortunately I was unable to set up keyboard so the polish letters would work.

I followed arch wiki and so far I have used:
setxkbmap pl
localectl set-x11-keymap pl

I also tried editing manually /etc/X11/xorg.conf.d/00-keyboard.conf but the pl was already set up there.
I obviously tried rebooting as well.

[root@Arch ~]# localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: pl2
      X11 Layout: pl
 
[root@Arch ~]# cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "pl"
EndSection

Alt+a,c,e,l,n,o,s,z,x should give me a letters ą, ć, ę, ł, ń, ó, ś, ź, ż.
If it matters then I also have seen that loadkeys pl doesn't work either in the terminal application.
If I use other tty I get squares instead of letters.

Thanks

Last edited by BloodEaglePL (2022-07-18 11:39:43)

Offline

#2 2022-07-16 14:39:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,534

Re: [SOLVED]Setting up a keyboard fails

I chose GNOME environment.

https://help.gnome.org/users/gnome-help … ts.html.en

If it matters then I also have seen that loadkeys pl doesn't work either in the terminal application.

Expectable, loadkeys operates on the linux console, not GUI VTEs

If I use other tty I get squares instead of letters.

https://wiki.archlinux.org/title/Linux_console#Fonts
https://adeverteuil.github.io/linux-con … reenshots/ - you're probably looking for some https://adeverteuil.github.io/linux-con … at2-16psfu

Offline

#3 2022-07-16 14:57:22

BloodEaglePL
Member
Registered: 2022-07-16
Posts: 6

Re: [SOLVED]Setting up a keyboard fails

Thanks for the quick answer. I have visited the gnome link you have provided but unfortunately in the settings option the only option I have is the English option, I am unable to add Polish there

Offline

#4 2022-07-16 15:16:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,534

Re: [SOLVED]Setting up a keyboard fails

pacman -Qo /usr/share/X11/xkb/symbols/pl

Offline

#5 2022-07-16 22:16:31

BloodEaglePL
Member
Registered: 2022-07-16
Posts: 6

Re: [SOLVED]Setting up a keyboard fails

I assume that you were requesting the output of that command

[dominik@Arch ~]$ pacman -Qo /usr/share/X11/xkb/symbols/pl
/usr/share/X11/xkb/symbols/pl is owned by xkeyboard-config 2.36-2

Offline

#6 2022-07-17 05:44:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,534

Re: [SOLVED]Setting up a keyboard fails

the only option I have is the English option, I am unable to add Polish there

I don't use gnome but that sounds weird - and you've the xkb symbols installed.
To be sure, the "Add an input source" subdialog has only one entry?
https://www.ubuntubuzz.com/2016/06/swit … shell.html

Offline

#7 2022-07-18 00:33:36

BloodEaglePL
Member
Registered: 2022-07-16
Posts: 6

Re: [SOLVED]Setting up a keyboard fails

Problem has been found between my chair and my keyboard.
I feel really stupid right now but I was looking for that setting in the Gnome's setting called "Region & Language" instead of "Keyboard"
I have successfully set it up there.
Honestly I am a bit surprised that the terminal magic didn't do it for me and I still had to use the graphical settings map though

Offline

#8 2022-07-18 05:26:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,534

Re: [SOLVED]Setting up a keyboard fails

I'm pretty sure that your previous setups *did* indeed work … until gnome starts and then gnome ignores/steamrolls over all/most system settings and applies it's own stuff.
It is what it is roll

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#9 2022-07-18 11:35:52

BloodEaglePL
Member
Registered: 2022-07-16
Posts: 6

Re: [SOLVED]Setting up a keyboard fails

Thanks for your support, I appreciate it!
I am closing the thread

Offline

Board footer

Powered by FluxBB