summaryrefslogtreecommitdiff
path: root/recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend')
-rw-r--r--recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend b/recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend
new file mode 100644
index 0000000..723b2b6
--- /dev/null
+++ b/recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend
@@ -0,0 +1,6 @@
+# Prevent running xinput_calibrator twice
+do_install_append() {
+ # Remove the xinput_calibrator.desktop from /etc/xdg/autostart
+ rm -f ${D}${sysconfdir}/xdg/autostart/xinput_calibrator.desktop
+}
+