On 05/13/2014 02:28 PM, Gunnar Hjalmarsson wrote:
On 2014-05-13 19:55, Swarup wrote:
I wasn't sure what to do with the terminal command you have given:

$ env GTK_IM_MODULE="xim" gedit

I tried pasting it into a terminal window and restarting scim, logging
out and back in-- but there was no change.
Right. It does not change the GTK_IM_MODULE variable persistently, so if
you re-login it's all reset. But if you simply start gedit with that
command and start typing, it should work.

One way to make the workaround persistent on an Ubuntu system (don't
know about Debian) is to put a wrapper in the ~/bin folder:

$ cat ~/bin/gedit
#!/bin/sh
export GTK_IM_MODULE=xim
exec /usr/bin/gedit "$@"

and make the file executable with

chmod +x ~/bin/gedit

Then, however gedit is started, the GTK_IM_MODULE will be 'xim' in the
gedit process instead of 'scim', and the backspace and delete keys will
work as expected.

Just to make sure it is clear: I only tested the command "env GTK_IM_MODULE="xim" gedit". When it gave the results described above, then I did not attempt to make the workaround persistent using the subsequent instructions.

Swarup


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to