OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: lardman on August 19, 2004, 07:20:07 am
-
Is it possible to receive power status change notifications?
I'd like to run xscreensaver, but only when on external power.
Cheers,
Si
-
Is it possible to receive power status change notifications?
I'd like to run xscreensaver, but only when on external power.
Cheers,
Si
Just grep the output of the 'apm' command periodically and take appopriate actions.