summaryrefslogtreecommitdiffstats
path: root/launcher
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-07-23 16:08:42 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-07-23 16:08:42 +0800
commit7fdd7ed8c2e38070603da034cd9019aad1e01faa (patch)
treec5fb908c7f54f8a6341224c57a7244e04405b561 /launcher
parent35db4e965c5f795ef7dea405a07ed4e0f77f53cf (diff)
downloadibus-7fdd7ed8c2e38070603da034cd9019aad1e01faa.tar.gz
ibus-7fdd7ed8c2e38070603da034cd9019aad1e01faa.tar.xz
ibus-7fdd7ed8c2e38070603da034cd9019aad1e01faa.zip
Start ibus-x11 in ibus script.
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ibus.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/launcher/ibus.in b/launcher/ibus.in
index 80a620c..71e8029 100644
--- a/launcher/ibus.in
+++ b/launcher/ibus.in
@@ -23,6 +23,7 @@ import sys
import time
daemon = "@prefix@/libexec/ibus-daemon"
+x11 = "@prefix@/libexec/ibus-x11"
panel = "@prefix@/libexec/ibus-panel"
conf = "@prefix@/libexec/ibus-gconf"
@@ -38,6 +39,13 @@ except:
time.sleep (1)
try:
+ print "start ibus-x11"
+ os.spawnv (os.P_NOWAIT, x11, [x11])
+except:
+ print >> sys.stderr, "start ibus-x11 failed"
+ sys.exit (1)
+
+try:
print "start ibus-panel"
os.spawnv (os.P_NOWAIT, panel, [panel])
except: