|
2010-11-14
, 09:22
|
Posts: 306 |
Thanked: 106 times |
Joined on Feb 2010
|
#72
|
gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar]"
|
2010-11-21
, 20:30
|
Posts: 17 |
Thanked: 11 times |
Joined on Nov 2010
|
#73
|
The Following User Says Thank You to alainlux For This Useful Post: | ||
|
2011-01-14
, 15:58
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#74
|
Nokia-N900:~# setxterminalkeybar -i Installing shortcuts for setxterminalkeybar : tb ... added kd ... added ks ... added kc ... added kb ... added kv ... exists kvi ... added Nokia-N900:~#
fs # full screen kvi # keyboard for vi vi myfile # edit the file tb # bring back the toolbar kd # keyboard default
The Following 8 Users Say Thank You to gregoranderson For This Useful Post: | ||
|
2011-02-04
, 05:02
|
Posts: 71 |
Thanked: 88 times |
Joined on Dec 2009
|
#75
|
|
2011-02-27
, 11:21
|
Posts: 3 |
Thanked: 1 time |
Joined on Feb 2011
|
#76
|
Then when I want to edit a file, I just run:
Code:fs # full screen kvi # keyboard for vi vi myfile # edit the file tb # bring back the toolbar kd # keyboard default
bind -x '"\C-fs"':'gconftool-2 -s /apps/osso/xterm/toolbar -t bool 0' bind -x '"\C-tb"':'gconftool-2 -s /apps/osso/xterm/toolbar -t bool 1' bind -x '"\C-xt"':'/usr/bin/osso-xterm'
|
2011-03-15
, 20:55
|
Posts: 43 |
Thanked: 45 times |
Joined on May 2010
|
#77
|
|
2011-03-18
, 22:09
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#78
|
|
2011-03-26
, 17:10
|
Posts: 26 |
Thanked: 3 times |
Joined on Jan 2009
|
#79
|
|
2011-10-02
, 21:02
|
Posts: 40 |
Thanked: 25 times |
Joined on Sep 2011
|
#80
|
You probably already know that you can redefine your keyboard by modifying /usr/share/X11/xbd/symbols/nokia_vndr/rx-51 (you just have to go to root, and also make a backup in case anything is screwed up). It's a long config file, and the basic config starts around line 380 or 390 or something like that.
What you might not know is that you can map keys to the combination Shift+Meta+<key>. For example, the H key is mapped by default to these four characters:
h H ( (
That means: if you just press the key, it means "h"; with Shift it means "H"; with Fn it means "("; with Shift+Fn, it also means "(".
I've never figured out why Fn+<key> and Shift+Fn+<key> should map to the same thing, but that's the way it is for all of the keys ... until I changed it, of course.
So, you basically have almost 30 keys which you can combine with Shift+Meta to redefine as you like. For your % key, for example, I've redefined it to Shift+Fn+O.
The nice thing about using this remapped keyboard is that it's easy to press Shift+Fn with one finger, and then press the other key, so it's almost as easy as just hitting Shift or Meta alone --not to mention that you don't need to keep moving your fingers to the screen.
With this remapping, I actually got rid of the @ sign on the space bar and remapped it back to space bar (I find it ridiculous that I lock the Fn key to type numbers and then can't type a space). Same with : and . keys. I've put all eleven commonly used symbols `^%|~ []{}<> on the Shift+Fn key combos and still have room left over for other symbols.
Am I missing something? Is there a reason to avoid remapping Shift+Fn? I mean, it doesn't interfere with any other combos like the Shift+Ctrl keys.