You are not logged in.
I changed my keyboard mapping recently followed archwiki. But
xkbcomp custom.xkb $DISPLAYin ~/.xinitrc, ~/.bashrc or ~/.pofile doesn't take effect at user login. So how to load the keymap automatically at user login or start up?
Last edited by wenbushi (2019-09-22 01:23:47)
Offline
Paste the .xinitrc with the invocation you are trying to implement.
Offline
Just one line follows the wiki:
test -f ~/.Xkeymap && xkbcomp ~/.Xkeymap $DISPLAYwhere ~/.Xkeymap is a symbolic link to my custom key mapping file.
I can load it manually from bash after login.
Last edited by wenbushi (2019-09-22 07:43:34)
Offline
Offline
Post the entire ~/.xinitrc, as Jason asked.
Sorry if I didn't make it clear.
The entire content of my ~/.xinitrc is that line.
$ cat ~/.xinitrc
test -f ~/.Xkeymap && xkbcomp ~/.Xkeymap $DISPLAYOffline
You're obviously not launching your DE/WM using startx as that file is garbage and won't do anything.
How do you log in to your graphical session?
Offline
You're obviously not launching your DE/WM using startx as that file is garbage and won't do anything.
How do you log in to your graphical session?
No. I'm using sddm to log into KDE and there is no speicial configurations as I remember. But there must be something wrong with the command above,
because I put it in many start up scripts like ~/.xprofile and ~/.xinitrc, and I'm sure the line was executed during login(I've tested it).
But I can load it manually without warnings or errors after that.
Last edited by wenbushi (2019-09-22 17:08:32)
Offline
Offline