
Laptop Control Center
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
The Laptop Control Center allows the user to quickly switch between a wireless and wired ethernet interface. It also displays the frequency of the processor from /proc/cpuinfo.
This will be rather boring unless you have cpufreq compiled into your kernel, and a daemon (like cpufreqd or cpudyn changing the frequency according to usage).
It also probes for remaining battery life from /proc/apm--so you MUST be using APM unless you want to adapt a script for ACPI.
The clock is a really basic clock that I adapted from somone else's clock (but the uptime is fairly handy to guage how long your batteries are actually lasting).
I unfortunately couldn't figure out how to display the estimated time that a battery will last, and if I could figure out how to make the pictures change--I would add an AC plug to show when the laptop is charging (if you have ideas, email me).
The scripts for configuring the ethernet interfaces are VERY primative--and they don't use dhclient--they have hard coded IP addresses. This is because dhclient cannot probe new eth interfaces after initially booting up.
Any questions, and you are welcome to email me: list A notthemessiah.net (replace A with @)
17 years ago
none
17 years ago
none
ming0
17 years ago
Report
burnsides
16 years ago
Report
phlogistonjohn
17 years ago
I like the visual style of your theme, I hope this helps a bit.
Report
gravis
17 years ago
Report
ming0
17 years ago
and if I can get that to work, then I might try getting it to probe for AC, and change the battery picture.
thanks for the idea :) (I don't need to know any python to do this right?)
Report