summaryrefslogtreecommitdiff
path: root/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bbappend
blob: 04faf30fe41738d8a7b7562714bea81309f2cf03 (plain)
1
2
3
4
5
6
7
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
}