gnome-power-manager icon policy rethink

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


martin.bergner at online.de 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

roe

-- 
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 : https://lists.ubuntu.com/archives/ubuntu-desktop/attachments/20060905/47c071e0/attachment.bin 


More information about the ubuntu-desktop mailing list