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

Subscribers

People subscribed via source and target branches

to all changes: