While using termux when we have to use keys like control alt or up or down arrow we use Touch keyboard which comes in by default with termux app. But in that touch keyboard, we don't get arrow right and arrow left as well as other keys which we can see on a normal keyboard.
To access extra keys while using termux, a lot of uses, as well as YouTubers, install the hacker's keyboard. In my opinion, it is just a waste of storage and changing my Google keyboard with a new complicated keyboard just to use termux is too much effort for me.
If you want to use extra keys in termux you can use some commands provided by the official termux website but creating a properties file with the code provided by the termux is a little bit work. I have just combined multiple commands so now you can enable those keys just by pasting a single command.
To access extra keys while using termux, a lot of uses, as well as YouTubers, install the hacker's keyboard. In my opinion, it is just a waste of storage and changing my Google keyboard with a new complicated keyboard just to use termux is too much effort for me.
If you want to use extra keys in termux you can use some commands provided by the official termux website but creating a properties file with the code provided by the termux is a little bit work. I have just combined multiple commands so now you can enable those keys just by pasting a single command.
How to Enable All Arrow Keys in Termux:
By using the below command you will be able to access all the arrow keys in the termux touch.
Just copy and paste below command and open termux again and keys will appear on your keyboard.
mkdir $HOME/.termux/ ;echo "extra-keys = [['ESC','/','-','HOME','UP','END'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT']]" >> $HOME/.termux/termux.properties && termux-reload-settings && sleep 1 && logout
How to Enable PAGE UP AND PAGE DOWN + Arrow Keys in Termux:
The code is exactly the as above but i have added PGUP and PGDN to add the page up and Down keys
mkdir $HOME/.termux/ ;echo "extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]" >> $HOME/.termux/termux.properties && termux-reload-settings && sleep 1 &&logout
How to Enable Function Keys in Termux:
This command will only enable function keys by adding an extra row in the touch keyboard.
Copy and paste the below command.
mkdir $HOME/.termux/ ;echo "extra-keys = [['F1','F2','F3','F4','F5','F6','F12'],['ESC','TAB','CTRL','ALT','-','DOWN','UP']]" >> $HOME/.termux/termux.properties && termux-reload-settings && sleep 1 && logoutYou can change the F1 with F7 or any function key in the command to enable that key in termux.
How to Enable All Keys in Termux:
I don't think using this open is a great idea unless and until you are doing something which requires all of these keys together.
Copy and paste this command press Enter and done.
mkdir $HOME/.termux/ ;echo "extra-keys = [['F1','F2','F3','F4','F5','F6','F7'],['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]" >> $HOME/.termux/termux.properties && termux-reload-settings && sleep 1 && logout
19 Comments
There is an error it says file already exist
ReplyDeleteAnd it is doing anything beside just throwing error?
DeleteMine also given the same error but I do not know what to do to solve....
DeleteEverything is working now ty
ReplyDeleteWelcome👾
DeleteThanks a TON Bro....
ReplyDeleteKeep Going.
Welcome bro.👾✨
DeleteIts working thankzz bro
ReplyDeleteWelcome Bro 👾
DeleteThanks a lot for this trick,
ReplyDeleteI have love to use those keys
Enter your comment...mine isn't working at all
ReplyDeleteIn which format you post your code
ReplyDeleteon your Blog
Text
DeleteWom, thank you so much!
ReplyDelete💖
Deleteyou are amazing, top content, keep going
ReplyDeleteThanks Bro Keep supporting 🥰
Deletei can t add arrow keys in my termux i download it from fdroid plss help me bro😮💨
ReplyDeleteThanks a lot, first link that came up when googled " Termux left right arrow". Code was easy to copy/paste on mobile and worked like a charm.
ReplyDelete