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

[Question] How can I disable Ctrl+w? #10349

Closed
emanuele6 opened this issue Feb 10, 2021 · 3 comments
Closed

[Question] How can I disable Ctrl+w? #10349

emanuele6 opened this issue Feb 10, 2021 · 3 comments
Labels

Comments

@emanuele6
Copy link

emanuele6 commented Feb 10, 2021

Is there a way to not make ctrl+w close telegram?
I am used to using ctrl+w to delete the previous word so I keep closing telegram by mistake...


EDIT: I'm using Telegram Desktop version 2.5.8 on a GNU/Linux system.

@AhyaH-YHWH
Copy link

https://github.com/telegramdesktop/tdesktop/wiki/Keyboard-Shortcuts
https://t.me/TelegramDesktopTalk/48951

Change Keyboard Shortcut, with editing text file "shortcuts-custom.json", on Telegram Installation path

for example on Windows, it can be find in tdata folder
image

@emanuele6
Copy link
Author

emanuele6 commented Feb 11, 2021

@AhyaH-YHWH It's ~/.local/share/TelegramDesktop/tdata/shortcuts-custom.json on GNU/Linux (or at least on Arch Linux).

I simply had to write this in that file:

[
    {
        "command": null,
        "keys": "ctrl+w"
    }
]

Thanks a lot!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants