You are not logged in.

#1 2020-12-03 00:01:34

sandman420420
Member
Registered: 2020-12-02
Posts: 4

can not permantly set layout to dvorak even after following the guide

hello, i have not been able to make my keyboard layout dvoark even after following the official guide.
i followed this
ersistent configuration

A persistent keymap can be set in /etc/vconsole.conf, which is read by systemd on start-up. The KEYMAP variable is used for specifying the keymap. If the variable is empty or not set, the us keymap is used as default value. See vconsole.conf(5) for all options. For example:

/etc/vconsole.conf

KEYMAP=uk
...

For convenience, localectl may be used to set console keymap. It will change the KEYMAP variable in /etc/vconsole.conf and also set the keymap for current session:

$ localectl set-keymap --no-convert keymap

The --no-convert option can be used to prevent localectl from automatically changing the Xorg keymap to the nearest match. See localectl(1) for more information.

If required, the keymap from /etc/vconsole.conf can be loaded during early userspace by the keymap mkinitcpio hook.
Tip: If you saved your custom keymap somewhere else than /usr/share/kbd/keymaps/, it must be specified by a full path to the file in vconsole.conf or when using the localectl command above.


my /etc/vconsole.conf shows

KEYMAP=dvorak

FONT=ter-114n

when i save with vim doing :wq it does say this file is read only but it does save for the next time i go into it. could this be the problem.

my setxkbmap -query shows layout: kr for some reason

is there any solution to this the only way i have gotten into dvorak is with setxkbmap dvorak

thank you for any help!

Offline

#2 2020-12-03 00:07:00

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: can not permantly set layout to dvorak even after following the guide

Is the issue limited to X or is the console keyboard map also wrong?

Offline

#3 2020-12-03 00:15:22

sandman420420
Member
Registered: 2020-12-02
Posts: 4

Re: can not permantly set layout to dvorak even after following the guide

loqs wrote:

Is the issue limited to X or is the console keyboard map also wrong?

both the console and x are wrong

Offline

#4 2020-12-03 00:27:12

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: can not permantly set layout to dvorak even after following the guide

Is the console keymap set correctly after executing

loadkeys dvorak

Offline

#5 2020-12-03 00:38:00

sandman420420
Member
Registered: 2020-12-02
Posts: 4

Re: can not permantly set layout to dvorak even after following the guide

loqs wrote:

Is the console keymap set correctly after executing

loadkeys dvorak

this gets back

could not get a file descriptor referring to the console.

Offline

#6 2020-12-03 00:43:28

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: can not permantly set layout to dvorak even after following the guide

Execute the command as root.

Offline

#7 2020-12-03 00:45:45

sandman420420
Member
Registered: 2020-12-02
Posts: 4

Re: can not permantly set layout to dvorak even after following the guide

loqs wrote:

Execute the command as root.

i did it as root and it went through but my layout is still qwerty after doing it

Offline

#8 2020-12-03 07:52:44

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

Re: can not permantly set layout to dvorak even after following the guide

/etc/vconsole.conf should™ be 644/root:root but even if it's 444, the root can still edit it - you just get a notification, but that's irrelevant.

But we maybe need clarify terminology and relations to determine the relevant condition.

The behavior and settings differ for the console (the DOS-like text shell that is NOT a terminal emulator in a graphical environment) and the display servers. For the latter it matters whether you're using X11 or wayland.
Output of

loginctl session-status

?

/etc/vconsole.conf only affects and loadkeys only works in the console (the non-graphical enviroment) and setxkbmap will only affect X11 - wayland is a mess and you'll have to configure the layout on the particular compositor (eg. gnome's mutter)
"could not get a file descriptor referring to the console" suggests that you're not actually using the console here, but a text shell in a terminal emulator in a graphical environment.

Offline

Board footer

Powered by FluxBB