My Linux Page
Last updated: Mar 12, 2006
What is this? Where am I?
This is a mish-mash, hodge-podge, pseudo-random assortment of linux utilities I have created over the years. Yes, I've finally decided to give back to the community that has given me so much. Thank you Linus, RMS, and all the other friendly hackers out there!
The software and files on this web site come with no warranty, blah blah blah; use at your own risk, yadda yadda yadda; I will not be responsible if they totally ruin your computer and your data, etc. etc. etc...
Just let me download your stuff, ok?
Ok, you asked for it.
Linux on HP pavilion ze1115 laptop
This is a script that uses ACPI to monitor your battery and play a sound when your battery gets low. It needs 2.6 kernel with ACPI support. When the battery gets REALLY low, it can power off your machine (just put "/sbin/init 0" or "halt" in your powerbtn.sh file).
Have fun customizing it!
This script lets you easily view and change between CPU frequency governors with a 2.6 kernel.
Here are some examples of how to use this script:
Also included is a small program for changing the CPU speed.
- cpugov - View current governor
- cpugov powersave - Switch to powersave governor.
- cpugov userspace 500 - Switch to userspace governor at 500 MHz.
This is a dumb script to show the volume on the screen. If I really was smart, I would write my own program instead of just using xmessage.
This script helps me pick a wireless scheme automatically. Basically, I just leave my scheme on "auto" (cardctl scheme auto) and then when I stick in my wireless card it will automatically try all the schemes in the wireless_auto.opts file, and pick the "best" one (AP in range with highest link quality).
To use this script, just perform the following steps:
- Specify schemes in your /etc/pcmcia/wireless.opts file just as you normally would (here is an example of my wireless.opts file).
- Place the following files in your /etc/pcmcia/ folder: wireless_auto, wireless_auto.opts
- Update your /etc/pcmcia/wireless file to include the following line after the 'start') case:
[ "$SCHEME" = "auto" ] && . ./wireless_auto
Get/set the master volume with this simple command-line utility.
Build instructions: make vol
- vol - Get volume
- vol 80 - Set volume to 80%
- vol 40,60 - Set left volume to 40% and right volume to 60%
- vol +10 - Increase volume by 10%
- vol -20,+30 - Decrease left volume by 20 and increase right volume by 30
Here is a wminput config file for mplayer