View Single Post
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#15
Originally Posted by laasonen View Post
There is something really strange about osso-systemui. Power button menu randomly stops working. I first thought it was just my shell script which was directly reading pwrbutton, but it's now happening with my python/dbus version Is it just me? Any suggestions?
Excuse me if I'm misunderstanding anything, but instead of watching to see if the power button is pressed and then calling the SystemUI D-Bus method that unlocks the device, why not just disable locking when a selected network is connected to and then re-enable it when the device disconnects?

You can turn off the autolock by changing the value of GConf key /system/osso/dsm/locks/devicelock_autolock_enabled

Last edited by jstokes; 2011-04-09 at 20:17.
 

The Following User Says Thank You to jstokes For This Useful Post: