![]() |
Why aren't you remapping your keys?
Quote:
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. |
Re: key bar for xterm
1 Attachment(s)
For some reason the full screen icon is not moving to the extreme right. Is there any way i can make it do that?
I tried Code:
gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar]" |
Re: key bar for xterm
Quote:
I have found how to bind key _sequences_: gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,t e s t]" Pressing that key will yield "test". But how to get key _combinations_ ? The obvious gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up, Page_Down,Control_L+bracketright]" didn't work :-( |
Re: key bar for xterm
1 Attachment(s)
Hi all,
Just came across this thread when looking for gconf options for the xterm. Exactly what I was looking for. I've used sswam's examples and stuck them all in one script, as well as adding a config of my own when using vi. It's dead easy to follow. Everything is in the one file and you run it with a -i option to create the symlinks. Example: Copy the script to /usr/bin Add your own confs. Run the script with -i to create the symlinks: Code:
Nokia-N900:~# setxterminalkeybar -i Code:
fs # full screen |
Re: key bar for xterm
Quote:
|
Re: key bar for xterm
Quote:
I think sometimes more usefull to have shortcuts for this things. So, i propose to use readline/bash magic: Code:
bind -x '"\C-fs"':'gconftool-2 -s /apps/osso/xterm/toolbar -t bool 0' |
Re: key bar for xterm
Maybe it would be interesting for the CSSU to ship a better default (but don't change it for users that already customized) setting for this, that at least uses the unused space.
I just descovered this today and was one of those cases where "I did not know it existed, but now I can't live without it". |
Re: key bar for xterm
Thanks for all these nice tips and for the hint to use gconf-editor from chinook....
I got it working on my device without issues. So, if anybody wants it, go here Greetz, ..::J4ZZ::.. |
Re: key bar for xterm
help, after adding some special charactor, the original arrow on the most left disappears...sometimes it will apear, but most time it disappears
how can I fix this? ps: I think there is an app in the repository to do key bar editting for me, but I can't find it now, anyone knows the name? |
Re: key bar for xterm
If anyone is interested, my lines :
gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,\`,|,>,~,^,%]" gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,grave,bar,greater,asciitilde,asciicircu m,percent]" gconftool-2 -s /apps/osso/xterm/reverse -t bool true gconftool-2 -s /apps/osso/xterm/font_size -t int 16 I thus have ` | > ~ ^ % in a reverse colored terminal (white on black) with a 16pt font. I wish I could make it bigger but CTRL is eating a lot of space on the keybar. Anyone knows how to remove it? Guylhem |
All times are GMT. The time now is 02:10. |
vBulletin® Version 3.8.8