From ff6cddfd164b88627e704b9deae9a5b935d68e19 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sat, 3 May 2014 18:14:08 -0300 Subject: [PATCH] Document $HTOPRC. Closes #73. --- htop.1.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/htop.1.in b/htop.1.in index a0e2a261..5c8302ae 100644 --- a/htop.1.in +++ b/htop.1.in @@ -10,7 +10,8 @@ Htop is a free (GPL) ncurses-based process viewer for Linux. .LP It is similar to top, but allows you to scroll vertically and horizontally, so you can see all the processes running on the system, along with their full -command lines. +command lines, as well as viewing them as a process tree, selecting mutiple +processes and acting on them all at once. .LP Tasks related to processes (killing, renicing) can be done without entering their PIDs. @@ -321,6 +322,16 @@ OOM killer score. .B All other flags Currently unsupported (always displays '-'). +.SH "CONFIG FILE" +.LP +By default htop reads its configuration from the XDG-compliant path +~/.config/htop/htoprc -- the configuration file is overwritten by htop's +in-program Setup configuration, so it should not be hand-edited. +.LP +You may override the location of the configuration file using the $HTOPRC +environment variable (so you can have multiple configurations for different +machines that share the same home directory, for example). + .SH "SEE ALSO" proc(5), top(1), free(1), ps(1), uptime(1)