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)

qwerty12 2010-06-22 17:35

Re: [feedback request]shortcutd
 
1 Attachment(s)
Quote:

Originally Posted by hqh (Post 724848)
That'd be great.

The attached works for me. Thanks.

ironm8 2010-06-22 18:13

Re: [feedback request]shortcutd
 
what is rotating usually with ctrl shirt r?

casper27 2010-06-22 18:54

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by ironm8 (Post 725220)
what is rotating usually with ctrl shirt r?

Most applications can be rotated in PR 1.2 using ctrl shift r. It works really well on some things like settings conversations ect and not so well on others as it isnt really optomised for some and icons can be off screen or unusable.
All working really well here I use long camera press to activate custom command

osso-xterm

Which launches the terminal saving time and looks cool.:)

hqh 2010-06-22 19:21

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by qwerty12 (Post 725172)
The attached works for me. Thanks.

Seems to be working, version 0.1.3 should be hitting extras-devel shortly. Thanks!

FifthFreedom 2010-06-22 21:33

Re: [feedback request]shortcutd
 
In the new version, rotation works good.
But the camera button still opens the camera app for me?
Help?

bugelrex 2010-06-22 22:09

Re: [feedback request]shortcutd
 
Finally a usable "home" button for the n900. Great work!

A few bugs though
- short press camera => desktop doesn't work when in "multi-task view" mode (when u see all the running open programs". Or when in Menu view, when u see available apps to run
- short press camera => desktop doesn't work when the programming is still initializing. Eg run the 'terminal' app, usually takes 2 seconds to process before u can start typing anything. It ignores the short press during those 2 seconds the pogram 'processing circle' is running

qwerty12 2010-06-22 22:27

Re: [feedback request]shortcutd
 
Yes, I noticed that it doesn't work with the dashboard opened. Since Hildon Desktop doesn't offer a D-Bus method for exiting the dashboard, I guess it'll have to be done by faking a button press in the top right if _MB_CURRENT_APP_WINDOW == 0xffffffff && _NET_ACTIVE_WINDOW == getDesktopWindow()

Dunno if it'll work for the second case, though

It's immune to fake button presses. Will have to instantiate a HildonAppMenu...

meLi 2010-06-25 13:34

Re: [feedback request]shortcutd
 
Is it possible for you to make any button to launch virtual keyboard ?

grog 2010-07-27 20:39

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by bald.eagle.one (Post 694348)
also got problem with shortcutd
after a while long pressed camera button(phone) stops working
solution - go to settings and press save, it will restart itself
dashboard behaviour working flawlessly

Quote:

Originally Posted by gurpal2000 (Post 694888)
Sounds like the daemon restart resets things. Question is why dameon fails or stops?

Quote:

Originally Posted by hopbeat (Post 695321)
Hi everyone,

thanks for your comments, I will look into this. Sorry for not replying earlier, I'm a bit stuck atm. I will fix the problems in a week time.

I'm also experiencing this. Quite annoying, as the only time I notice it is when I need to open the phone :eek: Figure'd I'd ask if it had been fixed before doing some troubleshooting & writing a alarmd command or such to restart shortcutd periodically :)

TX

ceevee 2010-07-30 17:25

Re: [feedback request]shortcutd
 
I am experiencing this as well. Sometimes I need to restart shortcutd because it stops working.

If I have the proximity option on with Phone Speaker Switcher, the proximity portion of shortcutd fails even more frequently.

I leave that option off, but I still need to restart shortcutd every once in awhile.

mattyparanoid 2010-08-04 17:42

Re: [feedback request]shortcutd
 
Any fix for short press of camera to go to desktop opens camera as well?

This application could be great for me, but as it always opens the camera app as well, it is all but useless for my N900.

Is it a settings issue or something I can change? Bug? Known issue?

Any help would be appreciated. I would love to see this app work for me.

grog 2010-08-04 19:13

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by grog (Post 766907)
I'm also experiencing this [shortcutd dying that is]. Quite annoying, as the only time I notice it is when I need to open the phone :eek: Figure'd I'd ask if it had been fixed before doing some troubleshooting & writing a alarmd command or such to restart shortcutd periodically :)

Couldn't find any rhyme or reason behind it. On reboot it works for a while. then even while the shortcutd process is still active (or rather, at least shown as running), it stops working. "killall shortcutd" starts it back up, so I put an alarmd event to run that every hour. A waste, but WFM (Works For Me). :)

DaSilva 2010-08-05 08:40

Re: [feedback request]shortcutd
 
Is this still in active development?

Helmuth 2010-08-05 09:24

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by mattyparanoid (Post 775721)
This application could be great for me, but as it always opens the camera app as well, it is all but useless for my N900.

Sigh!
Dont PUSH the Button. Try to press it more carefully. Like when you trying to take a photo. You need to focus first and then press it to take it. Or read the manual about this Button first.

mattyparanoid 2010-08-05 18:34

Re: [feedback request]shortcutd
 
While I am sorry I exasperated you, I am appreciative that I learned from your post that the button is very sensitive...

Understood now that Shortcutd means to lightly press the button to go to the desktop NOT to completely click the button to go to the desktop...

V/R

M

hqh 2010-08-05 19:03

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by DaSilva (Post 776318)
Is this still in active development?

Not very active.

I've been busy with a more interesting project, and AFAIK hopbeat is also busy with other things.

But it's open source, anyone can develop it. Patches are still welcome :)

TiagoTiago 2010-08-05 19:35

Re: [feedback request]shortcutd
 
I don't feel like reading all 18 pages of posts right now, i hope this is the right place for this, and i apologize if this has been suggested before

I would like to have additional options, like double and tripple click, click-hold, click-click-hold, hold-click etc as additional shortcuts, and also, it would be nice to have an action to switch between the dashboard, the menu and the desktop (press while in a program or the desktop calls the dashboard, press while in the dashboard calls the menu, press while in the menu, goes to the desktop)

NightShift79 2010-08-16 04:14

Re: [feedback request]shortcutd
 
Could you add screenshot (ctrl+shift+p) support for either cam key or proximity sensor?

leviathan0297 2010-08-26 17:00

Re: [feedback request]shortcutd
 
would it be possible to map other buttons like the left button or enter button to the camera button using this app

gsever 2010-08-26 17:39

Re: [feedback request]shortcutd
 
Hey, just wondering if you could add a toggle option for soft camera button press to switch between desktop and dashboard. Do you have a quick tutorial for custom shell command shortcut?

ivgalvez 2010-09-06 12:22

Re: [feedback request]shortcutd
 
I have mapped the proximity sensor long touch as Dashboard, and very frequently it doesn't run.

Once restarted Shortcutd (by entering the setup menu and exiting) it begins to work again.

I also think that the behaviour of the proximity sensor is not consistent with the focus button. If I do a long press in the focus button for, let's say launch phone, I don't need to stop pressing to launch the application, it starts after 2 seconds approximately. But with the proximity sensor I have to quit my finger in exactly the time to get the expected result which, by the way, is quite difficult.

WhiteWolf 2010-09-06 12:24

Re: [feedback request]shortcutd
 
I have suffered the same problem and stopped using the long press.

colakang 2010-09-09 04:08

Re: [feedback request]shortcutd
 
can i use "CTRL+V" in shortcutd ?

zerocool2k 2010-09-18 03:58

Re: [feedback request]shortcutd
 
Is there any way to disable the camera software when the lens is closed? Otherwise, the long press function is pretty much annoying when it opens 2 apps at once.

maemo.it 2010-12-24 00:38

Re: [feedback request]shortcutd
 
great app, thanks!
to everyone interested, like me, to use short/long press camkey to switch to silent profile can do that:
- open terminal
- create a script:
eg: switch_to_silent_profile_script
Code:

#!/bin/sh
dbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent"

(for other controls see here: http://wiki.maemo.org/Phone_control)
in shortcutd set your preferences and in 'custom shell command' write:
sh /path_where_is_your_script/your_script (eg: /home/user/switch_to_silent_profile_script)
that's all ;)

NightShift79 2011-02-22 17:59

Re: [feedback request]shortcutd
 
there's that new force rotation patch inside the new mcsp (cssu).
so I want to make screenshots of diferent apps in portrait mode.

Problem is, I can't press ctrl+shift+p with slide in keyboard (portrait mode)

Could someone tell me how to make ctrl+shift+p in shortcut?
How should a custom shell command7script look to take screenshots when long pressing the cam key?

thx for your help.

tten 2011-03-28 17:07

script to reject incoming call
 
Did anyone try to make shortcutd work so that if camkey is pressed while there is an incoming call, the call is rejected?

Often if one receives an incoming call during a meeting, one would like to just reach in one's pocket and reject the call. At the moment this can't be done with the N900, can it? But it seems like shortcutd could readily be modified to accomplish this, yes?

HfeatR 2011-04-09 21:13

Re: [feedback request]shortcutd
 
Hi, I would like to know what to put in "custom shell command" to launch an app ...

helex 2011-04-10 14:39

Re: [feedback request]shortcutd
 
I've seen here at the beginning a discussion that the developers was not able to check what application is currently running in the foreground, if the task-switcher is currently opened and how to bring a other application in the foreground.

In my other thread (LINK) I asked for similar stuff. And accidentally we found a way how to check if the task switcher dashboard or the desktop is currently running. (the script to check what application is currently running simply crashes) This happens at one of the Desktops and at the Task Manager.

So this way it would be possible to notice what application is running at the moment the camera button is pressed. Store this in a small history of 2 Items. If the active_window.property_get crashed the task switcher or the desktop is shown. In this case the shortcutd application could switch to the second task in the history list and flip the items. If we got the name of the current task simply push it to the top of the 2 Items stack.

This way we could easily switch between 2 Tasks (at example notes and calendar) back and forth simply by pressing the camera button twice. This would be great.

Perhaps thp or hopbeat has some minutes to look into it. This would be a very cool feature. :)

titou1234 2011-07-10 09:42

Re: [feedback request]shortcutd
 
1 Attachment(s)
Hi,

Here is a patch I created to add on option to this great application: you can now send the space key as you would for the backspace key.

How is this useful ?
The space key can scroll down one page at a time in the browser. So if you attach this new option to the short press action of the camera button, then you can very easily read pages in your browser.

See attached video as a demo: http://www.youtube.com/watch?v=ZPTZg7QSdPw

qwazix 2011-08-16 11:19

Re: [feedback request]shortcutd
 
I just uploaded a small script, to maemo extras-devel that helps greek users write longer sms, by replacing greek characters with the corresponding english ones (thread here http://talk.maemo.org/showthread.php?t=75654). For it to "just work" I need to edit shortcutd to run it when the camera is half pressed. I can make a post-install script to change shortcutd configuration but as this is intrusive I wondered if you could add an option for my script in the default shortcutd options.

int_ua 2011-08-17 08:00

Re: [feedback request]shortcutd
 
It was working perfect for months (or even for year).
But today just stopped.
Yesterday I've upgraded some packages, but I don't remember shortcutd among them.
What can you suggest me to do? Is there any debug output?

int_ua 2011-08-17 08:12

Re: [feedback request]shortcutd
 
And now it's working again.

kaos_king 2011-10-26 14:45

Re: [feedback request]shortcutd
 
I have a couple of issues, the first is that the camera button full press is set to launch the phone at the moment, however when i do this it opens the camera app instead even though the shutter is closed?

Secondly, I want the full press to launch the calendar so I looked at the calendar desktop entry to see what it executes. I then tried the command in terminal to make sure but when i do I recieve an error and the gui never shows and i then have to ctrl+c out. Does anyone know the right command? Or if i've got it right, does anyone know why the gui doesnt show? Its the same result being root too.

Here is the terminal output:

Code:

/home/user # /usr/bin/Calendar
                            main(): Loading theme from: '/usr/share/calendar/theme/gtkrc'
  calInterfaceInitializeBackend(): Before Backend  initialize
  calInterfaceInitializeBackend(): After backend  initialize
/usr/share/calendar/theme/gtkrc:509: file FingerButtonNormal.png previously referenced with different border or stretch values. Ignoring the new values.
/usr/share/calendar/theme/gtkrc:517: file FingerButtonPressed.png previously referenced with different border or stretch values. Ignoring the new values.
      pip_calendar_size_allocate(): Allocation of size 800x424
            pip_calendar_realize(): Realizing PipCalendar.
            pip_calendar_realize(): Allocation not yet done so queing that
      pip_calendar_size_allocate(): Allocation of size 800x424
_pip_calendar_window_set_bg_image_from_month(): Creating bg pixmap for the month 9
_pip_calendar_window_set_bg_image_from_month(): Creating bg pixmap for the month 11
            phased_init_backend(): Before autocleanup
            phased_init_backend(): After autocleanup
            phased_init_backend(): Before iEbook initialize
            phased_init_backend(): After EBook Initilaize
                          commit(): Failure in adding Birthdays. Error is 202
^[[A^[[A^[[A^C
/home/user # exit
~ $ /usr/bin/Calendar                                                                                      main(): Loading theme from: '/usr/share/calendar/theme/gtkrc'
  calInterfaceInitializeBackend(): Before Backend  initialize
  calInterfaceInitializeBackend(): After backend  initialize
/usr/share/calendar/theme/gtkrc:509: file FingerButtonNormal.png previously referenced with different border or stretch values. Ignoring the new values.
/usr/share/calendar/theme/gtkrc:517: file FingerButtonPressed.png previously referenced with different border or stretch values. Ignoring the new values.
      pip_calendar_size_allocate(): Allocation of size 800x424
            pip_calendar_realize(): Realizing PipCalendar.
            pip_calendar_realize(): Allocation not yet done so queing that
      pip_calendar_size_allocate(): Allocation of size 800x424
_pip_calendar_window_set_bg_image_from_month(): Creating bg pixmap for the month 9
_pip_calendar_window_set_bg_image_from_month(): Creating bg pixmap for the month 11
            phased_init_backend(): Before autocleanup
            phased_init_backend(): After autocleanup
            phased_init_backend(): Before iEbook initialize
            phased_init_backend(): After EBook Initilaize
                          commit(): Failure in adding Birthdays. Error is 202

Cheers guys.

nicolai 2011-10-26 16:28

Re: [feedback request]shortcutd
 
Don't know why the command doesn't work.
But this should work:

dbus-send --print-reply --session --dest=com.nokia.calendar /com/nokia/calendar com.nokia.calendar.top_application

kaos_king 2011-10-26 22:20

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by nicolai (Post 1114065)
Don't know why the command doesn't work.
But this should work:

dbus-send --print-reply --session --dest=com.nokia.calendar /com/nokia/calendar com.nokia.calendar.top_application

Cheers nicolai, that works perfectly.

Now I dont need to know why the other one didn't work! lol

TiagoTiago 2011-10-27 01:54

Re: [feedback request]shortcutd
 
You can set full press? It only got short and long soft press on mine, and there isn't any update avaiable...

ale152 2012-02-06 22:55

Re: [feedback request]shortcutd
 
I just installed it to lock display with long pressure of proximity sensor, but I can't use any function of proximity sensor!
I checked it with healtcheck, and I'm sure sensor works, but seems shortcutd can't recognize it.
I have last version of proximityd package.

Here is a strace of shortcutd (killed and then restarted with strace)
http://pastebin.com/uu5kZzgU

There are some "Resource temporarily unavailable", may be this a problem?

sixwheeledbeast 2012-02-06 23:16

Re: [feedback request]shortcutd
 
Quote:

Originally Posted by ale152 (Post 1161451)
I just installed it to lock display with long pressure of proximity sensor, but I can't use any function of proximity sensor!

I have used it for a long time to do this, occasionally it stops working.
I reboot normally fixes it. I don't know why but killing it doesn't fix the problem.

ale152 2012-02-08 00:33

Re: [feedback request]shortcutd
 
It never worked, for me!
Can there be any conflict?


All times are GMT. The time now is 07:25.

vBulletin® Version 3.8.8