Package: im-config
Version: 0.3+squeeze1
Severity: wishlist
Tags: patch

Please add config file for X Input Method (xim). Some people want to use
X Window System's "Compose" key everywhere, and I think im-config should
make it easy to configure such settings:

    export XMODIFIERS=@im=none
    export GTK_IM_MODULE=xim
    export QT_IM_MODULE=xim

Package "im-switch" had this feature as config file default-xim (see
bug#457421) but the feature didn't seem to make it to "im-config". This
message contains a patch which should bring the xim option back.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages im-config depends on:
ii  dialog                    1.1-20100428-1 Displays user-friendly dialog boxe
ii  zenity                    2.30.0-1       Display graphical dialog boxes fro

Versions of packages im-config recommends:
ii  x11-common              1:7.5+8+squeeze1 X Window System (X.Org) infrastruc

im-config suggests no packages.

-- no debconf information
>From 1ce09b9306741a782ae3bcabda037468b16c38e3 Mon Sep 17 00:00:00 2001
From: Teemu Likonen <tliko...@iki.fi>
Date: Sat, 5 May 2012 19:15:25 +0300
Subject: [PATCH] Add config files for X Input method (xim)

This features used to be available in im-switch. See bug#457421.
---
 data/00_xim.conf |    6 ++++++
 data/00_xim.rc   |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)
 create mode 100644 data/00_xim.conf
 create mode 100644 data/00_xim.rc

diff --git a/data/00_xim.conf b/data/00_xim.conf
new file mode 100644
index 0000000..e819641
--- /dev/null
+++ b/data/00_xim.conf
@@ -0,0 +1,6 @@
+# vim: set sts=4 expandtab:
+IM_CONFIG_SHORT="Use X Input Method everywhere"
+IM_CONFIG_LONG="N/A"
+
+# This always return true
+package_menu () { :; }
diff --git a/data/00_xim.rc b/data/00_xim.rc
new file mode 100644
index 0000000..ef924a7
--- /dev/null
+++ b/data/00_xim.rc
@@ -0,0 +1,4 @@
+# vim: set sts=4 expandtab:
+export XMODIFIERS=@im=none
+export GTK_IM_MODULE=xim
+export QT_IM_MODULE=xim
-- 
1.7.2.5

Reply via email to