You are not logged in.

#1 2016-11-06 19:09:05

Sofflock
Member
Registered: 2009-04-16
Posts: 24

[SOLVED] Keyboard configuration issues

Heya,

I am trying to make a keyboard shortcut to change my keyboard layout, I am following https://wiki.archlinux.org/index.php/Ke … rd_layouts
It works perfectly and I have it bound to ScrLK.
The problem is when I change to US keyboard, it sets to "dvorak" as per the command below.


localectl --no-convert set-x11-keymap se,us pc104 ,dvorak grp:sclk_toggle

I changed it to:

localectl --no-convert set-x11-keymap se,us pc104 ,qwerty grp:sclk_toggle

But running this command and the shortcut does not work at all.
What am I doing wrong?

Here is my 00-keyboard.conf

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "se,us"
        Option "XkbModel" "pc104"
        Option "XkbVariant" ",qwerty"
        Option "XkbOptions" "grp:sclk_toggle"
EndSection

Thanks alot!

Last edited by Sofflock (2016-11-12 13:12:33)

Offline

#2 2016-11-08 01:54:27

Sofflock
Member
Registered: 2009-04-16
Posts: 24

Re: [SOLVED] Keyboard configuration issues

Bump

Offline

#3 2016-11-08 01:58:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Keyboard configuration issues


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-11-08 12:28:30

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: [SOLVED] Keyboard configuration issues

There is no 'qwerty' variant AFAIK. You can use localectl to list available variants for a layout (check the wiki || manual).
Another alternative is simply removing the

Option "XkbVariant" ",qwerty"

line completely from 00-keyboard.conf

Offline

#5 2016-11-08 13:11:28

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

Re: [SOLVED] Keyboard configuration issues

No qwerty - try "intl", "alt-intl" or "altgr-intl" (depending on your actual keyboard)

Offline

#6 2016-11-12 13:12:12

Sofflock
Member
Registered: 2009-04-16
Posts: 24

Re: [SOLVED] Keyboard configuration issues

Thanks for all the answers guys, but I solved it very simply, kinda made me feel like an idiot.

used "setxkbmap se" and bound it to F11 keys in rc.xml.

Offline

Board footer

Powered by FluxBB