maemo.org Bugzilla – Bug 8812
Add the possibility to use the camera button complete pressure as shortcut
Last modified: 2010-06-22 22:45:32 UTC
You need to log in before you can comment on or make changes to this bug.
SOFTWARE VERSION: 0.1.1-2 EXACT STEPS LEADING TO PROBLEM: 1. Enter your settings menu, then Shortcutd setting EXPECTED OUTCOME: you are able to modify which application is launched after a complete pressure of the camera button ACTUAL OUTCOME: you can't, and your camera button when completely pressed will only launch Camera app as default REPRODUCIBILITY: always
Complete press of camera button does not launch camera app. The camera app is always running, and it opens a window when the key is pressed (or takes a picture, if a window is already open. A way to achieve what you request is to kill the camera application, and only launch it on opening of the camera door.
(In reply to comment #1) > Complete press of camera button does not launch camera app. The camera app is > always running, and it opens a window when the key is pressed (or takes a > picture, if a window is already open. > > A way to achieve what you request is to kill the camera application, and only > launch it on opening of the camera door. > Didn't know that camera app is always running, I thought it was launched only with the opening of the camera lens cover. Ok then is that too difficult to achieve? Or can it be easily done? I mean, permanently disabling the always running camera app and make it opening only with camera lens for letting the camera button free for personal using.
I don't know how to prevent camera app launch on startup. It can be killed after startup with a command similar to dsme -k /usr/bin/camera-ui Then shortcutd needs to be modified to launch this app on camera door open and kill it on door close. There is one main problem with this - the camera-ui starts in the background, so after running it, shortcutd needs to simulate a door open or camera key press event. Instead of modifying shortcutd, this can also be done by an independent daemon, or by a script using dbus-scripts.
A valid request, but I consider the workaround for disabling the default action to be quite an ugly hack... Leaving open in case someone has additional ideas, but I'm currently thinking this as WONTFIX.
Agree with the WONTFIX, didn't know all those things about camera app. Thanks anyway.