Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 keyboard friendly

    Reply
    Page 1 of 5 | 1   2     3   | Next | Last
    Matan | # 1 | 2009-12-24, 15:32 | Report

    *** A lot of information in this thread in now obsolete. Please read this thread instead.

    I prefer touching the screen as little as possible, and I also notice that a lot of actions (such as launching a frequently launched application) can be done much quicker using the keyboard. Therefore, I work on making the N900 more keyboard friendly:

    To be able to launch applications using hot keys you need to replace hildon-desktop with one that better support keyboard actions: run as root something like this

    Code:
    cd /root
    wget http://my.arava.co.il/~matan/770/n900/kf/hildon-desktop
    chmod a+x hildon-desktop
    mv /usr/bin/hildon-desktop.launch /usr/bin/hildon-desktop.launch.org
    mv hildon-desktop /usr/bin/hildon-desktop.launch
    After a reboot the new hildon-desktop will run which has two changes: an added hot key: <shift><ctrl>H takes you to home screen. Any other <shift><ctrl>letter is advertised on the D-bus.

    On option for intercepting the dbus messages and using them to launch applications is with dbus-scripts:

    Install dbus-scripts (from extras-devel).
    Copy the file http://my.arava.co.il/~matan/770/n900/kf/hdk-scripts to /etc/dbus-scripts.d and the file http://my.arava.co.il/~matan/770/n900/kf/hdk to /usr/local/bin (making sure it is executable).

    After this, <shift><ctrl>f launches FBreader, <shift><ctrl>b opens a new browser window, and a few other shortcuts. Currently configuring shortcuts is by editing the python script /usr/local/bin/hdk.

    I intend to continue working on hildon-desktop, making it possible to switch desktops and windows by keyboard.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Matan; 2010-01-19 at 18:53. Reason: Obsolete information.
    The Following 17 Users Say Thank You to Matan For This Useful Post:
    Addison, Bec, benny1967, bunanson, codeMonkey, F2thaK, fatalsaint, Helmuth, iKneaDough, jakiman, Lacedaemon, mivoligo, nymajoak, qole, schettj, titan, twaelti

     
    jebba | # 2 | 2009-12-24, 18:09 | Report

    Very cool.

    Can you please post the source code?

    I was kludging up something similar using xbindkeys.

    Thanks,

    -Jeff
    http://wiki.maemo.org/User:Jebba

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

     
    Matan | # 3 | 2009-12-24, 18:13 | Report

    The three files that I changed in hildon-desktop source package are there:

    http://my.arava.co.il/~matan/770/n900/kf/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to Matan For This Useful Post:
    Addison, Bec, benny1967, Helmuth, iKneaDough, jebba

     
    jebba | # 4 | 2009-12-24, 18:24 | Report

    Originally Posted by Matan View Post
    The three files that I changed in hildon-desktop source package are there:

    http://my.arava.co.il/~matan/770/n900/kf/
    Ah, ok i get it thanks!

    -Jeff

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Matan | # 5 | 2009-12-27, 21:46 | Report

    Current code is at http://my.arava.co.il/~matan/770/n900/kf/ (binary: hildon-desktop2, diff: hd2.diff, shortcuts file: hdk2). This now allows:
    ctrl-shift-h go to desktop, ctrl-shift-l go to application launcher, and left/right arrows working in desktop (to switch desktops).

    I hope other people would like to join this project.
    Assistance I'd like to have:

    1. If anyone can look at my code and tell me why hildon_desktop_activate() does not work as expected, please do.

    2. If anyone has ideas on how to make hildon-desktop (home screen, window switcher, application launcher) more keyboard friendly, please share them.

    3. Start identifying applications which can be improved (either at source level or at configuration level).

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

     
    DaSilva | # 6 | 2009-12-27, 21:55 | Report

    Have you released the patches / changes to the official Hildon GIT? Maybe it will be integrated in one of the next updates...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fpp | # 7 | 2009-12-27, 21:56 | Report

    Is there a secret art for keying in Ctrl+Shift combinations simply and quickly ? I also prefer using the keyboard, and I don't have big fingers, but in the time it takes me to successfully type, say, ctrl-shift-x, I can tap the screen all it takes to get to the xterm icon, several times :-)

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

     
    Matan | # 8 | 2009-12-27, 22:01 | Report

    I exchanged the Fn and shift keys. Again, I am open to better ideas.

    About including the changes in upstream - where is the upstream maintained?

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

     
    jebba | # 9 | 2009-12-27, 23:03 | Report

    Originally Posted by Matan View Post
    About including the changes in upstream - where is the upstream maintained?
    http://maemo.gitorious.org/
    http://maemo.gitorious.org/fremantle-hildon-desktop
    http://maemo.gitorious.org/fremantle...hildon-desktop

    Tons there--I think that last one is what you want, but didn't confirm it.

    -Jeff

    P.S. Thx for fixes @ my wiki page.
    http://wiki.maemo.org/User:Jebba

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

     
    fpp | # 10 | 2009-12-28, 17:52 | Report

    Originally Posted by Matan View Post
    I exchanged the Fn and shift keys. Again, I am open to better ideas.
    Ah, I'd missed that, sorry. Certainly makes the idea a whole lot more attractive ! :-)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 5 | 1   2     3   | Next | Last
vBulletin® Version 3.8.8
Normal Logout