Merge lp:~mank319/variety/deepin into lp:~variety/variety/trunk

Proposed by Manuel Kehl
Status: Merged
Merged at revision: 538
Proposed branch: lp:~mank319/variety/deepin
Merge into: lp:~variety/variety/trunk
Diff against target: 16 lines (+6/-0)
1 file modified
data/scripts/set_wallpaper (+6/-0)
To merge this branch: bzr merge lp:~mank319/variety/deepin
Reviewer Review Type Date Requested Status
Peter Levi Pending
Review via email:

Description of the change

I added support for desktop sessions using the window manager of the Deepin project.

To post a comment you must log in.
Revision history for this message
Peter Levi (peterlevi) wrote :

Thanks, merged.

Revision history for this message
Manuel Kehl (mank319) wrote :

You're welcome! Your design makes it very easy to extend Variety ;-)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/scripts/set_wallpaper'
2--- data/scripts/set_wallpaper 2016-01-16 20:47:19 +0000
3+++ data/scripts/set_wallpaper 2016-02-06 17:23:33 +0000
4@@ -158,6 +158,12 @@
5 gsettings set org.gnome.desktop.background picture-options 'zoom'
6 fi
8+# Deepin
9+gsettings set com.deepin.wrap.gnome.desktop.background picture-uri "file://$WP" 2> /dev/null
10+if [ "`gsettings get com.deepin.wrap.gnome.desktop.background picture-options`" == "'none'" ]; then
11+ gsettings set com.deepin.wrap.gnome.desktop.background picture-options 'zoom'
14 # XFCE
15 command -v xfconf-query >/dev/null 2>&1
16 rc=$?


People subscribed via source and target branches