From: Peng Huang Date: Mon, 23 Feb 2009 08:36:20 +0000 (+0800) Subject: Install ibus.sh to /etc/X11/xinitrc.d. X-Git-Tag: 1.1.0.20090225~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ba4f03df637ff1df2b441c5f754917b334130f7;p=platform%2Fupstream%2Fibus.git Install ibus.sh to /etc/X11/xinitrc.d. --- diff --git a/Makefile.am b/Makefile.am index 47a21d0..a26ee3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,11 +40,17 @@ ACLOCAL_AMFLAGS = -I m4 pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = ibus-1.0.pc +xinitrc_SCRIPTS = \ + ibus.sh \ + $(NULL) +xinitrcdir = /etc/X11/xinit/xinitrc.d + EXTRA_DIST = \ autogen.sh \ ibus-1.0.pc.in \ ibus.spec.in \ python-config.py \ + ibus.sh \ $(NULL) noinst_DIST = \ diff --git a/ibus.sh b/ibus.sh new file mode 100644 index 0000000..c42f6a3 --- /dev/null +++ b/ibus.sh @@ -0,0 +1,6 @@ +[ -z "$XIM" ] && export XIM="ibus" +[ -z "$XMODIFIERS" ] && export XMODIFIERS="@im=ibus" +[ -z "$GTK_IM_MODULE" ] && export GTK_IM_MODULE="ibus" +[ -z "$QT_IM_MODULE" ] && export QT_IM_MODULE="xim" +[ -z "$XIM_PROGRAM" ] && export XIM_PROGRAM="ibus-daemon" +[ -z "$XIM_ARGS" ] && export XIM_ARGS="--daemonize --xim"