[oe-commits] Koen Kooi : xinput-calibrator: fix XDG launch
git at git.openembedded.org
git at git.openembedded.org
Tue May 6 17:01:05 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 64e0c8a7585a36964988f2f00ac89eda514d5f7b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=64e0c8a7585a36964988f2f00ac89eda514d5f7b
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Wed Apr 30 11:33:23 2014 +0200
xinput-calibrator: fix XDG launch
In the move from meta-oe to OE-core XDG based launched was dropped
without noting it in the commit message, so fix that regression.
Gnome-session will now launch the calibrator again.
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
index 3f97e19..95abfce 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
@@ -25,7 +25,11 @@ do_install_append() {
install -d ${D}${sysconfdir}/X11/Xsession.d/
install -m 0755 ${WORKDIR}/30xinput_calibrate.sh ${D}${sysconfdir}/X11/Xsession.d/
+
+ install -d ${D}${sysconfdir}/xdg/autostart
+ sed -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' ${S}/scripts/xinput_calibrator.desktop > ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop
}
+FILES_${PN} += "${sysconfdir}/xdg/autostart"
RDEPENDS_${PN} = "xinput formfactor"
RRECOMMENDS_${PN} = "pointercal-xinput"
More information about the Openembedded-commits
mailing list