View Single Post
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#10
Originally Posted by figaro View Post
I think what's better is a python script that listen to proximityd dbus, and toggle the screen lock with proximity sensor

I've made one myself that behave similar to this (proximity close to lock the screen, and vice versa) so I can have the phone locked automatically when I close my flip case, but unfortunately for some reason a leather flip case covering a proximity sensor is not detected by proximityd (while my thumb works pretty well)
This is most likely due to magnetic interference from the flip case itself - the proxy sensor has known issues when in proximity ( ) to magnetic interference. Remove the magnet from the flip case and try agin - should work without issue.
__________________
---<|| Alt + F4 for GOD MODE ||>---
---<|| Deviant Art Linky Linky ||>---
 

The Following 3 Users Say Thank You to Switch_ For This Useful Post: