Remap keys on Linux running on Android
by frrobert from LinuxQuestions.org on (#5GQFS)
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


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