Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    key bar for xterm

    Reply
    Page 4 of 9 | Prev |   2     3   4   5     6   | Next | Last
    fate | # 31 | 2009-12-15, 15:57 | Report

    If you wanted to add it to the bar, the key name is 'bar', and several posts above tell you how to use gconftool-2 to put that on the toolbar.

    If you want to map it to the hardware keys (in place of, say, the euro symbol), the keyboard remapping thread should be able to help you out there.

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

     
    jebba | # 32 | 2009-12-23, 22:49 | Report

    How about [, ], {, } ?

    Also, a couple people have asked, but I haven't seen an answer. Where is a full list of the possible characters?

    Thanks,

    -Jeff

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jebba | # 33 | 2009-12-23, 22:52 | Report

    Originally Posted by jebba View Post
    Where is a full list of the possible characters?
    Ah, answering my own question, the keymap to look up symbol names is here:

    /usr/share/X11/xkb/symbols/nokia_vndr/rx-51

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jebba; 2009-12-23 at 22:54.
    The Following 4 Users Say Thank You to jebba For This Useful Post:
    ersanpermana, iKneaDough, lugkhast, mosiomm

     
    jebba | # 34 | 2009-12-23, 23:03 | Report

    Here's my (lamish) script. Good if you need Spanish ó é ñ, etc and unix

    Code:
    #!/bin/sh
    
    KEYS=`gconftool-2 --get \
    	/apps/osso/xterm/keys`
    
    KEY_LABELS=`gconftool-2 --get \
    	/apps/osso/xterm/key_labels`
    
    echo "Current settings:"
    echo "KEYS $KEYS"
    echo "KEY_LABELS $KEY_LABELS"
    
    # Default
    NEW_KEYS="[Tab,Escape,Page_Up,Page_Down]"
    NEW_KEY_LABELS="[Tab,Esc,PgUp,PgDn]"
    
    # Custom 
    # see here for a possible list:
    # /usr/share/X11/xkb/symbols/nokia_vndr/rx-51
    NEW_KEYS="[Tab,Escape,bar,dead_tilde,greater,dead_acute,grave]"
    NEW_KEY_LABELS="[Tab,Esc,|,~,>,´,\`]"
    
    echo "New settings:"
    echo "KEYS $NEW_KEYS"
    echo "KEY_LABELS $NEW_KEY_LABELS"
    
    gconftool-2 --set -t list  --list-type string \
    	/apps/osso/xterm/keys \
    	$NEW_KEYS
    
    gconftool-2 --set -t list  --list-type string \
    	/apps/osso/xterm/key_labels \
    	$NEW_KEY_LABELS

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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to jebba For This Useful Post:
    DojwqIO, fabbro, iKneaDough, lugkhast

     
    jebba | # 35 | 2009-12-23, 23:24 | Report

    A bit off topic, but to make the screen black & green:

    Code:
    #!/bin/sh
    
    gconftool-2 --set --type bool \
            /apps/osso/xterm/reverse \
            false
    
    gconftool-2 --set --type string \
            /apps/osso/xterm/background \
            "#000000"
    
    gconftool-2 --set --type string \
            /apps/osso/xterm/foreground \
            "#00FF00"
    To turn on & off the toolbar:

    Code:
    #!/bin/sh
    
    SETTING=`gconftool-2 --get \
            /apps/osso/xterm/toolbar`
    
    if [ $SETTING == "true" ]
            then NEWSETTING="false"
            else NEWSETTING="true"
    fi
    
    gconftool-2 --set --type bool \
            /apps/osso/xterm/toolbar \
            $NEWSETTING

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 12 Users Say Thank You to jebba For This Useful Post:
    adrianp, C.Whiteham, DojwqIO, iKneaDough, kwotski, Mentalist Traceur, mikhmv, mosiomm, petnetti, sswam, stlpaul, udaychaitanya16

     
    kwotski | # 36 | 2009-12-23, 23:37 | Report

    Originally Posted by jebba View Post
    Ah, answering my own question, the keymap to look up symbol names is here:

    /usr/share/X11/xkb/symbols/nokia_vndr/rx-51
    Though there are some names that work, but aren't in there. e.g. asciicircum (which is a non-dead ^).

    Of course you can edit that file and then load it up with setxkbmap as has been mentioned.

    Some other bits, and a sample alternate rx-51 file are in http://talk.maemo.org/showthread.php...864#post410864 and thereabouts.

    I guess the set of available codes might have something to do with the files /usr/share/X11/locale/<your charset>/Compose ?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to kwotski For This Useful Post:
    adrianp, iKneaDough, jebba

     
    les_garten | # 37 | 2010-01-03, 14:38 | Report

    My PgUp and PgDn don't work on the bar. Any idea why?

    Code:
    gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,PgUp,PgDn,|,CR,~,>,']"
    
    gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar,KP_Enter,asciitilde,greater,grave]"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    les_garten | # 38 | 2010-01-09, 18:59 | Report

    Bump to see if I can get an answer to my question above.

    My Page up and Page down don't work on my Key Bar, any ideas why? All the other keys work.

    Thanx!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 39 | 2010-01-10, 09:13 | Report

    les_garten:

    I googled "keysyms list" and got this hit. It suggests that you should be using Prior and Next (or PageUp and PageDown).

    EDIT: This page suggests KP_Prior and KP_Next might work if plain Prior and Next don't.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qole; 2010-01-10 at 09:51.
    The Following 2 Users Say Thank You to qole For This Useful Post:
    les_garten, Mentalist Traceur

     
    les_garten | # 40 | 2010-01-10, 14:34 | Report

    Originally Posted by qole View Post
    les_garten:

    I googled "keysyms list" and got this hit. It suggests that you should be using Prior and Next (or PageUp and PageDown).

    EDIT: This page suggests KP_Prior and KP_Next might work if plain Prior and Next don't.
    Hi Qole,
    Thanx for the help, strange that none of these work. Any other ideas?

    Edit | Forward | Quote | Quick Reply | Thanks

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