Stop xkbcomp from spawning *.xkm file
Hello folks
I have a US layout laptop but i'm actually Portuguese so i need ABNT2 keyboard.
To fix some inconveniences i made a custom keyboard layout by grabbing the abnt2 default layout file from xkb directory and editing some keys. Let's say i saved it as dellxps13.xkb.
I apply it in my zshenv file with this command:
xkbcomp -I $HOME/.config/xkb/dellxps13.xkb $DISPLAY &>/dev/null
But i believe this is not the proper way. Everytime i SSH into this laptop a bunch of dellxps13.xkm files are being spawned everywhere i step into.
How to apply this custom layout properly without spawning this *.xkm file??
About this post
- Posted
- Archived
- Score
- 2 · 76% up
- Kind
- Text
- ID
- lqo7cd
6 comments
Rename one of those .xkm files to .Xkeymap and load that instead.
https://wiki.archlinux.org/index.php/X_keyboard_extension#Using_keymap
That actually worked but now it is spawning .xkb files instead of .xkm O.o
Huh, well I may have misread that wiki page, you may need to change the .xkb filename to something different, but if not, you say this happens in every directory you enter, or any one you ssh directory into? Because if it's reloading that bit every time you do a
cd, that's pretty weird behavior and points to it being more related to something else about your zshenv file.