You are not logged in.
Pages: 1
Hello! First time poster here and very new arch user so please tell me if I've made any big mistakes in making this post! I recently switched over to arch after having had enough of windows, and I've been enjoying myself so far. There's one issue that I have not been able to overcome yet though, and that is the fact that my arrow keys, home, insert, pg up, pg dn, etc are mapped incorrectly!
I am using a normal swedish keyboard, and this issue occurs both when using the swedish qwerty layout and the US colemak layout (I usually use swedish colemak and tried to set that up but am focusing on getting my arrow keys back first) this issue only appears when I'm in a desktop environment and disappears if I exit the the desktop environment. I've tried using multiple different DEs and it appeared in all of them. Any help would be greatly appreciated!!!
Offline
What "multiple different DEs"?
echo $XDG_SESSION_TYPE
setxkbmap -print -queryOffline
What "multiple different DEs"?
GNOME, KDE Plasma, Cutefish, Deepin
Currently running GNOME
echo $XDG_SESSION_TYPE
x11
setxkbmap -print -query
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+colemak-se+inet(pc105)" };
xkb_geometry { include "pc(pc105)" };
};
rules: xorg
model: pc105
layout: colemak-seYou can find colemak-se here: https://github.com/motform/colemak-se
Offline
Your keyboard looks like https://en.wikipedia.org/wiki/QWERTY#Swedish ?
Does
setxkbmap -layout se get you the expected arrow keys, home, insert, pg up, pg dn?
What are they "inccorectly mapped" to?
Offline
Yes that's what my keyboard looks like, no it doesn't get fixed by changing to swedish layout.
Arrow left is AltGraph, arrow right is "Unidentified", arrow up is Print Screen, arrow down is "OS", Insert is "Unidentified", Home is pause, pg up is /, pg dn is "Context Menu", delete is "Unidentified", End is super
Offline
This isn't the layout, the geometry is off.
1. what device is this (I assume a notebook with a less than complete keyboard?)
2. Fn lock?
Offline
I am on a notebook yes, but it has a numpad and all the normal keys, I am using an external keyboard though. You can find a picture of the keyboard here: https://www.kjell.com/globalassets/prod … 0&mode=pad
No difference is made if I turn on or off fn lock
Offline
1. is the notebook keyboard likewise affected?
2. is that a programmable keyboard and is there a parallel windows installation?
Offline
Yes the notebook keyboard is also affected, no it's not a programmable keyboard and no I do not run windows in parallel ![]()
Offline
What exact notebook model is this (and what does its keyboard look like)
I assume the problem is coming from there.
Also post the xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
This is the exact model I have: https://www.elgiganten.se/product/gamin … ing/387181
The images there are wrong though, here's an image i've taken: https://i.imgur.com/zVj8f8k.jpg
Here's a paste of the log file: https://pastebin.com/cFzRzCru
Offline
The Xtrfy M4 mouse registers as an additional keyboard… what happens if you unplug that?
Edit: otherwise, what set the model to pc105?
The devices are detected as pc104
Last edited by seth (2022-11-10 21:15:40)
Offline
No difference
Offline
Cross-talk:
otherwise, what set the model to pc105?
The devices are detected as pc104
Offline
I have no idea! I remember making a keyboard.conf file in /usr/share/X11/xorg.conf.d/ because it said to do that if you wanted the colemak-se layout permanently on the colemak-se github: https://github.com/motform/colemak-se#xkb could that have something to do with it?
Last edited by Brynte (2022-11-10 21:20:41)
Offline
I'd test to move that file away and restart X11 and monitor the impact.
Option "XkbSymbols" "pc+colemak-se+inet(evdev)"looks very suspicious.
Offline
Okay, so moving the file away has made the keys behave properly again, and running
setxkbmap -v colemak-se && xset r 66makes it work properly with colemak-se as well
How do I make this permanent now, so that I don't have to write
setxkbmap -v colemak-se && xset r 66every time I reboot?
Offline
Section "InputClass"
Identifier "Colemak Layout"
MatchIsKeyboard "on"
Option "XkbLayout" "colemak-se"
Option "AutoRepeat" "660 66" # 660 would be the delay - the AR rate however has no impact on the layout
EndSectionOffline
That sadly doesn't work, keyboard still doesn't switch to colemak until I write
setxkbmap -v colemak-se && xset r 66Offline
The layout might get overwritten by the desktop environment when is starts.
In that case you've to adjust the layout settings of the DE or use some autostart service to run setxkbmap w/ a delay.
Offline
Pages: 1