I am loving LXTask, however while comparing it to other task mangers (specifically gnome-system-monitor) I found one thing lxtask is missing, that would improve it a lot.
I propose having another tab in lxtask (ie a notebook with two tabs in GTK speak) with a title like 'system summary', where lxtask would show you various information about your pc & system.
I have spent a little time on how you would capture these variables, and I found found using the files in /proc and then using GNU sed to filter out the specified info, is the best way, here are a few variables that i have found so far which I feel would be good for this new tab
Total Installed RAM :
cat /proc/meminfo | sed 1q | sed 's/ //g' | sed 's/MemTotal://g' | sed 's/kB//g'
CPU Name & Speed:
cat /proc/cpuinfo | sed -n '/model name/p' | sed 's/model name\t: //g'
echo `uname -r`
cat /etc/*-release | sed -n '/DISTRIB_RELEASE/p' | sed 's/DISTRIB_RELEASE=//g'
cat /etc/*-release | sed 2q | sed 's/DISTRIB_ID=//g'
By capturing these variables like this, you could then present them in a way shown by the mockup image attached. (However with the memory reading, one note, you would have to find how many digits the memory had, and then decide what to display it in [kb, mb, gb] and then round appropriately)
Any thoughts? I really think this would be a good, not performance impacting enhancement for LXTask.
Log in to post a comment.