Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Change the (hold key) -> (Fn+Key) time?

    Reply
    Ken-Young | # 1 | 2012-04-27, 18:13 | Report

    On an N900 running Maemo 5, pressing and holding a key on the physical keyboard produces Fn+Key if the hold lasts for ~1 second. Is it possible to change the time required for the (hold key)->(Fn+Key) transition to take place? I'd like to shorten it to maybe a third of its default value. If you don't know of a way to change the time, do you know which piece of code produces this behavior? I might be able to hack a solution if there is no clean one.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Ken-Young For This Useful Post:
    Estel

     
    Estel | # 2 | 2012-04-27, 18:46 | Report

    It could be also useful to make time actually *longer* - many applications tend to miss-interpret key pressed (during heavy CPU load), as a long-press when in fact it was short. It was so irritating, that I've disabled this feature all-together, reverting back to "repeating keys" behavior.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Estel For This Useful Post:
    pichlo

     
    ontime | # 3 | 2015-10-17, 09:25 | Report

    Originally Posted by Ken-Young View Post
    On an N900 running Maemo 5, pressing and holding a key on the physical keyboard produces Fn+Key if the hold lasts for ~1 second. Is it possible to change the time required for the (hold key)->(Fn+Key) transition to take place? I'd like to shorten it to maybe a third of its default value. If you don't know of a way to change the time, do you know which piece of code produces this behavior? I might be able to hack a solution if there is no clean one.
    You can change this timeout by command:
    Code:
    gconftool-2 -s /apps/osso/inputmethod/ext_kb_long_press_timeout -t int 300
    int value is in mili seconds

    Also there are two others interval. How fast repeat key (the lower value the faster repeat) and after what interval repeat mode is turn on (for backspace etc).
    Code:
    for gconfkey in "ext_kb_long_press_timeout" "int_kb_repeat_interval" "int_kb_repeat_delay" ; do
    	val=`gconftool-2 -g /apps/osso/inputmethod/$gconfkey`
    	printf "\n$gconfkey: $val ms\nChange to (int): "
    	read new
    	[ $new ] && [ $new -gt 0 ] && val=$new
    	gconftool-2 -s /apps/osso/inputmethod/$gconfkey -t int $val
    done

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by ontime; 2015-10-17 at 10:37.
    The Following 6 Users Say Thank You to ontime For This Useful Post:
    DA5, peterleinchen, pichlo, reinob, t-b, wicket

     
    t-b | # 4 | 2015-10-17, 13:29 | Report

    Naming yourself "ontime" and the first post is answering a question that is three years old - great sense of humour

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to t-b For This Useful Post:
    DA5, mp107, peterleinchen, pichlo, reinob, wicket, zlatokosi

     
    ontime | # 5 | 2015-10-17, 15:02 | Report

    Originally Posted by t-b View Post
    Naming yourself "ontime" and the first post is answering a question that is three years old - great sense of humour
    Cheers
    You're right. My first post here should be good morning or so, but that's what I am. If it's possible, straight to the point.

    Crowd / community around maemo & n900 seems still be alive, so it's another opportunity for someone to take advantage of it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to ontime For This Useful Post:
    peterleinchen

     
    ontime | # 6 | 2015-10-17, 15:23 | Report

    Originally Posted by t-b View Post
    Naming yourself "ontime" and the first post is answering a question that is three years old - great sense of humour
    Cheers
    You're right. My first post here should be good morning or so, but that's what I am. If it's possible, straight to the point.

    Crowd / community around maemo & n900 seems still be alive, so it's another opportunity for someone to take advantage of it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ontime | # 7 | 2015-10-17, 16:24 | Report

    Originally Posted by t-b View Post
    Naming yourself "ontime" and the first post is answering a question that is three years old - great sense of humour
    Cheers
    You're right. My first post here should be good morning or so, but that's what I am. If it's possible, straight to the point.

    Crowd / community around maemo & n900 seems still be alive, so it's another opportunity for someone to take advantage of it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout