diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2018-01-24 16:46:52 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-22 09:19:55 +0100 |
commit | d81c71fbb99c95a50d2ebc73da2fa8ae665a8b35 (patch) | |
tree | bf7a7db9881f478b5079bc820284f79124444ee6 /recipes-graphics | |
parent | fb0d1574829c0d94c33a0470986f37c965cde734 (diff) |
xinput-calibrator: don't run it out of a terminal
The terminal output is not seen.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend b/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend index 04faf30..2b42880 100644 --- a/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend +++ b/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend @@ -2,6 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/xinput-calibrator:" # menu entry should make the calibration permanent instead of printing cal data into a terminal do_install_append() { - install -m 0755 ${D}/usr/share/applications/xinput_calibrator.desktop ${D}/usr/share/applications/xinput_calibrator.desktop.old - sed -i -e 's/xinput_calibrator; cat/rm -f \/etc\/pointercal.xinput; xinput_calibrator_once.sh/' ${D}/usr/share/applications/xinput_calibrator.desktop + install -m 0755 ${D}/${datadir}/applications/xinput_calibrator.desktop ${D}/${datadir}/applications/xinput_calibrator.desktop.old + sed -i -e 's/xinput_calibrator; cat/rm -f \/etc\/pointercal.xinput; xinput_calibrator_once.sh/' ${D}/${datadir}/applications/xinput_calibrator.desktop + sed -i -e 's/Terminal\=true/Terminal=false/' ${D}/${datadir}/applications/xinput_calibrator.desktop + sed -i -e 's/Terminal\=true/Terminal=false/' ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop } |