[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keybindings in GTK/GNOME2



Ivo Timmermans <ivo@o2w.nl> writes:

> Christian Marillat wrote:
> Ivo Timmermans <ivo@o2w.nl> writes:
> > Does anyone know if it is possible to customize some keybindings for
> > editing text in Gtk2 applications?  In particular, I would like
> > Control-H to behave as backspace, and Control-U should clear a text
> > entry field.  Is it at all possible to do this?
> 
> Yes, in the control center "Keyboard Shortcuts" entry.

> I can only select the Emacs theme there, and set some useless
> GNOME-wide keyboard shortcuts.  (Useless in the sense that I don't
> ever use these anyway.)

> See /usr/share/themes/Emacs/gtk-2.0-key/gtkrc and
> /usr/share/themes/Default/gtk-2.0-key/gtkrc for exemple configuration
> files.

> The Default key theme file is almost empty.  The Emacs one is somewhat
> helpful, but where can I find what values are accepted, and what they
> mean?

I don't know. I can't find any documentation for that or how to write a gtk2
theme.

Christian



Reply to: