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)

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 05:49.

vBulletin® Version 3.8.8