summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-03-25 09:24:27 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:47:58 +0100
commite040db35bc4ea7a104c462442e8aac60a1121683 (patch)
tree4f446d9560af6f35e66a3c2593e88a611cf4cce0
parent8d2f581c2fa170a7e573a2c2d9adbcd1a7df5e33 (diff)
downloadlive-boot-e040db35bc4ea7a104c462442e8aac60a1121683.tar.gz
live-boot-e040db35bc4ea7a104c462442e8aac60a1121683.zip
Merging casper 1.125.
-rw-r--r--docs/ChangeLog.casper12
-rwxr-xr-xscripts/live-bottom/15autologin7
-rwxr-xr-xscripts/live-bottom/35fix_language_selector2
3 files changed, 20 insertions, 1 deletions
diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index efa0f44..1c61861 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,15 @@
+casper (1.125) hardy; urgency=low
+
+ [ Colin Watson ]
+ * Stop quoting Exec arguments in .desktop files. Apparently this used to
+ work but now the system conforms more strictly to the desktop entry
+ specification (LP: #204185).
+
+ [ Jonathan Riddell ]
+ * scripts/casper-bottom/15autologin: Enable auto-login for KDM-KDE4
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 20 Mar 2008 10:20:17 +0000
+
casper (1.124) hardy; urgency=low
[ Colin Watson ]
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin
index 10cae2d..2c880b7 100755
--- a/scripts/live-bottom/15autologin
+++ b/scripts/live-bottom/15autologin
@@ -71,6 +71,13 @@ then
-e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=${USERNAME}/" \
-e "s/^#?AutoReLogin=.*\$/AutoReLogin=true/" \
/root/etc/kde3/kdm/kdmrc
+elif [ -f /root/usr/lib/kde4/etc/kde4/kdm/kdmrc ]
+then
+ # Configure KDM-KDE4 autologin
+ sed -i -r -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
+ -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \
+ -e "s/^#?AutoReLogin=.*\$/AutoReLogin=true/" \
+ /root/usr/lib/kde4/etc/kde4/kdm/kdmrc
fi
log_end_msg
diff --git a/scripts/live-bottom/35fix_language_selector b/scripts/live-bottom/35fix_language_selector
index 126a5b2..70495c4 100755
--- a/scripts/live-bottom/35fix_language_selector
+++ b/scripts/live-bottom/35fix_language_selector
@@ -33,7 +33,7 @@ log_begin_msg "Fixing language selector..."
if [ -e /root/usr/share/applications/language-selector.desktop ]
then
- sed -i '/^Exec/ s|/usr/bin/gnome-language-selector|"& -n"|' /root/usr/share/applications/language-selector.desktop
+ sed -i '/^Exec/ s|/usr/bin/gnome-language-selector|& -n|' /root/usr/share/applications/language-selector.desktop
fi
if [ -x /root/usr/bin/fontconfig-voodoo ]