Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #71  
Old 2010-01-25, 23:05
nadavwr nadavwr is offline
 
Join Date: Jul 2008
Posts: 8
Thanks!: 17
Thanked 5 Times in 4 Posts
Default Re: [feedback request]shortcutd

Hey @hopbeat, how about focus == alt?
I'm desperately missing alt+. in bash
Reply With Quote
  #72  
Old 2010-01-26, 14:10
Matan Matan is offline
 
Join Date: Jul 2007
Posts: 1,224
Thanks!: 2
Thanked 1,763 Times in 651 Posts
Default Re: [feedback request]shortcutd

Quote:
Originally Posted by hqh View Post
You're not supposed to fully press the camera button. Use a light press (as in focusing the camera) and it will work as intended. AFAIK there's no practical way to override the default behavior for fully pressing the key.
Actually it is very easy to override behaviour of this key. All it taked is one command:
Code:
hal-device -r platform_cam_launch
If you wan hal to keep reporting this key on D-Bus, but use a different name, do something like:
Code:
hal-device -a platform_cam_launch2
  button.type = 'activity'  (string)
  linux.sysfs_path = '/sys/devices/platform/gpio-switch/cam_launch'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_gpio_switch'  (string)
  info.linux.driver = 'gpio-switch'  (string)
  platform.id = 'cam_launch'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'platform'  (string)
  info.addons.singleton = { 'hald-addon-omap-gpio' } (string list)
  info.capabilities = { 'button' } (string list)
  info.subsystem = 'platform'  (string)
  info.product = 'Platform Device (cam_launch)'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_cam_launch'  (string)
  button.state.value = false  (bool)
  button.has_state = true  (bool)
After this, the cam_launch button is announced on D-Bus, but with a name that does not cause the camera application to start.
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
Reply With Quote
The Following 6 Users Say Thank You to Matan For This Useful Post:
  #73  
Old 2010-01-26, 15:57
Helmuth's Avatar
Helmuth Helmuth is offline
 
Join Date: Oct 2009
Location: Germany
Posts: 1,259
Thanks!: 6,328
Thanked 1,341 Times in 556 Posts
Default Re: [feedback request]shortcutd

Quote:
Originally Posted by hopbeat View Post
Take it easy, alt-tab is in planning zone, we will get to it eventually
Hey hopbeat, sorry, I must ask directly.
It's in the planning zone. Mh, okay. But, what are you specific planing? How should it work?

In my opinion there are 2 possibilitys:
  • Press the selected Button, swap from one to the other application in one sweep
  • Press the Button to go to the dashboard, when you're at the dashboard you can reach the second last application with the second press of the Button (our Ctrl+Backspace emulation)

I would prefer the second. It's the way Matan's hack works. It's very fast, its no blocker for other things and we can use the camera button and the proximity sensor for other things. We need only one of the four possibilitys for our "Task management". ;-)

Last edited by Helmuth; 2010-01-26 at 16:58.
Reply With Quote
The Following 2 Users Say Thank You to Helmuth For This Useful Post:
  #74  
Old 2010-01-26, 18:14
sorodoros sorodoros is offline
 
Join Date: Oct 2009
Location: Los Angeles
Posts: 344
Thanks!: 109
Thanked 73 Times in 60 Posts
Default Re: [feedback request]shortcutd

Thanks for this great system "upgrade."

"Use the camera button" works perfectly. I see no issues with any configurations.

"Use the proximity sensor" seems to have two bugs, AFAIK.

1. It sometimes fails to work, in which case going back to settings/shortcutd/Shortcutd configuration, and saving the current configuration always appears to correct it and getting it going again. No idea what makes it fail. The configurations that fail for me are both "backspace (browser:back)" in browser, and "menu" invoking.

2. This one is a bit hard to describe. With the above configurations, browser text is corrupted in the following way: Finger scrolling on the right-hand side of the screen causes the the screen to "break" slightly into two vertical columns of text (again, only slightly), which results in two wobbly/weird text columns that are out of alignment with each other as I finger scroll. Disabling "use the proximity sensor" and restarting the browser corrects this. I can reproduce this consistently. (I am not certain if this also occurs with keyboard scrolling.)
Reply With Quote
The Following User Says Thank You to sorodoros For This Useful Post:
  #75  
Old 2010-01-26, 20:34
hopbeat's Avatar
hopbeat hopbeat is offline
 
Join Date: Oct 2009
Location: Denmark/Poland
Posts: 516
Thanks!: 209
Thanked 643 Times in 233 Posts
Default Re: [feedback request]shortcutd

A lot is going on in this thread

@nadavwr, will do, probably we will just a generic possibility to send key (or maybe a combination of keys).

@Matan, thanks, as opening the lenses cover also launches the application, I think we should be able to use the full press for something more interesting

@Helmuth, I agree that the second option sounds well (or maybe half press for dashboard, full press for alt-tab?) We definitely need to figure out the actual mechanism of checking/bringing to top given application first. If anyone has some tips about this, we would love to hear them.

@sorodoros:

Ad.1 when it fails, does it still give you the vibration feedback when touch proximity sensor? Or is it totally dead there?

Ad.2 I'm stunned. Anyone can confirm this, I'm not able to reproduce :/

Also, could you comment on the issue raised by @Martin Grimme here?
Anyone experience the same/similar problem?
__________________
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
Reply With Quote
  #76  
Old 2010-01-26, 21:02
Matan Matan is offline
 
Join Date: Jul 2007
Posts: 1,224
Thanks!: 2
Thanked 1,763 Times in 651 Posts
Default Re: [feedback request]shortcutd

About bringing windows to front, see here: http://wiki.maemo.org/Modified_Hildon_Desktop .
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
Reply With Quote
The Following User Says Thank You to Matan For This Useful Post:
  #77  
Old 2010-01-26, 21:02
sorodoros sorodoros is offline
 
Join Date: Oct 2009
Location: Los Angeles
Posts: 344
Thanks!: 109
Thanked 73 Times in 60 Posts
Default Re: [feedback request]shortcutd

Quote:
Originally Posted by hopbeat View Post
A lot is going on in this thread
...@sorodoros:

Ad.1 when it fails, does it still give you the vibration feedback when touch proximity sensor? Or is it totally dead there?

Ad.2 I'm stunned. Anyone can confirm this, I'm not able to reproduce :/
1. I still get the vibration feedback. It just doesn't respond to it.
2. Sorry, didn't mean to upset. I know, it is strange. Put perhaps it is some conflict with another app or util.
Reply With Quote
  #78  
Old 2010-01-26, 22:03
Helmuth's Avatar
Helmuth Helmuth is offline
 
Join Date: Oct 2009
Location: Germany
Posts: 1,259
Thanks!: 6,328
Thanked 1,341 Times in 556 Posts
Default Re: [feedback request]shortcutd

Quote:
Originally Posted by hopbeat View Post
Also, could you comment on the issue raised by @Martin Grimme here?
Anyone experience the same/similar problem?
Mmmh... I have only the old 0.1-1 installed. I deactivated the proximity sensor very early. It worked like a charm with the camera button and I'm lefthanded. So tapped the proximity to often by accident.

Just for testing I gone to the settings menu, activated the proximity sensor. The daemon restatring message appeared.

But no reaction on the proximity. Also no vibration feedback.

I played around with the settings. After some testing I lost also my beloved camera button and then I got only a "Failed to restart shortcutd!" message every time I closed the settings menu.

Restarted the Device with the Default settings (booth sensors activated, short press Dashboard, long press phone) and everything worked. Hmm...
Okay, I should install the latest version first before giving feedback.

Edit:
UPDATED to Version 0.1-2 and no problems with changing settings, restarting device, activate, deactivate. Everything works perfekt!
Can't confirm the problems by Martin Grimme.

Last edited by Helmuth; 2010-01-26 at 22:44.
Reply With Quote
  #79  
Old 2010-01-26, 22:04
hopbeat's Avatar
hopbeat hopbeat is offline
 
Join Date: Oct 2009
Location: Denmark/Poland
Posts: 516
Thanks!: 209
Thanked 643 Times in 233 Posts
Default Re: [feedback request]shortcutd

@sorodoros,

Ad. 1 maybe this is the case?

Quote:
It took a while to figure it out but the shortcuts work as advertised. However, the instructions should be made clearer. Especially with respect to 'proximityHold' which toggles the proximity sensor on/off. This is probably caused @Martin to inadvertently turn the prox sensor off.
- In case others are wondering how the prox sensor works, - Short press: 2 short vibration feedbacks - Long press: 3 short vibration feedbacks - Hold: Long vibration. (This turns the sensor polling on and off)
Ad. 2 No one gets upset Is the problem present when you enable proximity sensor but set both functions (short and long press) to disabled?
__________________
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
Reply With Quote
  #80  
Old 2010-01-26, 22:23
sorodoros sorodoros is offline
 
Join Date: Oct 2009
Location: Los Angeles
Posts: 344
Thanks!: 109
Thanked 73 Times in 60 Posts
Default Re: [feedback request]shortcutd

Quote:
Originally Posted by hopbeat View Post
@sorodoros,

Ad. 1 maybe this is the case?

It took a while to figure it out but the shortcuts work as advertised. However, the instructions should be made clearer. Especially with respect to 'proximityHold' which toggles the proximity sensor on/off. This is probably caused @Martin to inadvertently turn the prox sensor off.
- In case others are wondering how the prox sensor works, - Short press: 2 short vibration feedbacks - Long press: 3 short vibration feedbacks - Hold: Long vibration. (This turns the sensor polling on and off)


Ad. 2 No one gets upset Is the problem present when you enable proximity sensor but set both functions (short and long press) to disabled?
Ad. 1 This is certainly the case. I didn't realize that the long hold (past the 3 vibrations to the long vibration) was a toggle. Thanks for pointing it out.

Ad. 2 The problem does not occur when both functions are disabled.
Reply With Quote
Reply

Tags
feedback thread, shortcutd


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:24.