Reply
Thread Tools
Posts: 25 | Thanked: 22 times | Joined on Dec 2009
#1
Hi,

The ability to long press to get the blue key character is really nice, but does anyone know how to shorten the delay? I've tried taking a look through /etc and gconf settings, but can't seem to find it.

I'm assuming it should be in the /apps/osso/inputmethod gconf key directory somewhere?
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#2
The default can be changed by editing hildon-im-context.c in the package hildon-input-method-framework, and then rebuilding and reinstalling this package.

It can be changed in runtime by sending a message to the relevant window. The code responsible for this is:

Code:
    else if (cme->message_type ==
             hildon_im_protocol_get_atom (HILDON_IM_LONG_PRESS_SETTINGS))
    {
      HildonIMLongPressSettingsMessage *msg =
        (HildonIMLongPressSettingsMessage *) &cme->data;

      self->enable_long_press = msg->enable_long_press;
      self->long_press_timeout = (msg->long_press_timeout > 0)
        ? msg->long_press_timeout : DEFAULT_LONG_PRESS_TIMEOUT;

      result = GDK_FILTER_REMOVE;
    }
It is in a function taht filters XClientMessages.
__________________
My repository

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

No more Nokia devices for me.
 
Posts: 25 | Thanked: 22 times | Joined on Dec 2009
#3
Thanks for that info. I'm a programmer of sorts, but don't have too much familiarity with Linux build/package systems. Am I able to try things out by following the guides here? Anything to watch out for?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:49.