Notices


Reply
Thread Tools
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#191
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's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#192
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's Avatar
Posts: 676 | Thanked: 1,067 times | Joined on Jul 2010 @ Kyiv, Ukraine
#193
And now it's working again.
 
Posts: 284 | Thanked: 74 times | Joined on Mar 2010 @ Wigan, UK
#194
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's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#195
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
 

The Following User Says Thank You to nicolai For This Useful Post:
Posts: 284 | Thanked: 74 times | Joined on Mar 2010 @ Wigan, UK
#196
Originally Posted by nicolai View Post
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
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#197
You can set full press? It only got short and long soft press on mine, and there isn't any update avaiable...
 
Posts: 24 | Thanked: 13 times | Joined on Feb 2011
#198
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?

Last edited by ale152; 2012-02-06 at 23:06.
 
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#199
Originally Posted by ale152 View Post
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.
 
Posts: 24 | Thanked: 13 times | Joined on Feb 2011
#200
It never worked, for me!
Can there be any conflict?
 
Reply

Tags
feedback thread, shortcutd

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:32.