View Single Post
Temporal's Avatar
Posts: 323 | Thanked: 189 times | Joined on Oct 2010 @ Brazil
#5
Akira, this is what I got so far (this will let you use the camera - and flashlight if you use it):
Code:
sudo hal-set-property --udi /org/freedesktop/hal/devices/platform_cam_shutter --key button_state_value --bool false
Unfortunately this will make the camera button unusable to shortcutd, so you'll have to use

Code:
sudo hal-set-property --udi /org/freedesktop/hal/devices/platform_cam_shutter --key button_state_value --bool true
to restore functions.

There's more details on my thread. I believe the easier way is to fake a dbus signal.
__________________
Love and Goodness are not a property. Are not a franchising. They are present in each one of us, and must be cultivated with KNOWLEDGE.