chiark / gitweb /
dot/profile: Persuade Gtk and QT programs to use X compose sequences.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 27 Apr 2018 10:17:46 +0000 (11:17 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 27 Apr 2018 10:17:46 +0000 (11:17 +0100)
Without this, apparently, they use (different!) built-in hardwired
mappings.  This is crazy.  The XIM sequences are user-editable and
everything.

dot/profile

index d9baf4b9b1d2754aaca6a2e739ecb3d088763276..925127d447934c8c6286983fb251cf1bb79f3846 100644 (file)
@@ -257,6 +257,10 @@ OOO_FORCE_DESKTOP=gnome; export OOO_FORCE_DESKTOP
 ## Hack Qt-ish things to be unstoatly.
 QT_STYLE_OVERRIDE=gtk2; export QT_STYLE_OVERRIDE
 
+## Use X11 input method (including compose key sequences) everywhere.
+GTK_IM_MODULE=xim; export GTK_IM_MODULE
+QT_IM_MODULE=xim; export QT_IM_MODULE
+
 ## Configure `ps'.
 PS_PERSONALITY=gnu; export PS_PERSONALITY