On Tue, 29 Sep 2009 13:58:50 +1000, Lex wrote:
Hi,
Solved!!
Cool!
By reading the GTK code :-( I eventually found that setting the environment variable GTK_IM_MODULE to "gtk-im-context-simple" will restore the GTK default behaviour.
Maybe we should add this to the docs.
A bit annoying because:
a. the value is undocumented by GTK (that I could find) b. if Geany is started by GUI menus I had to make a shell script in ~/bin (which is earlier in PATH than where Geany is) because the command specified in geany.desktop is execved not run in a shell so there is no way to set an environment variable in the desktop spec. The script sets the variable and runs the real Geany by full path.
Or simply set the environment variable globally, e.g. in ~/.bashrc, ~/.profile or whereever it's appropriate for the shell you use.
Regards, Enrico