Notices


Reply
Thread Tools
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#1
shortctud is now available in extras-devel. IF YOU DON'T KNOW WHAT YOU ARE DOING, DON'T GO THERE, IT MAY HURT YOU.

This is a daemon for handling proximity sensor and camera key to access dashboard (task switcher) and phone application. Key features at the moment:
-press camera key when the lens cover is closed to access dashboard
-touch proximity sensor briefly (two vibrations) to access dashboard
-touch proximity sensor longer (three vibrations) to access phone application
-touch sensor much longer (~3s) to disable sensor (long vibration). Do it again (long vibration) to bring sensor again
-proximity sensor can be disabled permanently by editing config file:
Code:
/home/user/.shortcutd/config
-application requires proximityd
-app enters power saving mode when keyboard is locked

This application is created by me and hqh

This is just first and basic preview, we would like to ask you for your feedback, both technical and about usage patterns and options that you would like to see.

Known issues at the moment:
-after unblocking the phone (slider, power button, keyboard) it can take up to 5 seconds for the application to activate. This is related to the power saving mode.
-Everything is basic and rough, to remove just uninstall the application.

A little see before you buy
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 

The Following 45 Users Say Thank You to hopbeat For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#2
It works great! Do you know if it uses a lot of energy?
If no applications are running and you are on the desktop nothing happens at two vibrations. Instead I would prefer to see the menu.
And if I disable the sensor after three seconds how can I turn it on again with the same gesture? Isn't the sensor turned off?
What happens if I get a call and I put my phone to the head? Will the sensor be deactivated after three seconds or is it disabled automatically when the phone application runs?
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#3
About energy: it enters the power saving mode when you lock your keyboard/phone, so no impact there.
Energy impact when active depends on your usage pattern of other applications: shortcutd is not heavy on the processor (you can check this with top command) but, as it uses sleep(), it requests a lot of CPU wakeups, which can prevent the processor from entering the idle state. We will work on optifying this, still it shouldn't have any serious impact on your battery life at the moment. Any feedback on this would be appreciated

Disabling sensor with long touch means that it won't bring up dashboard/phone application. The sensor itself is still checked, so you can reactive its functions with long press again. To turn it off permanently, you can use config file (and reboot in this version).

No impact of the application during calls (not really our work, simply the keyboard is locked during phone call with the proximity sensor, so the application enters idle state).
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 

The Following 7 Users Say Thank You to hopbeat For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#4
Thanks, I have tested it now.
When the screen is unlocked both daemons together use between 1%-4% of the CPU but mostly not more than 1% (together). If I switch the screen off I cannot even see them in top so I think it should not drain the battery too much. Good work
 
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#5
Effect on battery life will probably further improve when bug 7070 gets fixed.
 

The Following 3 Users Say Thank You to hqh For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#6
Cheers for the app, guys.
I was previously using camkeyd, but wanted to update since I think you probably won't maintain that as much.

In terms of use-cases I'm using it exactly like camkeyd at the moment - I've disabled proximity through the config file because I often accidentally cover the proximity sensor.
 

The Following 4 Users Say Thank You to codeMonkey For This Useful Post:
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#7
A new version of shortcutd is available in extras-devel. It consumes significantly less power than the previous release (should be fine now for everyday use).

If you have camkeyd installed, it needs to be removed before installing shortcutd (the packages now conflict).

Originally Posted by codeMonkey View Post
Cheers for the app, guys.
I was previously using camkeyd, but wanted to update since I think you probably won't maintain that as much.
Yeah, the functionality of camkeyd has been integrated into this program and camkeyd is no longer maintained. The camkeyd package will remain in extras-devel while shortcutd will get promoted to testing some day.

Last edited by hqh; 2010-01-06 at 22:05.
 

The Following User Says Thank You to hqh For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#8
Currently I want to use shortcutd only like camkeyd and I changed the config file but I still get the vibration near the proximity sensor. Do I have to restart proximityd? If yes, how (don't want to restart the phone)?
 
Posts: 388 | Thanked: 842 times | Joined on Sep 2009 @ Finland
#9
Originally Posted by DaSilva View Post
Currently I want to use shortcutd only like camkeyd and I changed the config file but I still get the vibration near the proximity sensor. Do I have to restart proximityd? If yes, how (don't want to restart the phone)?
Shortcutd needs to be restarted after modifying the configuration file.

stop shortcutd; start shortcutd
(as root) does the trick
 

The Following 4 Users Say Thank You to hqh For This Useful Post:
jcompagner's Avatar
Posts: 290 | Thanked: 165 times | Joined on Sep 2009
#10
I think what would be nice if pressing the camkey i get the dashboard but pressing it again brings me to the desktop..

Of course even better would be if the 3 shortcuts would be configurable and we can choose that it should show the dashboard, desktop, application menu (or directly the more apps) or start any application we want..
And what the second action of the shortcut is if the first action (like the dashboard) is currently the active one.
 

The Following 2 Users Say Thank You to jcompagner For This Useful Post:
Reply

Tags
feedback thread, shortcutd


 
Forum Jump


All times are GMT. The time now is 13:12.