Merge lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3 into lp:ubuntu/quantal/casper

Proposed by Tim Lunn
Status: Superseded
Proposed branch: lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3
Merge into: lp:ubuntu/quantal/casper
Diff against target: 83 lines (+53/-0) (has conflicts)
3 files modified
debian/changelog (+9/-0)
scripts/casper-bottom/16gdmnopasswd (+43/-0)
scripts/casper-bottom/25adduser (+1/-0)
Text conflict in debian/changelog
To merge this branch: bzr merge lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+127633@code.launchpad.net

This proposal supersedes a proposal from 2012-09-28.

This proposal has been superseded by a proposal from 2012-10-03.

Description of the change

A couple more casper tweaks are required for the Ubuntu GNOME Remix Live CD

- Add a new script to remove the password dialog from gdm, for the live user (who doesnt have a password).
- add ubiquity to gnome-shell favourites.

To post a comment you must log in.

Unmerged revisions

1069. By Tim Lunn

add gnome-shell favorites tweak to 25adduser

1068. By Tim Lunn

Add 16gdmnopasswd script, removes gdm password dialog for live user.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-10-02 22:13:38 +0000
+++ debian/changelog 2012-10-03 05:24:24 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1casper (1.326) quantal; urgency=low2casper (1.326) quantal; urgency=low
23
3 * 22desktop_settings:4 * 22desktop_settings:
@@ -49,6 +50,14 @@
4950
50 -- Stéphane Graber <stgraber@ubuntu.com> Tue, 02 Oct 2012 18:11:44 -040051 -- Stéphane Graber <stgraber@ubuntu.com> Tue, 02 Oct 2012 18:11:44 -0400
5152
53=======
54casper (1.326) UNRELEASED; urgency=low
55
56 * Add 16gdmnopasswd script, removes gdm password dialog for live user.
57
58 -- Tim Lunn <tim@feathertop.org> Sat, 29 Sep 2012 07:16:31 +1000
59
60>>>>>>> MERGE-SOURCE
52casper (1.325) quantal; urgency=low61casper (1.325) quantal; urgency=low
5362
54 [ Logan Rosen ]63 [ Logan Rosen ]
5564
=== added file 'scripts/casper-bottom/16gdmnopasswd'
--- scripts/casper-bottom/16gdmnopasswd 1970-01-01 00:00:00 +0000
+++ scripts/casper-bottom/16gdmnopasswd 2012-10-03 05:24:24 +0000
@@ -0,0 +1,43 @@
1#!/bin/sh
2
3PREREQ=""
4DESCRIPTION="Setting up automatic login..."
5
6prereqs()
7{
8 echo "$PREREQ"
9}
10
11case $1 in
12# get pre-requisites
13prereqs)
14 prereqs
15 exit 0
16 ;;
17esac
18
19. /scripts/casper-functions
20
21log_begin_msg "$DESCRIPTION"
22
23STRING1=" if (this._userManager.list_users().length > 2 || !(this._userManager.get_user('ubuntu')))\n \
24 return GdmUtil.fadeInActor(this._promptLabel);\n \
25 else\n \
26 this._promptLabel.hide();"
27STRING2=" if (this._userManager.list_users().length > 2 || !(this._userManager.get_user('ubuntu')))\n \
28 return GdmUtil.fadeInActor(this._promptEntry);\n \
29 else\n \
30 this._promptEntry.hide();"
31
32GDMLoginFile=/root/usr/share/gnome-shell/js/gdm/loginDialog.js
33
34if [ -f $GDMLoginFile ]; then
35 # Configure GDM autologin
36
37 sed -i -e "s/^.*return GdmUtil.fadeInActor(this._promptLabel);\$/$STRING1/" \
38 -e "s/^.*return GdmUtil.fadeInActor(this._promptEntry);\$/$STRING2/" \
39 $GDMLoginFile
40fi
41
42
43log_end_msg
044
=== modified file 'scripts/casper-bottom/25adduser'
--- scripts/casper-bottom/25adduser 2012-10-02 15:29:21 +0000
+++ scripts/casper-bottom/25adduser 2012-10-03 05:24:24 +0000
@@ -100,6 +100,7 @@
100#GDM100#GDM
101if [ -d /root/etc/gdm ]; then101if [ -d /root/etc/gdm ]; then
102 sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs102 sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs
103 sed -i "s/'epiphany.desktop',/'ubiquity-gtkui.desktop', 'epiphany.desktop',/" /root/usr/share/glib-2.0/schemas/10_gnome-shell.gschema.override
103fi104fi
104105
105#Kubuntu106#Kubuntu

Subscribers

People subscribed via source and target branches

to all changes: