Notices


Reply
Thread Tools
Posts: 3 | Thanked: 16 times | Joined on Dec 2009
#31
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.
 

The Following User Says Thank You to fate For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#32
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
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#33
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

Last edited by jebba; 2009-12-23 at 22:54.
 

The Following 4 Users Say Thank You to jebba For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#34
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
 

The Following 4 Users Say Thank You to jebba For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#35
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
 

The Following 12 Users Say Thank You to jebba For This Useful Post:
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#36
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 ?
 

The Following 3 Users Say Thank You to kwotski For This Useful Post:
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#37
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]"
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#38
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!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#39
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.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-01-10 at 09:51.
 

The Following 2 Users Say Thank You to qole For This Useful Post:
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#40
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?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:54.