How to Enter the Setup Menu in htop?

The htop command-line tool is a popular, interactive process viewer for Linux that allows users to monitor system resources in real time. To customize its display, configure meters, and change color schemes, you need to access its built-in setup menu. This article provides a quick guide on how to open the setup interface using keyboard shortcuts, navigate its various configuration sections, and save your changes to optimize your system monitoring experience.

Opening the Setup Menu

To enter the setup menu in htop, you must first have the utility running in your terminal. Once htop is active and displaying your system’s processes, you can access the configuration screen using either of the following methods:

Once inside the setup menu, the screen splits into two main sections: Setup options on the left and the corresponding Makers/Content options on the right. You can navigate through these settings using standard keyboard controls:

Available Configuration Sections

The setup menu is organized into four primary categories that allow you to customize how htop behaves and looks:

Saving Changes and Exiting

After customizing your htop interface, you can save your preferences and return to the main process monitoring view by pressing the F10 key or the Esc key. htop automatically writes these settings to a configuration file in your home directory (typically located at ~/.config/htop/htophrc), ensuring that your personalized layout remains intact the next time you launch the tool.