Remap bluetooth keyboard keys?
-
I have a nice BT keyboard, everything works perfectly. I would like to remap the caps lock key to be another control key, as I use the control key often and the caps lock basically never.
On Android, this is the kcm and kl files. I see these directories on my phone, but they don't really seem to apply under Touch (it appears a generic HID interface is used instead?).
On X this would be the xmodmap command, but this isn't X, it's Mir, I think.
And if it was the console it'd be loadkeys. But this is Bluetooth, not console.
So has anybody discovered where Touch keeps its keyboard mapping files? TIA.
-
@vandys, maybe you can try something like this
http://www.fascinatingcaptain.com/howto/remap-keyboard-keys-for-ubuntu/
-
Some more discoveries...
A look at the keyboard options leads me to some setxkbmap files in /usr/share/X11/xkb. However, setxkbmap itself doesn't work (no X display). Yay.
There's an /etc/default/keyboard file, but putting ctrl:swapcaps in XKBOPTIONS has no effect. Yay again.
I guess next I'll try morphing one of the keyboard configs and see if it'll pull in my changes through the screen menu.
-
@vandys, you can try to play with
loadkeys,dumpkeysandshowkeysin the terminal.https://superuser.com/questions/290115/how-to-change-console-keymap-in-linux
I don't know for the graphic session though. Maybe there's some template somewhere but I didn't investigate it yet.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login