Merge lp:~jbicha/ubuntu/saucy/casper/ubuntu-gnome-fix-disabling-lockscreen into lp:ubuntu/saucy/casper

Proposed by Jeremy Bícha
Status: Merged
Merged at revision: 1125
Proposed branch: lp:~jbicha/ubuntu/saucy/casper/ubuntu-gnome-fix-disabling-lockscreen
Merge into: lp:ubuntu/saucy/casper
Diff against target: 47 lines (+13/-16)
2 files modified
debian/changelog (+10/-0)
scripts/casper-bottom/22desktop_settings (+3/-16)
To merge this branch: bzr merge lp:~jbicha/ubuntu/saucy/casper/ubuntu-gnome-fix-disabling-lockscreen
Reviewer Review Type Date Requested Status
Luke Yelavich (community) Approve
Ubuntu branches Pending
Review via email: mp+171200@code.launchpad.net

Description of the change

- gnome-shell handles the lockscreen itself and gsettings-desktop-schemas provides the schema, not gnome-screensaver

To post a comment you must log in.
1126. By Jeremy Bícha

fix typo, thanks darkxst

Revision history for this message
Luke Yelavich (themuso) :
review: Approve

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 2013-06-24 10:08:47 +0000
3+++ debian/changelog 2013-06-25 02:21:26 +0000
4@@ -1,3 +1,13 @@
5+casper (1.335) UNRELEASED; urgency=low
6+
7+ * 22desktop_settings:
8+ - Don't require gnome-screensaver to disable the lock screen since
9+ Ubuntu GNOME no longer includes gnome-screensaver
10+ - Don't override the gnome-shell favorites since that's already
11+ handled in ubuntu-gnome-default-settings
12+
13+ -- Jeremy Bicha <jbicha@ubuntu.com> Mon, 24 Jun 2013 21:57:59 -0400
14+
15 casper (1.334) saucy; urgency=low
16
17 * Use spaces instead of hyphens for the Name field of ubiquity's .desktop
18
19=== modified file 'scripts/casper-bottom/22desktop_settings'
20--- scripts/casper-bottom/22desktop_settings 2012-10-03 21:44:46 +0000
21+++ scripts/casper-bottom/22desktop_settings 2013-06-25 02:21:26 +0000
22@@ -26,23 +26,10 @@
23 rm /root/usr/share/glib-2.0/schemas/casper.gschema.override
24 fi
25
26-gnome_screensaver_version=$(chroot /root dpkg-query -W --showformat='${Version}' gnome-screensaver 2>/dev/null) || gnome_screensaver_version=""
27-if [ -n "$gnome_screensaver_version" ]; then
28+schemas_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gsettings-desktop-schemas 2>/dev/null) || schemas_version=""
29+if [ -n "$schemas_version" ]; then
30+ printf "[org.gnome.desktop.lockdown]\ndisable-lock-screen=true\n" >> /root/usr/share/glib-2.0/schemas/casper.gschema.override
31 printf "[org.gnome.desktop.screensaver]\nlock-enabled=false\n" >> /root/usr/share/glib-2.0/schemas/casper.gschema.override
32-fi
33-
34-panel_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gsettings-desktop-schemas 2>/dev/null) || panel_version=""
35-if [ -n "$panel_version" ]; then
36- printf "[org.gnome.desktop.lockdown]\ndisable-lock-screen=true\n" >> /root/usr/share/glib-2.0/schemas/casper.gschema.override
37-fi
38-
39-if [ -f /root/usr/share/glib-2.0/schemas/10_gnome-shell.gschema.override ]; then
40- sed -i "s/\[ 'epiphany.desktop',/\[ 'ubiquity-gtkui.desktop', 'epiphany.desktop',/" /root/usr/share/glib-2.0/schemas/10_gnome-shell.gschema.override
41-fi
42-
43-if [ -n "$gnome_screensaver_version" ] || [ -n "$panel_version" ] || \
44- [ -f /root/usr/share/glib-2.0/schemas/10_gnome-shell.gschema.override ]
45-then
46 chroot /root glib-compile-schemas /usr/share/glib-2.0/schemas/
47 fi
48

Subscribers

People subscribed via source and target branches

to all changes: