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
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-10-02 22:13:38 +0000
3+++ debian/changelog 2012-10-03 05:24:24 +0000
4@@ -1,3 +1,4 @@
5+<<<<<<< TREE
6 casper (1.326) quantal; urgency=low
7
8 * 22desktop_settings:
9@@ -49,6 +50,14 @@
10
11 -- Stéphane Graber <stgraber@ubuntu.com> Tue, 02 Oct 2012 18:11:44 -0400
12
13+=======
14+casper (1.326) UNRELEASED; urgency=low
15+
16+ * Add 16gdmnopasswd script, removes gdm password dialog for live user.
17+
18+ -- Tim Lunn <tim@feathertop.org> Sat, 29 Sep 2012 07:16:31 +1000
19+
20+>>>>>>> MERGE-SOURCE
21 casper (1.325) quantal; urgency=low
22
23 [ Logan Rosen ]
24
25=== added file 'scripts/casper-bottom/16gdmnopasswd'
26--- scripts/casper-bottom/16gdmnopasswd 1970-01-01 00:00:00 +0000
27+++ scripts/casper-bottom/16gdmnopasswd 2012-10-03 05:24:24 +0000
28@@ -0,0 +1,43 @@
29+#!/bin/sh
30+
31+PREREQ=""
32+DESCRIPTION="Setting up automatic login..."
33+
34+prereqs()
35+{
36+ echo "$PREREQ"
37+}
38+
39+case $1 in
40+# get pre-requisites
41+prereqs)
42+ prereqs
43+ exit 0
44+ ;;
45+esac
46+
47+. /scripts/casper-functions
48+
49+log_begin_msg "$DESCRIPTION"
50+
51+STRING1=" if (this._userManager.list_users().length > 2 || !(this._userManager.get_user('ubuntu')))\n \
52+ return GdmUtil.fadeInActor(this._promptLabel);\n \
53+ else\n \
54+ this._promptLabel.hide();"
55+STRING2=" if (this._userManager.list_users().length > 2 || !(this._userManager.get_user('ubuntu')))\n \
56+ return GdmUtil.fadeInActor(this._promptEntry);\n \
57+ else\n \
58+ this._promptEntry.hide();"
59+
60+GDMLoginFile=/root/usr/share/gnome-shell/js/gdm/loginDialog.js
61+
62+if [ -f $GDMLoginFile ]; then
63+ # Configure GDM autologin
64+
65+ sed -i -e "s/^.*return GdmUtil.fadeInActor(this._promptLabel);\$/$STRING1/" \
66+ -e "s/^.*return GdmUtil.fadeInActor(this._promptEntry);\$/$STRING2/" \
67+ $GDMLoginFile
68+fi
69+
70+
71+log_end_msg
72
73=== modified file 'scripts/casper-bottom/25adduser'
74--- scripts/casper-bottom/25adduser 2012-10-02 15:29:21 +0000
75+++ scripts/casper-bottom/25adduser 2012-10-03 05:24:24 +0000
76@@ -100,6 +100,7 @@
77 #GDM
78 if [ -d /root/etc/gdm ]; then
79 sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs
80+ sed -i "s/'epiphany.desktop',/'ubiquity-gtkui.desktop', 'epiphany.desktop',/" /root/usr/share/glib-2.0/schemas/10_gnome-shell.gschema.override
81 fi
82
83 #Kubuntu

Subscribers

People subscribed via source and target branches

to all changes: