[oe-commits] Andreas Müller : lxdm: disable screensaver by default when starting X

git at git.openembedded.org git at git.openembedded.org
Sun Jan 27 22:59:20 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 34c0e505e54d28d775c0fb6cd5695b27302defd9
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=34c0e505e54d28d775c0fb6cd5695b27302defd9

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Fri Jan 25 22:26:22 2013 +0000

lxdm: disable screensaver by default when starting X

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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





More information about the Openembedded-commits mailing list