Can You Use a Mouse in htop on Linux?

The Linux htop command-line tool fully supports mouse interactions, allowing users to click on menus, select processes, and navigate the interface without relying solely on keyboard shortcuts. While traditionally run in a terminal environment where keyboard commands dominate, modern terminal emulators pass mouse click events directly to htop. This quick overview covers how mouse support works in htop, how to use it to manage processes, and what to do if your mouse clicks are not registering.

How Mouse Clicks Work in htop

When you launch htop in a compatible terminal emulator, it enables mouse tracking mode. This translates your physical mouse clicks into actions within the text-based user interface (TUI). You do not need to configure any special plugins or extensions; the functionality is built directly into the tool.

What You Can Click On

Almost every interactive element on the htop screen responds to a mouse click:

Troubleshooting Unresponsive Mouse Clicks

If you click on the htop interface and nothing happens, the issue is usually related to your terminal configuration rather than htop itself.