Re: To be or not to be (ordinary keys ~ ^ `)
- From: Florian Kulzer <florian.kulzer+debian@xxxxxxx>
- Date: Mon, 26 May 2008 18:03:43 +0200
On Mon, May 26, 2008 at 06:34:13 -0300, Gabriel Parrondo wrote:
El lun, 26-05-2008 a las 10:03 +0200, Luis Fernando Llana Diaz escribió:
Hello,
Since some months there has been a change in the behavior of the combination
AltGr+4 of the spanish keyboard. See, bug #477197
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477197
I am glad that change will be reverted. But I would like to make a change in
the configuration of the keyboard, that I do not know how to do. In Spanish
there are no chars like â, è (I think it is the first time I written the è
char since I was in Italy 15 years ago). But I ussually work with LaTeX, and
therefore I use the chars ^ and ` much more often. It would be nice to be
able to write those chars just by simply typing shift+` or ` not like now
that I have to type shift+`+space or `+space. I do not want make a global,
since that is the ordinary behavior of the windows keyboard, even Microsoft
systems behave like that.
My question is the following, which is the file I have to modify to change
that behavior. Where there are simple instructions to modify it?
For spanish keyboard, it's /etc/X11/xkb/symbols/es. To do what you ask,
for example, you have to modify the line:
key <AD11> { [ dead_grave, dead_circumflex ],
as follows:
key <AD11> { [ grave, dead_circumflex ],
That would make the change system-wide. If you only want your user to
see this behaviour, you can use xmodmap.
If you want shift+` to print the actual ` character, use:
xmodmap -e 'keycode 34 = dead_grave grave'
You can also make ` (it's called grave) print the grave and shift+`
"print" dead grave (which is the current behaviour) with:
xmodmap -e 'keycode 34 = grave dead_grave'
I would use something like
xmodmap -e "keycode 34 = grave asciicircum bracketleft degree bracketleft degree"
or the opening square bracket with AltGr + ` will not work anymore.
The "dead tilde" problem of AltGr + 4 can be fixed with:
xmodmap -e "keycode 13 = 4 dollar asciitilde dollar asciitilde dollar"
You can always put the '...' part of this commands in ~/.xmodmaprc and
most DEs will load it for you on login.
If that does not work, check out the section CUSTOMIZING THE STARTUP
PROCEDURE in the manpage of "Xsession". There is an example showing how
to add both system-wide and user-specific Xmodmaps.
Read 'man xmodmap' for more info.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- To be or not to be (ordinary keys ~ ^ `)
- From: Luis Fernando Llana Diaz
- Re: To be or not to be (ordinary keys ~ ^ `)
- From: Gabriel Parrondo
- To be or not to be (ordinary keys ~ ^ `)
- Prev by Date: Re (3): reply from SFR Canada, Philips EM400T
- Next by Date: Re: web browser in icedove
- Previous by thread: Re: To be or not to be (ordinary keys ~ ^ `)
- Next by thread: Re: To be or not to be (ordinary keys ~ ^ `)
- Index(es):
Relevant Pages
|