On Wed, Oct 05, 2005 at 08:33:47PM +0200, Daniele V. wrote: > Nessuno mi sa aiutare? Sulla mia ubuntu posso utilizzare lo script /usr/bin/on_ac_power per sapere se il portatile sta lavorando collegato alla rete elettrica o meno. Utilizzando questo basta che aggiungi una semplice riga in testa agli script che fanno avviare rispettivamente kdm o fluxbox: if [ /usr/bin/on_ac_power ] ; then echo "on ac power. Not starting!" exit 0 fi if [ /usr/bin/on_ac_power ] ; then echo "on battery. Not starting!" exit 0 fi Ciao -- Daniele Physics is like sex. Sure, it may give some practical results, but that's not why we do it. -- Richard P. Feynman -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx