htop in a terminal but I can't close it with F10. F10 seems to just open a program's File dialog. Is there a way to disable it so I can close
You always can have the interupt signal keys Ctrl+c.
Basically Ctrl+c sends the SIGINT (interrupt) signal, ; by default, this causes the process to terminate.
htop can be quit by pressing Q.
The SIGINT signal is sent to a process by its controlling terminal when a user wishes to interrupt the process. This is typically initiated by pressing Control-C, but on some systems, the "delete" character or "break" key can be used
All sorts of other options apart from q.
- Open another terminal and kill it from there.
- Kill it from the System Monitor task list.
- Close the terminal window.
These assume a desktop environment.
Also for servers...
- Ctrl-Alt-F1 (or F6/F7) and log in again to kill.
- Connect again (Telnet/SSH) and kill.
And finally - it is open source, patch it.
If you're interested in making F10 (and other shortucts) available in general to terminal applications and you're using XFCE terminal, go to Edit -> Preferences -> Advanced -> Shortcuts and check the appropriate boxes to disable the keys. I have them all checked so that Emacs (m-f) and htop (F10) will work.