You are not logged in.
This works fine and does not break Awesome's default close window keybind:
/etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,se"
Option "XkbModel" "pc105"
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:rctrl_toggle"
EndSection
This does:
/etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,se,dvorak"
Option "XkbModel" "pc105"
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:rctrl_toggle"
EndSection
I tried changing the "XkbModel" to "pc104" as well to see if that fixed the issue and it does not. I'm perplexed as to why this is breaking Awesome's default close window keybind which is MOD4+Shift+C. Anyone have any thoughts on the problem? I just want to be able to switch between us, se, and dvorak keymaps.
-Dragos240
Last edited by dragos240 (2017-04-14 11:35:24)
Offline
Hi there dragos240
dvorak is not a keyboard layout but a variant. Here is my /etc/X11/xorg.conf.d/00-keyboard.conf:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "no,us"
Option "XkbModel" "pc105"
Option "XkbVariant" ",qwerty"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
I use qwerty while you want to use dvorak.
Edit: I don't know the toggle part between qwerty and dvorak though. I only use the qwerty variant.
Last edited by olegabrielz (2017-04-13 20:41:14)
Be aware of my Newbie Powers
Offline
Hi there dragos240
dvorak is not a keyboard layout but a variant. Here is my /etc/X11/xorg.conf.d/00-keyboard.conf:
Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "no,us" Option "XkbModel" "pc105" Option "XkbVariant" ",qwerty" Option "XkbOptions" "grp:alt_shift_toggle" EndSection
I use qwerty while you want to use dvorak.
Edit: I don't know the toggle part between qwerty and dvorak though. I only use the qwerty variant.
Hmm... when I set dvorak as a keyboard layout, it worked and did what I wanted it to do but the problem I described existed.
With your fix I did this:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,se"
Option "XkbModel" "pc105"
Option "XkbVariant" "dvorak,"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
So I made the us keymap dvorak which worked, and the se keyboard qwerty. That worked, but the same problem that I described in the first post existed and additionally I could no longer quit Awesome with the normal quit keybind. I had to use "killall awesome" to exit to lightdm.
-Dragos240
Offline
Then someone with more skills would probably step up and take a look at this. I just noticed the small error in your /etc/X11/xorg.conf.d/00-keyboard.conf
The comma before the variant is not a typo:
Option "XkbVariant" ",dvorak"
Be aware of my Newbie Powers
Offline
Then someone with more skills would probably step up and take a look at this. I just noticed the small error in your /etc/X11/xorg.conf.d/00-keyboard.conf
The comma before the variant is not a typo:
The wiki wrote:Option "XkbVariant" ",dvorak"
Actually that was intentional. I didn't want to type swedish with dvorak. That's why I put the comma afterwards.
Offline
Actually that was intentional. I didn't want to type swedish with dvorak. That's why I put the comma afterwards.
Aha. Thanks for teaching me a lesson too.
Be aware of my Newbie Powers
Offline
No problem.
So I've fixed my problem by using xbindkeys to set the keymap to dvorak using Alt_R and back using Shift_R. It's a bit of a kludge, but it does work.
Offline