From patchwork Fri Jan 25 22:26:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [meta-oe/meta-systemd/V2, 5/5] lxdm: disable screensaver by default when starting X Date: Fri, 25 Jan 2013 22:26:22 -0000 From: =?utf-8?q?Andreas_M=C3=BCller_=3Cschnitzeltony=40googlemail=2Ecom=3E?= X-Patchwork-Id: 43429 Message-Id: <1359152782-23743-6-git-send-email-schnitzeltony@googlemail.com> To: openembedded-devel@lists.openembedded.org Signed-off-by: Andreas Müller --- meta-oe/recipes-graphics/lxdm/lxdm_git.bb | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb index 3308e26..be83146 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb @@ -15,7 +15,7 @@ LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" PV = "0.4.2+git${SRCPV}" PE = "1" -PR = "r2" +PR = "r3" DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango" @@ -30,9 +30,10 @@ SYSTEMD_UNITDIR ??= "no" EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}" do_compile_append() { - # default background configured not available / no password field available + # default background configured not available / no password field available / no default screensaver sed -i -e 's,bg=,# bg=,g' \ -e 's,# skip_password=,skip_password=,g' \ + -e 's,# arg=.*,arg=${bindir}/X -s 0,g' \ ${S}/data/lxdm.conf.in # add default configuration oe_runmake -C ${S}/data lxdm.conf