[openbox] Setting up key bindings for extended characters
Mikael Magnusson
mangosoft at comhem.se
Sat Jan 27 12:40:56 EST 2007
On Sat, 27 Jan 2007, David Courtney wrote:
> I'm trying to learn Spanish and I'm looking for a convenient way to
> access the accented characters that are used in the Spanish language.
> I know about turning on num lock, and then holding down ALT and typing
> in a key sequence. But ... for some reason, that's not working for me
> in X.org / Openbox ... (though it works if I'm outside of X.org). But
> it doesn't really matter because I'm looking for something more
> convenient.
>
> I was thinking about setting up a keybind chain like CTRL+ALT, then a
> to give me á. CTRL+ALT, then ? to give me ¿, and so on. I can work
> out the exact key sequence on my own.
>
> My question then is concerning how to edit my rc.xml file to do what I
> want. Obviously I would set up a keybind, and I'm even familiar with
> setting up a chain. So I would want something like:
>
> <keybind key="C-A">
> <keybind key="a">
> <action name="?????"/>
> </keybind>
> </keybind>
>
> So the exact question is, what would the action be? How do I make the
> á character print/echo to screen upon completion of the command
> sequence?
>
> P.S. If someone has a better idea that is completely different than
> what I thought of, I'm open to suggestions.
Openbox has absolutely no mechanism for sending characters to clients. You
may want to look at
http://people.uleth.ca/~daniel.odonnell/Blog/custom-keyboard-in-linuxx11 ,
particularly the section "Customising compose key sequences."
--
Mikael Magnusson
More information about the openbox
mailing list