summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Huang <shawn.p.huang@gmail.com>2009-02-23 18:45:31 +0800
committerPeng Huang <shawn.p.huang@gmail.com>2009-02-23 18:45:31 +0800
commit035272400f729b04e7be439974d6cc1b9eb4a005 (patch)
tree906d5e10be98902995ec5e8ed0d8e77c892a8ca0
parent7ba4f03df637ff1df2b441c5f754917b334130f7 (diff)
downloadibus-035272400f729b04e7be439974d6cc1b9eb4a005.tar.gz
ibus-035272400f729b04e7be439974d6cc1b9eb4a005.tar.xz
ibus-035272400f729b04e7be439974d6cc1b9eb4a005.zip
Install ibus.desktop in $(sysconfdir/xdg/autostart
-rw-r--r--bus/Makefile.am9
-rw-r--r--bus/ibus.desktop6
2 files changed, 11 insertions, 4 deletions
diff --git a/bus/Makefile.am b/bus/Makefile.am
index 03ddfb3..526ac21 100644
--- a/bus/Makefile.am
+++ b/bus/Makefile.am
@@ -42,8 +42,13 @@ AM_LDFLAGS = \
TESTS = \
test-matchrule \
$(NULL)
-
-desktop_DATA = ibus.desktop
+xdgautostart_DATA = \
+ ibus.desktop \
+ $(NULL)
+xdgautostartdir = $(sysconfdir)/xdg/autostart
+desktop_DATA = \
+ ibus.desktop \
+ $(NULL)
desktopdir = $(datadir)/applications
noinst_PROGRAMS = $(TESTS)
diff --git a/bus/ibus.desktop b/bus/ibus.desktop
index fd98021..6d932bc 100644
--- a/bus/ibus.desktop
+++ b/bus/ibus.desktop
@@ -7,5 +7,7 @@ Exec=ibus-daemon --xim
Icon=ibus
Terminal=false
Type=Application
-StartupNotify=false
-Categories=Utility;
+X-GNOME-Autostart-Phase=Panel
+X-GNOME-AutoRestart=false
+X-GNOME-Autostart-Notify=true
+X-KDE-autostart-after=panel