LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Remap keys on Linux running on Android (https://www.linuxquestions.org/questions/linux-mobile-81/remap-keys-on-linux-running-on-android-4175693849/)

frrobert 04-17-2021 01:17 PM

Remap keys on Linux running on Android
 
As a one handed typist I remap the Escape key and Caps Lock

If I am in X11 I use

setxkbmap -option caps:swapescape

If I am in Virtual terminal on a PC I can use this method.

https://www.frrobert.net/log/ttykeys...04-02-0751.gmi

I am trying to remap the keys in Termux, UserLAnd, or Anlinux running on Android. I was hoping to use the Virtual Terminal method for the PC but if console-data will install if I try to run any of the console-data tools I get a Couldn't get a file descriptor referring to the console.

Any ideas?

Thanks


All times are GMT -5. The time now is 06:46 AM.