lid is present detection

2010-01-05 Thread Florian Lohoff
Hi, i am looking for a bug in which i am not anylonger possible to suspend by closing the lid. This is caused by gnome-power-manager not using hal but devkit-power. See debian bug #563776 Output is like this: f...@lifebook:~$ devkit-power -d Device: /org/freedesktop/DeviceKit/Power/devices/line_

Re: DeviceKit-power can-suspend property

2010-01-05 Thread Richard Hughes
2010/1/5 Krzysztof Kotlenga : >> 1) have a very small DeviceKit-power.conf file living in /etc? >> 2) have a udev property that people can write a rule for? >> 3) both? > > 4) Use PolicyKit? Yes, I thought of using "no" as the policykit action result to mean "don't even show in the menus" but this

Re: DeviceKit-power can-suspend property

2010-01-05 Thread Krzysztof Kotlenga
Richard Hughes wrote: > So, if I wanted to add a trivial override (to disable suspend) should > we: > > 1) have a very small DeviceKit-power.conf file living in /etc? > 2) have a udev property that people can write a rule for? > 3) both? 4) Use PolicyKit? -- A: Because it breaks the logical se