Revert "xinput-calibrator: fix XDG launch"
PATCH 1/1 Revert "xinput-calibrator: fix XDG launch"
This reverts commit 6464bcd67d10ab9967ac83c27c413c1014be707e.
If another GUI xdg/autostart app runs, the xinput-calibrator may be hidden. And touching the GUI app causes the wrong input data for calibration. So it is not save to run xinput-calibrator in xdg/autostart.
--- meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 ---- 1 file changed, 4 deletions(-)
meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb +0 -4
@@ -27,11 +27,7 @@ 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"
Signature · 1 line
1.9.1
Quoted 5 lines · Jun Zhu
This reverts commit
6464bcd67d10ab9967ac83c27c413c1014be707e.If another GUI xdg/autostart app runs, the xinput-calibrator may be hidden. And touching the GUI app causes the wrong input data for calibration. So it is not save to run xinput-calibrator in xdg/autostart.
For what it's worth, I agree with this. If Koen or someone else could explain why the Xsession script is not good enough for them, that would help.
- Jussi
Quoted 28 lines
--- meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb | 4 ---- 1 file changed, 4 deletions(-)meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb +0
-5@@ -27,11 +27,7 @@ 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" --1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core