Bug 8812 - Add the possibility to use the camera button complete pressure as shortcut
: Add the possibility to use the camera button complete pressure as shortcut
Status: CLOSED WONTFIX
Product: shortcutd
General
: unspecified
: All Maemo
: Low enhancement (vote)
: ---
Assigned To: arek.stopczynski
: general
:
:
:
:
  Show dependency tree
 
Reported: 2010-02-03 22:11 UTC by EC
Modified: 2010-06-22 22:45 UTC (History)
3 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description EC (reporter) 2010-02-03 22:11:05 UTC
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
Comment 1 Matan Ziv-Av 2010-02-03 23:56:22 UTC
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.
Comment 2 EC (reporter) 2010-02-04 00:10:51 UTC
(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.
Comment 3 Matan Ziv-Av 2010-02-04 00:29:24 UTC
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.
Comment 4 hqh 2010-02-17 22:36:31 UTC
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.
Comment 5 EC (reporter) 2010-02-17 22:44:09 UTC
Agree with the WONTFIX, didn't know all those things about camera app.
Thanks anyway.