Not so long ago, I swung at writing a parody of conky only for the console.
I had reasons for that, as well as a “pan-maw hour that” for cycling.
The minimally satisfying my particular needs result was achieved about which I actually wrote:
habrahabr.ru/post/148163The first solution had only one positive characteristic - it worked.
All other properties of the program made it unsuitable for persons other than me.
The very need for rutov rights should have scared away even those people who do not know the word “paranoia”.
However, as time went on, the range of tasks expanded and the "pan" again appeared a little more "natchennnya"
(Hm. I think we should translate this saying. Literally, it means that “A citizen had time and inspiration.” It is usually used as an excuse to waste time on something strange and ridiculous, but sometimes cool)
The following criteria for the public utility of the demon were set:
- Work without root privileges
- The ability to display any textual information, not just some specific values.
- Output of this information to all user terminals
')
With grief in half the task was almost completed.
Before the release is still far. There are a lot of nuances and stability and appearance.
However, I am guided by the fundamental principle: “release early, release often”.
I will be glad to any constructive criticism. Vrochem and emotionally painted read with pleasure. Just do not swear much :)
The sources can be obtained as follows: svn co
subversion.assembla.com/svn/conconkyAttention! If you run, then read this:
a) To run in daemon mode (the most adequate option in terms of glitches) use the -d parameter
b) When first started, the daemon will create a .conconky directory in the hamster with a configuration file
c) The format of the config is simple: variable-value, variable-value, etc., tilde, list of formatting lines (All through \ n).
Honestly, I find it difficult to describe him sanely. But the default config usually raises no questions.
UPDATE:
Screenshot :
s22.postimg.org/omzy4gb5t/conconky.pngScreenshot :
habrastorage.org/storage2/904/216/d57/904216d5774c1c52e3986b6144a6aaef.png*** stack smashing detected *** : Strange error. I have not manifested. I will be grateful if someone skips through gdb or just tells you what's the matter.