Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to turn off Hardware Keyboard Shortcuts? #1825

Closed
MedievalSteel opened this issue Nov 19, 2020 · 7 comments
Closed

How to turn off Hardware Keyboard Shortcuts? #1825

MedievalSteel opened this issue Nov 19, 2020 · 7 comments

Comments

@MedievalSteel
Copy link

It conflicts with vanilla Emacs shortcut keys e.g. Ctrl + alt + n/p
There is no any customize config on this page
https://wiki.termux.com/wiki/Hardware_Keyboard

@MedievalSteel MedievalSteel changed the title How to turn off Hardware Keyboard Shortkey? How to turn off Hardware Keyboard Shortcuts? Nov 19, 2020
@danieldjewell
Copy link

Check out:

The settings go into a file called ~/.termux/termux.properties (where ~ is your home directory)

You should be able to change the settings. I would also highly recommend a keyboard other than the default one. I've been happy with: https://github.com/klausw/hackerskeyboard

@MedievalSteel
Copy link
Author

MedievalSteel commented Mar 12, 2021

Check out:

The settings go into a file called ~/.termux/termux.properties (where ~ is your home directory)

You should be able to change the settings. I would also highly recommend a keyboard other than the default one. I've been happy with: https://github.com/klausw/hackerskeyboard

No, I mean OTG or Bluetooth keyboard, not touch keyboard.
If you use vanilla Emacs, you should know what I mean.
https://wiki.termux.com/wiki/OTG
https://wiki.termux.com/wiki/Hardware_Keyboard

@apr3vau
Copy link

apr3vau commented Aug 2, 2021

I met this problem too. For some reason I must toggle on the enforce-char-based-input,and some hotkeys in Android such as 'C-x' or 'C-c' will not work. But it works well when I not enforce char-based.

agnostic-apollo added a commit to agnostic-apollo/termux-app that referenced this issue Aug 26, 2021
The user can add `disable-hardware-keyboard-shortcuts=true` entry to `termux.properties` file to disable hardware keyboard shortcuts. The default value is `false`. Running `termux-reload-settings` command will also update the behaviour instantaneously if changed. Note that for `ctrl+alt+p` to work, you need to unset `shortcut.rename-session = ctrl + n`. https://wiki.termux.com/wiki/Terminal_Settings

Closes termux#1825
@chuntaro
Copy link

Thanks!

@agnostic-apollo
Copy link
Member

Welcome!

@agnostic-apollo
Copy link
Member

There seems to be a typo in the commit message, it should say "for ctrl+alt+n to work"...

@xTpx
Copy link

xTpx commented Oct 17, 2021

Great work

@termux termux deleted a comment Dec 29, 2021
AdamMickiewich pushed a commit to VolyaTeam/dzida-app that referenced this issue Aug 8, 2022
The user can add `disable-hardware-keyboard-shortcuts=true` entry to `termux.properties` file to disable hardware keyboard shortcuts. The default value is `false`. Running `termux-reload-settings` command will also update the behaviour instantaneously if changed. Note that for `ctrl+alt+p` to work, you need to unset `shortcut.rename-session = ctrl + n`. https://wiki.termux.com/wiki/Terminal_Settings

Closes termux#1825
shrihankp pushed a commit to reisxd/termux-app that referenced this issue Oct 20, 2022
The user can add `disable-hardware-keyboard-shortcuts=true` entry to `termux.properties` file to disable hardware keyboard shortcuts. The default value is `false`. Running `termux-reload-settings` command will also update the behaviour instantaneously if changed. Note that for `ctrl+alt+p` to work, you need to unset `shortcut.rename-session = ctrl + n`. https://wiki.termux.com/wiki/Terminal_Settings

Closes termux#1825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants