how to identify if my laptop is docked without dmidecode



Heya,

   Is there a way to identify if a laptop is docked without using
dmidecode, and with only hal or equivalent application which does not
need root access ?
 
Reason :
 
  To run a script at gnome login , which identifies if laptop is at home
or office , and set few settings and run few applications accordingly. 

PS : why not add a feature request to support home/office/... profile ?

-- 
Ritesh Khadgaray
LinuX N Stuff
Ph: +919822394463
Eat Right, Exercise, Die Anyway.

Attachment: smime.p7s
Description: S/MIME cryptographic signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]