gnome-power-manager icon policy rethink

René Oelke oelke at
Tue Sep 5 10:54:30 BST 2006

martin.bergner at schrieb:
> Hi,
> isn't it possible to detect if it's a laptop or not?

Yes, it is. The name of the tool is laptop-detect (package 
laptop-detect). Return value is 0 for a laptop and 1 for non-laptop 
computers. I don't know the details. I've found it in the 
postinst-script in the package gnome-panel-data_2.14.1-0ubuntu16_all.deb


René Oelke
Network & System Administrator

JPK Instruments AG
Bouchéstr. 12
12435 Berlin, Germany

Tel: +49 30 5331 12070
Fax: +49 30 5331 22555
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3608 bytes
Desc: S/MIME Cryptographic Signature
Url : 

More information about the ubuntu-desktop mailing list