summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 05:59:26 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-30 05:59:26 +0000
commitfacefa8a23aaa613f075703569f52f58b3c58c7e (patch)
tree87241a0f35997bed771b19bc00116fe2e9d9310f /packages
parentf0ade73c77036bea989835d91e38af494a1b26d9 (diff)
matchbox-applet-startup-monitor 0.1: Start from Xsession.
* Apparently, OpenedHand design it to be started from session, not as a normal panel app via panel manager, and that can't be patched in easily. So, give up on that, and add Xsession.d file instead.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor2
-rw-r--r--packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop7
-rw-r--r--packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb10
3 files changed, 6 insertions, 13 deletions
diff --git a/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor b/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor
new file mode 100755
index 0000000000..2fb859650f
--- /dev/null
+++ b/packages/matchbox-applet-startup-monitor/files/85mb-applet-startup-monitor
@@ -0,0 +1,2 @@
+#!/bin/sh
+mb-applet-startup-monitor &
diff --git a/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop b/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop
deleted file mode 100644
index fa93f768db..0000000000
--- a/packages/matchbox-applet-startup-monitor/files/mb-applet-startup-monitor.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Name=Startup Monitor
-Comment=Panel based startup monitor
-Exec=mb-applet-startup-monitor
-Type=PanelApp
-Icon=hourglass-1.png
-Categories=Panel;Utility;MB;
diff --git a/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb b/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb
index 86a9959753..dba5566834 100644
--- a/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb
+++ b/packages/matchbox-applet-startup-monitor/matchbox-applet-startup-monitor_0.1.bb
@@ -3,17 +3,15 @@ LICENSE = "GPL"
DEPENDS = "libmatchbox startup-notification"
SECTION = "x11/wm"
-PR = "r2"
+PR = "r4"
SRC_URI = "http://projects.o-hand.com/matchbox/sources/mb-applet-startup-monitor/${PV}/mb-applet-startup-monitor-${PV}.tar.gz \
- file://mb-applet-startup-monitor.desktop"
+ file://85mb-applet-startup-monitor"
S = "${WORKDIR}/mb-applet-startup-monitor-${PV}"
inherit autotools pkgconfig
-FILES_${PN} = "${bindir}/* ${datadir}/applications ${datadir}/pixmaps"
-
do_install_append() {
- install -d ${D}${datadir}/applications
- install -m 0644 ${WORKDIR}/mb-applet-startup-monitor.desktop ${D}${datadir}/applications/
+ install -d ${D}${sysconfdir}/X11/Xsession.d
+ install -m 0755 ${WORKDIR}/10mb-applet-startup-monitor ${D}${sysconfdir}/X11/Xsession.d/
}