aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-01-25 22:26:22 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-27 22:35:43 +0100
commit34c0e505e54d28d775c0fb6cd5695b27302defd9 (patch)
tree81c5a6d72c24498a6bbab2268d6bbe7bcd0a4803
parentf7cf917f3655275b51abff9c6e1b3a734e91dc82 (diff)
downloadmeta-openembedded-contrib-34c0e505e54d28d775c0fb6cd5695b27302defd9.tar.gz
lxdm: disable screensaver by default when starting X
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_git.bb5
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 3308e264d3..be83146b0c 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