How to get Extra Keys in Termux
While using termux, we often come accross the keys which are built in within the termux and these keys are helpful in moving the cursor, closing the session in termux, entering the functional commands etc.
These keys are very helpful but sometimes
we need more keys to perform in termux like Termux provides only up and
down keys for the commands in the termux and these keys dont much have
fuctionality other than that but what if there was a way to unlock extra
keys in termux without installing any file or package in termux but using
only a single command.
Yes you can do it, and it is officially available in termux website that
you actually unlock the keys by using a single command.
And in this post, I will guide you through the steps to unlock not
one but many varities of keys in termux.
ã…¤
Requirements:
- Termux. (Click here to download)
Method:
Enabling all arrow Keys.
- All arrow keys in the termux helpful in navigating the cursor or writing the code in termux.
- Type the following command to enable arrow keys in termux.
- Command:
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
This command will enable the arrows for the termux.
ã…¤
Enabling Page Up and Page down with arrow Keys.
- The following command will enable the page up and page down keys in termux
- Command:
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
ã…¤
Enabling Functions Keys.
- The following command will enable function keys, it will add extra row functions containing 7 function keys.
- 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 && logout
ã…¤
Enabling all keys in the Termux.
- The following command will enable all the keys in termux.
- You should use these all keys commands, you want it necessarily, otherwise it will clutter your termux view so keep that it note.
- Command:
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
ã…¤
Conclusion:
It is easier to add extra keys in termux, which are very useful for
navigating without installing extra keyboard applications and take up
valueable space.If you like this post, you will be interested in knowing
the qemu feattures in termux and how to install it and fix the problems
in qemu termux from
here
Post a Comment