From e040db35bc4ea7a104c462442e8aac60a1121683 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Mar 2008 09:24:27 +0100 Subject: Merging casper 1.125. --- docs/ChangeLog.casper | 12 ++++++++++++ scripts/live-bottom/15autologin | 7 +++++++ scripts/live-bottom/35fix_language_selector | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) 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 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 ] -- cgit v1.2.3