Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 keyboard friendly

    Reply
    Page 2 of 5 | Prev |   1   2   3     4   | Next | Last
    iKneaDough | # 11 | 2009-12-31, 14:12 | Report

    Originally Posted by Matan View Post
    I exchanged the Fn and shift keys. Again, I am open to better ideas.
    Can you please detail how to swap the Fn and Shift keys?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Matan | # 12 | 2009-12-31, 14:21 | Report

    Edit the file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51

    find:

    Code:
        key <LFSH>  {
            type[Group1] = "ONE_LEVEL",
            symbols[Group1] = [     Shift_L ]
        };
        modifier_map Shift { Shift_L };
    Replace LFSH with RALT. This makes FN behave like shift.

    Then find
    Code:
    include "level3(ralt_switch)"
    remove this line, and replace it with:
    Code:
    key <LFSH> {
        type[Group1]="ONE_LEVEL",
        symbols[Group1] = [ ISO_Level3_Shift ]
        };
      modifier_map Mod5   { ISO_Level3_Shift };
    This makes the shift key behave as FN.

    After editing rx-51, use the command setxkbmap to activate it.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Matan For This Useful Post:
    codeMonkey, F2thaK, iKneaDough, jebba

     
    iKneaDough | # 13 | 2009-12-31, 14:48 | Report

    Thanks Matan!

    I was already using your modified keyboard from here.

    In your modified file I'm assuming the code to switch input methods using Fn + VolumeKeys is from this part:
    Code:
    key <FK07>	{ [	F8,	F8,	ISO_Level5_Lock, ISO_Level5_Lock	] };
        key <FK08>	{ [	F7, 	F7,	ISO_Level5_Lock, Iso_Level5_Lock	] };
    and this part:
    Code:
    // Fn key (right alt) switches to 3rd level
        include "level3(ralt_switch)"
    
    	modifier_map Mod3 { ISO_Level5_Lock };
    If I follow your above instructions for swapping the Fn and Shift, what would I need to add in order to switch input methods using Fn or Shift with the VolumeKeys?

    Or is there a way to enable switching the input methods using Ctrl + Space, without modifying the VolumeKeys?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by iKneaDough; 2009-12-31 at 14:51.

     
    Matan | # 14 | 2009-12-31, 15:00 | Report

    I am not sure about switching input methods. What you see works for my Hebrew keymap, which uses EIGHT_LEVEL. ctrl-space interpretation is done at a higher level, not at xkb level.

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

     
    iKneaDough | # 15 | 2009-12-31, 15:04 | Report

    Originally Posted by Matan View Post
    I am not sure about switching input methods. What you see works for my Hebrew keymap, which uses EIGHT_LEVEL. ctrl-space interpretation is done at a higher level, not at xkb level.
    So if you have your Fn and Shift swapped, how do you currently switch to Hebrew?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Matan | # 16 | 2009-12-31, 15:17 | Report

    Another step in making hildon-desktop keyboard friendly:

    http://my.arava.co.il/~matan/770/n90...ildon_desktop3

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

    Now keys work in the application menu (launcher) and window switcher:
    q - selects the top left thumbnail/icon
    w - selects the top, second from left
    ...
    a - selects the left of the second row

    And so on. In addition, in the window switcher pressing shift or FN together with the letter closes the window instead of moving to it.

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

     
    jebba | # 17 | 2009-12-31, 15:23 | Report

    So how would one by editing /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 make the Euro or Sterling symbol into tab?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    iKneaDough | # 18 | 2009-12-31, 15:48 | Report

    Originally Posted by jebba View Post
    So how would one by editing /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 make the Euro or Sterling symbol into tab?
    Change this line:
    Code:
    key <AB01> { [ z, Z, sterling, sterling ] };
    to this:
    Code:
    key <AB01> { [ z, Z, Tab, Tab ] };

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

     
    Matan | # 19 | 2010-01-08, 15:06 | Report

    Here's the latest version: http://my.arava.co.il/~matan/770/n90...ildon-desktop4
    Source: http://my.arava.co.il/~matan/770/n900/kf/hd4.diff

    To install, run as root:
    Code:
    cd /root
    wget http://my.arava.co.il/~matan/770/n900/kf/hd.gconf
    . ./hd.gconf
    wget  http://my.arava.co.il/~matan/770/n900/kf/hildon-desktop4
    mv /usr/bin/hildon-desktop.launch /usr/bin/hildon-desktop.launch1
    mv /root/hildon-desktop4 /usr/bin/hildon-desktop.launch
    /etc/init.d/hildon-desktop stop
    sleep 2
    /etc/init.d/hildon-desktop start
    The keyboard related behaviour of hildon-desktop is now configured by 7 gconf boolean keys:
    • /apps/osso/hildon-desktop/key-actions/default_launcher_positions
      If this key is false, the default positions of the icons in the launcher are disabled, so you can reorder them arbitrarily.
    • /apps/osso/hildon-desktop/key-actions/home_contacts_phone
      If this key is false, the phones and contacts applications will not be called when a key is pressed while in the home screen.
    • /apps/osso/hildon-desktop/key-actions/ctrl_backspace
      If this key is false then ctrl-backspace is free for applications to use, instead of the default behaviour of jumping to task navigator.
    • /apps/osso/hildon-desktop/key-actions/preset_shift_ctrl
      If this key is true, ctrl-shift-x opens an xterm, ctrl-shift-p saves an image of the screen, ctrl-shift-n toggles composite mode and ctrl-shift-h jumps to home screen.
    • /apps/osso/hildon-desktop/key-actions/dbus_shift_ctrl
      If this key is true, then ctrl-shift-letter combinations are reported on the d-bus, allowing implementation of global shortcut keys. H,N,P,X are reported on the dbus only if the previous key is false.
    • /apps/osso/hildon-desktop/key-actions/launcher_navigator_accel
      If this is true, icons in the launcher and task navigator can be selected by pressing corresponding keys:
      • q selects leftmost icon in top row.
      • w selects second icon from left in top row.
      • t selects fifth icon from left in top row.
      • s selects second from left icon in second row.
      • z selects leftmost icon in third row.
      • v selects fourth icon from left in the third row.
      etc.
      In the task navigator, if the letter is pressed with shift or FN, the corresponding task is closed, instead of switched to.
    • /apps/osso/hildon-desktop/key-actions/dbus_launcher_navigator
      If this key is true, a press of a letter key while in task navigator or launcher is reported on the d-bus. If the previous key is true, only letters not corresponding to icons are reported. If home_contacts_phone key is false, then also keys pressed while in home screen are reported.
    • Non-configurable changes:
      • Left and right arrows change desktops in the home screen.
      • A d-bus signal set_state allows other programs to select the state (application, home screen, task navigator, launcher).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to Matan For This Useful Post:
    Alan_Peery, codeMonkey, F2thaK, iKneaDough, jayford, qole, sjgadsby

     
    codeMonkey | # 20 | 2010-01-09, 08:54 | Report

    Fantastic work, Matan!
    Can you clarify how to re-order the launcher applications? I assumed it was through /etc/xdg/menus/hildon.menu, but the order there doesn't correspond with the current order in the launcher.

    Also, any chance of a config option for the speed of the transition between desktops? It takes a while at the moment.

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

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