[kwlug disc.] One question.

Daniel Jolkowski catch.22 at bluebottle.com
Sat Jun 2 11:46:20 EDT 2007


I was wondering, how to run a command just before shutdown?  
I have a dell laptop running well, as long as you don't want to put it 
to sleep.  It's set up to run in a low power state when the ac adaptor 
is unplugged.  CPU slows down, video card slows down, backlight dims... 
this all works fine when unplugging and plugging things in or manually.  
However, when I boot without power plugged in X becomes unhappy, or 
actually, now that I consider it, the whole video display becomes 
unhappy.  No terminal etc.  This is something to do with the fancy video 
card as when I boot with no fancy video setup and into terminal only, 
everything is happy whatever the powerstate.  
So my question is, rather then try to correct all that, which seems like 
seventeen minor headaches, have the computer go into its normal power 
state before shutdown, and then check whether it is battery or not 
battery when it boots.  
But my only internet access is at work and its flakey and I am a good 
hour out of town so going to the library is difficult if I could get a 
solid internet slot ( tourists ).  Is there a man page for this?  I 
know how to get the computer to change powerstates and whatnot, I just 
don't know how to tell it when to do it.

Daniel...

PS Setting up dual boot with vista on this dell laptop was not nearly as 
difficult as I was led to believe.  As long as you discount the 
hibernate issues.

----------------------------------------------------------------------
Finally - A spam blocker that actually works.
http://www.bluebottle.com



More information about the KWLUG-Disc mailing list