Files
lcdproc/contrib/patches/README.lcdproc-cfgfile.diff
T

34 lines
1.0 KiB
Diff
Raw Normal View History

2006-02-28 20:19:39 +00:00
Here's a patch for lcdproc to add a config file, as promised, it applies
2006-03-11 17:30:07 +00:00
to the 20060R307 version from CVS.
2006-02-28 20:19:39 +00:00
It covers the basics and get's the infrastructure to add more, like on
the process size screen, we may want an option not to add up the sizes
of each of the procs, since in a shared mem app, the answer is
2006-03-11 17:30:07 +00:00
incorrectly largoe.
This patch just makes lcdproc client like the LCDd server for processing
config options;
moves command line argument processing to process_command_line()
add process_config_file()
creates a default lcdproc.conf file, w/ default location
/usr/local/etc/, same general format as LCDd.conf.
[LCDPROC]
#general lcdproc client settings port, server, etc.
[CPU]
#subsections for each screen for specific options
[BATT]
2006-02-28 20:19:39 +00:00
I realize in doing it that I'm not entirely clear on the purpose of "on
time" "off time" and "show invisible" in the sequence structure, so
they're now settable, but I could use some help putting more descriptive
helpful text in the lcdproc.conf file to describe them for folks.
thanks,
andrew