I have a transparent pocket in a handlebar pack. I can operate the N900 fine when it's in the pocket, but the problem is that when someone calls, the proximity sensor doesn't see through the plastic and won't activate the screen. Is there a way to disable the "pocket protection"? Also normally I have the "lock automatically" setting on, so that a blank screen cannot be activated via touch. I can change this from the settings, but I'd prefer to do it from my desktop. Is there a way to change settings from command line or via dbus, so I could make a small app for that (combined with a solution to the first problem)?
cat /sys/devices/platform/gpio-switch/proximity/state