Notices


Reply
Thread Tools
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#11
Ok, here is my final key bar layout. I think (many of) you'll agree that these are very useful keys to have on the key bar for the N900.



And just to collect the codes in one place:

CR = KP_Enter (for hitting enter when the keyboard isn't out)
| = bar
~ = asciitilde
> = greater
` = grave dead_grave (that's my creepy favorite! Note: needs to be hit twice for backquote)
__________________
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; 2009-12-04 at 23:13. Reason: changed dead_grave to grave at the request of others
 

The Following 13 Users Say Thank You to qole For This Useful Post:
Posts: 251 | Thanked: 70 times | Joined on Nov 2009
#12
what about f1-f12?
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#13
Originally Posted by lma View Post
The following works to add the "|" button on the Fremantle osso-xterm bar:

Code:
~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,PgUp,PgDn,|]"
~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar]"
I should probably also mention the open bug for this, you know what to do ;-)
Edit!
Originally Posted by kwotski (I am an idiot sometimes)
I've tried these commands, but to no effect..

Here is the output from the corresponding gconftool-2 gets:

Code:
~ $ gconftool-2 -g /appa/osso/xterm/key_labels
[Tab,Esc,PgUp,PgDn,|]
~ $ gconftool-2 -g /appa/osso/xterm/keys
[Tab,Escape,Page_Up,Page_Down,Bar]
After exiting the terminal and starting up a new one, there's no change visible in the key bar. Did I miss something?
Yes, you idiot, it's /apps not /appa ffs! Works now. Thanks.

Also, since you people seem to know what you're talking about... what the heck is that NW-facing arrow at the bottom left of the XTerm about? Doesn't seem to do anything here.. Edit: Ok, nevermind that, I see it enables text selection now

Last edited by kwotski; 2009-12-03 at 17:57.
 
Posts: 474 | Thanked: 283 times | Joined on Oct 2009 @ Oxford, UK
#14
I agree the extra keys are very useful.

With so few lines in landscape mode, it would be helpful to put the key bar to one side or the other, instead of underneath. Or indeed, a whole sidebar of running apps/widgets - that would be great for those intensive text-editing Mutt using sessions
 

The Following 3 Users Say Thank You to jjx For This Useful Post:
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#15
Ok, now it's daytime and my eyes are working better, I've spotted the subtle error in my post above and got this working.

I decided on ^ (circumflex) rather than <enter> but otherwise the same choices as qole's, but done with the commandline as above:

Code:
~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,dead_grave,asciicircum]"
~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
giving:
Attached Images
 
 

The Following 8 Users Say Thank You to kwotski For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#16
kwotski: what do you use the ^ hat for?
__________________
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!
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#17
Originally Posted by qole View Post
kwotski: what do you use the ^ hat for?
It has some use in regular expressions (beginning of a string, or "not" inside a character class), also in shell expansion (related to the regexp use) for example 'ls *[^z]' : list all files with name at least one character long, not ending in 'z'. Of course, you need the [ and ] mapped for that to be really useful!

BTW, I discovered that if you drop the dead_ from dead_grave and just put grave, you don't have to press it twice!
 

The Following 2 Users Say Thank You to kwotski For This Useful Post:
Posts: 4 | Thanked: 8 times | Joined on Nov 2009
#18
How can I find a list of the available key names? Gconf is new to me...
 
Posts: 3 | Thanked: 13 times | Joined on Dec 2009 @ St Albans, UK
#19
Originally Posted by qole View Post
kwotski: what do you use the ^ hat for?
Another use for the ^ character (at least it most shells e.g. tcsh/bash) is for quick corrections of typos. For example, if you accidentally type:

Code:
less thisisaveryloNGfilename.txt
then, rather than either re-typing the whole line, or using the arrow keys lots of times to get to the right place, you can change the "NG" to "ng" by typing just:

Code:
^NG^ng
 

The Following 12 Users Say Thank You to psmears For This Useful Post:
Posts: 12 | Thanked: 23 times | Joined on Nov 2009 @ San Francisco, CA
#20
Originally Posted by kwotski View Post
Code:
~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,dead_grave,asciicircum]"
~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
dead_grave refers to the dead key for the grave accent (aka, backtick).

If you instead use:

Code:
~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,grave,asciicircum]"
~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
"dead_grave" > "grave"

you will only have to press ` once to get a ` symbol.
 

The Following 5 Users Say Thank You to gwax For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 08:34.