Every Damn Morning by xkcd
Today I ran into a cute tool for Linux called Conky. It's a highly configurable program that's able to show all sorts of variables of the computer and the Operating System. As you might know that Operating System is Ubuntu Intrepid Ibex in my case.
Here's a screenshot:
As you can see I placed in a corner of my Background. It blends completely into it.
The program itself is lean and takes less than 1Mb memory. The configuration is -as usual in Linux- done in a file and it uses the Bash language. I'm getting more and more into grips with that. I will start writing some basic scripts soon.
This is a portion of the script to show how that looks:
CPU:1 ${cpu cpu1}% ${cpubar cpu1}
CPU:2 ${cpu cpu2}% ${cpubar cpu2}
This shows two of the three bars for CPU usage. CPU:1 is text, ${cpu cpu1} throws a (percentage) number depicting CPU usage, the % is text again and ${cpubar cpu1} is the small bar displayed.
The variables are well described (even good software requires excellent documentation). Furthermore this is lovely stuff to play with so there are zillions of prefabricated scripts around like in Post your .conkyrc files w/ screenshots in the Ubuntu forums.
More information on Conky on their website: http://conky.sourceforge.net/.
'a webcomic about stick figures who do math, play with staple guns, mess around on the Internet, and have lots of sex. It's about three-fourths autobiographical.'
Randall Munroe, author of XKCD
Cartoon-Off: XKCD (must read for fans)
////// The main entry point for the application. /// [STAThread] static void Main() { Application.Run(new MyClockForm()); } private void MyClockForm_Load(object sender, System.EventArgs e) { // Set the interval time ( 1000 ms == 1 sec ) // after which the timer function is activated timer1.Interval = 1000 ; // Start the Timer timer1.Start(); // Enable the timer. The timer starts now timer1.Enabled = true ; }