[ILUG] xchat and Emacs keybindings - AGAIN !
Niall O Broin
niall at linux.ie
Sat Jul 2 13:49:20 IST 2005
We have visited this issue before, which is that of getting xchat to a) Not
close the current tab when you hit ^W and b) use ^A and ^E as used in Emacs.
If you google for this, you will eventually find references to adding a line
gtk-key-theme-name = "Emacs"
to your ~/.gtkrc-2.0 e.g. in http://www.gtk.org/gtk-2.[024].0-notes.html but
this has disappeared from http://www.gtk.org/gtk-2.6.0-notes.html .
In any event, this did not work with SuSE although the fix wasn't too bad. In
their implementation there was a different ~/.gtkrc-2.0 file depending on
what KDE theme you used e.g. ~/.gtkrc-2.0-keramik, ~/.gtkrc-2.0-Plastik etc.
But this is the world of opensource, where it often seems that every bloody
goalpost is labelled in large red blinking letters "Please move me". Under
SuSE 9.3, none of these files appear to be read, ^W closes my Xchat tabs
again, and I have no Emacs editing keys.
There is a (apparently new) file called .gtk_qt_engine_rc which has these
comments at the start:
# This file was generated by the Gtk Qt Theme Engine
# It will be recreated when you change your KDE icon theme or widget style
I added the line
gtk-key-theme-name = "Emacs"
in there but it seems that the file is not only recreated when you "change
your KDE icon theme or widget style" as after a restart of KDE my changes
were gone.
Anyboy have a clue here?
Niall
More information about the ILUG
mailing list