You are not logged in.

#1 2022-03-24 21:46:25

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

[SOLVED] localectl too many arguments

Will someone please tell me what I have done wrong with this command:

localectl --no-convert set-x11-keymap us pc105+inet ,colemak grp:win_space_toggle shift:both_capslock caps:escape 

It's telling me "Too many arguments."

I assume it's because I need some separator between my three options:

grp:win_space_toggle shift:both_capslock caps:escape 

 
Would it break anything if I manually edit /etc/X11/xorg.conf.d like this?

 
# 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" "us"
        Option "XkbVariant" ",colemak"
        Option "XkbModel" "pc105+inet"
        Option "XkbOptions" "terminate:ctrl_alt_bksp"
        Option "XkbOptions" "caps:escape"
        Option "XkbOptions" "shift:both_capslock"
EndSection

I have read through the localectl manual, and I am coming up empty. I assume it's something super obvious that I am just not seeing. smile

Last edited by pasturegliding (2022-03-24 22:27:15)

Offline

#2 2022-03-24 22:08:49

mpan
Member
Registered: 2012-08-01
Posts: 1,615
Website

Re: [SOLVED] localectl too many arguments

IIRC⁽¹⁾ commas between options (with no spaces).
____
⁽¹⁾ And a quick search seems to confirm it.

Last edited by mpan (2022-03-24 22:09:32)

Offline

#3 2022-03-24 22:26:51

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

Re: [SOLVED] localectl too many arguments

mpan wrote:

IIRC⁽¹⁾ commas between options (with no spaces).
____
⁽¹⁾ And a quick search seems to confirm it.

Ahhhh I tried with commas with spaces. I should have known. Thanks, friend. That worked perfectly.

Offline

Board footer

Powered by FluxBB