From 7dd6b7d55b9ca9e5c666e58fafc36b21b45f7a1e Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Mon, 23 Dec 2019 19:32:11 +0200 Subject: xinput-calibrator: Fix double autostart xinput-calibrator runs twice: - as an X-session script (/etc/X11/Xsession.d/30xinput_calibrate.sh) - as autorunned desktop item (/etc/xdg/autostart/xinput_calibrator.desktop) Sometimes it breaks displaying other auto-run desktop applications. Signed-off-by: Oleksandr Suvorov --- recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 recipes-graphics/xinput-calibrator/xinput-calibrator_%.bbappend (limited to 'recipes-graphics') 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 +} + -- cgit v1.2.3