maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [feedback request]shortcutd (https://talk.maemo.org/showthread.php?t=39160)

Helmuth 2010-01-26 22:38

Re: [feedback request]shortcutd
 
Okay, just another strage Idea. I've post it originally here: Use camera for control rather than touch screen

Quote:

Originally Posted by Helmuth (Post 491691)
Hmm... mostly useless... okay... except, we could use it for fast scrolling in the webbrowser. (up and down)

Activate the "Sensor" with press and hold the camera button (only focus) and swipe over the camera up or down with your finger. It should be very easy to recognise such a gestue. :)

When you start the Mirror application from Maemo Extras, you can test it yourself. When you swipe with your finger over the whole camera the direction of the dark shadow could be very easy to recognize. Perhaps, when hopbeat and hqh have everything the could imaginate integrated and needs a new challenge they could try to integrate something like this! :D (but please, start with #16 before when you've got too much spare time) ;)

hopbeat 2010-01-26 22:45

Re: [feedback request]shortcutd
 
@sorodoros, yes, we need a website with instructions for the app, should be up soon.
Can you check which particular option(s) gives this effect?

@Helmuth, I already though about this. Actually we could use both proximity sensor and camera to detect the swiping movement more accurately. There was also a PhD I read about, where the main camera (S60 platform it was I think) was used to recognize various gestures done with your index finger (moving the finger to the sides, to and from the camera etc.). I will post the link to the paper if I find it.

sorodoros 2010-01-26 22:51

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by hopbeat (Post 496397)
@sorodoros, yes, we need a website with instructions for the app, should be up soon.
Can you check which particular option(s) gives this effect?

Instructions would be very helpful. Thanks.

The configurations that cause the effect for me are "backspace (browser:back)" in browser, and "menu" invoking, both enabled together.

DaSilva 2010-01-27 08:01

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by DaSilva (Post 493308)
Would it be possible to detect if the browser is used and only use the proximity then? Because currently I have enabled the "back in browser" feature for proximity sensor but I find it annoying to have the vibration every else (when it cannot be used).

Also an option to turn off the vibration would be nice.

Any answer to this?

hopbeat 2010-01-27 08:14

Re: [feedback request]shortcutd
 
@DaSilva, sorry, missed your post :)

Detecting which application is currently running or better brought to front is the current main 'research task' :)
About vibration, we have added this feature, it will appear in the next release (or you can build it from svn).

hqh 2010-01-28 15:18

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by Helmuth (Post 496372)
Use camera for control rather than touch screen

I think that the main problem with that would be battery usage.

Quote:

Originally Posted by Matan (Post 495516)
Actually it is very easy to override behaviour of this key. All it taked is one command:
Code:

hal-device -r platform_cam_launch
...

After this, the cam_launch button is announced on D-Bus, but with a name that does not cause the camera application to start.

This causes the camera to not work at all. To make it usable, the hal device would have to be automatically removed/re-added and I'm not sure if its worth the possible trouble. I want to keep things as simple and reliable as possible :)

Helmuth 2010-01-28 15:34

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by hqh (Post 499513)
I think that the main problem with that would be battery usage.

Exactly. This is the reason why I have suggested to only grab the front-camera by pressing and holding the camera button down. :)

But, I think the only really useful thing could be to scroll fast to the top or the bottom on a webpage. Everything else is to complicated...

sorodoros 2010-01-28 16:14

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by Helmuth (Post 499541)
...I think the only really useful thing could be to scroll fast to the top or the bottom on a webpage. Everything else is to complicated...

"... scroll fast to the top or the bottom on a webpage." I vote for for that idea!

Matan 2010-01-28 16:23

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by hqh (Post 499513)
This causes the camera to not work at all. To make it usable, the hal device would have to be automatically removed/re-added and I'm not sure if its worth the possible trouble. I want to keep things as simple and reliable as possible :)

Yes, it prevents using the key for taking a picture.

Another option is to simply kill camera-ui (with dsme -k /usr/bin/camera-ui) on staartup and camer cover close, and start it on cover open.

Lacedaemon 2010-01-28 19:06

Re: [feedback request]shortcutd
 
Great application. Sorry if this has been posted before but is it possible to tap the sensor in order to trigger the shortcuts instead of just waving my hand above it? I accidently trigger it sometimes the way it works now.

hopbeat 2010-01-28 19:17

Re: [feedback request]shortcutd
 
@Lacedaemon, unluckily, proximity sensor is binary and we cannot control the distance it operates. So we are stuck with those accidental triggers.

MartinNZ 2010-01-28 22:26

Re: [feedback request]shortcutd
 
Hiya,

one request - can you please make Shortcutd control the action of the Power button? There's a program called tweakr that can control it (to a certain degree)... it would be cool if this was added to Shortcutd....

Cheers

jerryfreak 2010-01-29 05:28

Re: [feedback request]shortcutd
 
i didnt read the thread but wouldnt be surprised if this is a common complaint:

i would like to have the app be configurable so i can use the shortcut on the camkey button only, the proximity sensor is constantly getting accidentally triggered and theres no way to disable it

hellnick 2010-01-29 06:19

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by jerryfreak (Post 500429)
i didnt read the thread but wouldnt be surprised if this is a common complaint:

i would like to have the app be configurable so i can use the shortcut on the camkey button only, the proximity sensor is constantly getting accidentally triggered and theres no way to disable it

It appears that you also didn't bother to read the application description before you installed it.

hopbeat 2010-01-29 07:15

Re: [feedback request]shortcutd
 
@jerryfreak, the application is fully configurable in the settings.

hopbeat 2010-02-03 10:41

Re: [feedback request]shortcutd
 
Shortcutd 0.1.1-2 is now in extras-testing, the main changes are the configuration options allowing better personalization.
Please help us to test it :)

pillar 2010-02-03 12:55

Re: [feedback request]shortcutd
 
The extra configuration options are welcome and very nice. I just noticed that my battery is almost dead really fast and looked what might be causing it and shortcutd was using 99.4% cpu continually! I rebooted and it seems fine now.

hqh 2010-02-03 13:00

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by pillar (Post 508503)
The extra configuration options are welcome and very nice. I just noticed that my battery is almost dead really fast and looked what might be causing it and shortcutd was using 99.4% cpu continually! I rebooted and it seems fine now.

What were the (exact) shortcutd settings you were using when this happened?

pillar 2010-02-03 13:04

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by hqh (Post 508516)
What were the (exact) shortcutd settings you were using when this happened?

I cannot go and look right now since I'm afraid I'll be all out of battery (don't have the charger with me right now). But I have both enabled, dashboard for camkey short, phone for camkey long, back for proximity short, and menu for proximity long.

The change I made with this version were disabling vibration and the enabling shortcut by a really long proximity. These were the new configuration options I was referring to.

hqh 2010-02-03 13:49

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by pillar (Post 508524)
I cannot go and look right now since I'm afraid I'll be all out of battery (don't have the charger with me right now). But I have both enabled, dashboard for camkey short, phone for camkey long, back for proximity short, and menu for proximity long.

The change I made with this version were disabling vibration and the enabling shortcut by a really long proximity. These were the new configuration options I was referring to.

I tried producing all possible input/event combinations with those settings for several times but I was unable to reproduce the problem. Could have been some weird issue with HAL/dbus. Will keep an eye on that.

DaSilva 2010-02-05 09:35

Re: [feedback request]shortcutd
 
I like the option to disable vibration but I miss vibration for activation/deactivation of shortcutd (very long press). Would it be possible to have this as a child option?

zuti 2010-02-06 13:52

Re: [feedback request]shortcutd
 
There seem to be problems with a clean uninstall of shortcutd and proximityd. I was trying to figure out what is eating my battery, and noticed these entries in my syslog after removing shortcutd and proximityd with the built-in application manager:

Feb 6 06:19:25 Nokia-N900-42-11 init: proximityd main process (874) terminated with status 2
Feb 6 06:19:25 Nokia-N900-42-11 init: proximityd main process ended, respawning
Feb 6 06:19:25 Nokia-N900-42-11 init: proximityd respawning too fast, stopped
Feb 6 06:19:25 Nokia-N900-42-11 init: shortcutd main process (865) terminated with status 2
Feb 6 06:19:25 Nokia-N900-42-11 init: shortcutd main process ended, respawning
Feb 6 06:19:28 Nokia-N900-42-11 init: shortcutd main process (977) terminated with status 2
Feb 6 06:19:28 Nokia-N900-42-11 init: shortcutd main process ended, respawning
Feb 6 06:19:30 Nokia-N900-42-11 init: shortcutd main process (1055) terminated with status 2
Feb 6 06:19:30 Nokia-N900-42-11 init: shortcutd main process ended, respawning

And it just keeps going until you tell shortcutd to stop. Seems the scripts are still in /etc/event.d

hopbeat 2010-02-06 15:30

Re: [feedback request]shortcutd
 
@zuti, thanks, we're taking look at this.
@DaSilva, sounds reasonable, we will add this.

nymajoak 2010-02-07 00:19

Re: [feedback request]shortcutd
 
Thanks for working on this guys, I love the new phone shortcut! :)

Regarding alt-tab, I assume you know Matan has a working solution? Maybe it's not what you want, but I like it. I don't use it though, since it isn't compatible with using the camera key (swapping to previously used window is awesome though,,)

Anyway, what I wanted to propose was to let the volume keys "alt-tab" windows while the camera key is held. No idea if it is possible to block the volume from being changed while the cam key is held though? If possible, bonus points if windows rotated one way when pressing volume up and the other when pressing volume down. :) A lot of Matan's alt-tab code could probably be reused for this btw (?)

hqh 2010-02-07 14:55

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by zuti (Post 513125)
There seem to be problems with a clean uninstall of shortcutd and proximityd.

Dpkg only removes files from /etc when a package is purged, which is something the application manager does not do. There will be a workaround in the next version. Meanwhile, dpkg --purge shortcutd can be used to remove all of the files (except config in home dir). Update: The version with the workaround has been uploaded as 0.1.1-3

Quote:

Originally Posted by nymajoak (Post 513800)
Regarding alt-tab, I assume you know Matan has a working solution? Maybe it's not what you want, but I like it.

It has one problem: As it replaces files from a system package, I assume it can never make it into Extras (possible problems when upgrading?). Using a similar solution in shortcutd would mean the same fate for it, and also cause it to conflict with Matan's package.

nymajoak 2010-02-07 15:36

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by hqh (Post 514377)
It has one problem: As it replaces files from a system package, I assume it can never make it into Extras (possible problems when upgrading?). Using a similar solution in shortcutd would mean the same fate for it, and also cause it to conflict with Matan's package.

I am not proficient in the technical details, but I have actually thought of those two issues posing a problem so as a personal comment, thanks for verifying that.

I'll leave the discussion on problems/solutions/workarounds to those in the know-how but from a user point of view I'd love the "hold camkey -> press volume rocker to rotate apps -> release camkey to choose app" functionality to achieve a "Matan-style alt-tab behaviour". I think. Hard to be sure before trying it in practice of course.. :)

WhiteWolf 2010-02-08 11:44

Re: [feedback request]shortcutd
 
He works well with the proximity sensor.

With the button on the camera. Whenever I press the camera opens its program.

Rob1n 2010-02-08 11:49

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by WhiteWolf (Post 516018)
With the button on the camera. Whenever I press the camera opens its program.

You only need to press it lightly, not all the way down.

jaeezzy 2010-02-08 12:01

Re: [feedback request]shortcutd
 
Its simply awesome. thanks a lot guys coz when I use my fren's n900 without this installed, though it wasn't much of a problem before, I just feel sooo uncomfortable switching applications. It's made n900 even more adorable...

RevdKathy 2010-02-09 08:22

Re: [feedback request]shortcutd
 
Ok, I have the 'extras-testing' version of this. Where do I vote? being able to use the 'back' button without opening the keyboard is just... perfect.

slender 2010-02-09 08:28

Re: [feedback request]shortcutd
 
REvdKathy itīs sooooo easy *grin*
Go to secret page maemo.org/packages and do search for shortcutd and click to extras testing package and give your vote.

I wonder why programs do no get any votes :P

hopbeat 2010-02-09 10:18

Re: [feedback request]shortcutd
 
A little shortcut (:wink: )
http://maemo.org/packages/package_in...tcutd/0.1.1-3/

If you happen to go there, please also vote for proximityd which is a dependency (without that shortcutd will not go to extras.

MartinNZ 2010-02-10 07:52

Re: [feedback request]shortcutd
 
hi

feature request: shift+backspace (browser forward)

cheers

RevdKathy 2010-02-10 08:04

Re: [feedback request]shortcutd
 
Oh look! It's karma just went up by one.

Seriously, that is such a hidden corner of maemo.org, I'd suggest to all devs seeking feedback and votes that you provide a nice easy link for bears of very little brain.

(Loving being able to stroke the proximeter with my furry paw instead of having to open the keyboard for browser back!)

WhiteWolf 2010-02-16 06:17

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by Rob1n (Post 516024)
You only need to press it lightly, not all the way down.

it does not work.

i have tested with short press action and long press action.

jaywink 2010-02-17 18:13

Re: [feedback request]shortcutd
 
great app! nice improvement from camkeyd.

marshad 2010-02-17 18:36

Re: [feedback request]shortcutd
 
cant get proximty sensor shortcut to work

hopbeat 2010-02-17 19:46

Re: [feedback request]shortcutd
 
@WhiteWolf, but the proximity sensor works for you?
Do you have the camera key enabled in the settings of shortcutd (settings panel?)

@marshad, is it enabled in the settings? Does it vibrate when you touch the sensor? Does camera key work for you?

hopbeat 2010-02-17 19:47

Re: [feedback request]shortcutd
 
shortcutd is now in extras:
http://maemo.org/downloads/product/Maemo5/shortcutd/

Having a stable release, we will get back to work on the new features :)

mohannad 2010-02-17 20:29

Re: [feedback request]shortcutd
 
Great app!!

Im not sure if this was brought up before but is there a way to disable the small vibrations when Shortcutd is disabled?

Currently when i long 'press' the sensor and disable the shortcut, it disables but the device still vibrates every time i move my finger over the sensor. It would be nice to have the following behavior:

While shortcutd is activated:
  • if vibration == on
    • short press - vibrate
    • long press - vibrate
    • very long press - vibrate
  • if vibration == off
    • short press - dont vibrate
    • long press - dont vibrate
    • very long press - dont vibrate
While shortcutd is de-activated:
  • if vibration == on
    • short press - dont vibrate
    • long press - dont vibrate
    • very long press - vibrate
  • if vibration == off
    • short press - dont vibrate
    • long press - dont vibrate
    • very long press - dont vibrate

thanks for your hard work :)


All times are GMT. The time now is 04:26.

vBulletin® Version 3.8.8