The Following User Says Thank You to fate For This Useful Post: | ||
|
2009-12-23
, 22:49
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#32
|
|
2009-12-23
, 22:52
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#33
|
The Following 4 Users Say Thank You to jebba For This Useful Post: | ||
|
2009-12-23
, 23:03
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#34
|
#!/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
The Following 4 Users Say Thank You to jebba For This Useful Post: | ||
|
2009-12-23
, 23:24
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#35
|
#!/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"
#!/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: | ||
|
2009-12-23
, 23:37
|
Posts: 236 |
Thanked: 223 times |
Joined on Oct 2009
@ NE UK
|
#36
|
Ah, answering my own question, the keymap to look up symbol names is here:
/usr/share/X11/xkb/symbols/nokia_vndr/rx-51
The Following 3 Users Say Thank You to kwotski For This Useful Post: | ||
|
2010-01-03
, 14:38
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#37
|
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]"
|
2010-01-09
, 18:59
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#38
|
|
2010-01-10
, 09:13
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#39
|
The Following 2 Users Say Thank You to qole For This Useful Post: | ||
|
2010-01-10
, 14:34
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#40
|
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.
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.