Merge lp:~fossfreedom/ubiquity/lp1659280 into lp:ubiquity

Proposed by fossfreedom
Status: Merged
Merge reported by: Mathieu Trudel-Lapierre
Merged at revision: not available
Proposed branch: lp:~fossfreedom/ubiquity/lp1659280
Merge into: lp:ubiquity
Diff against target: 96 lines (+25/-19)
3 files modified
bin/ubiquity-dm (+13/-19)
debian/changelog (+9/-0)
src/panel/panel.c (+3/-0)
To merge this branch: bzr merge lp:~fossfreedom/ubiquity/lp1659280
Reviewer Review Type Date Requested Status
Ubuntu Installer Team Pending
Review via email: mp+315844@code.launchpad.net

Description of the change

This merge proposal fixes #1659280 for Ubuntu Budgie.

The GTK_MODULES change I think stops our window manager from starting up correctly. This is the first change in ubiquity-dm - to set up the session-type for budgie-wm.

A previous comment made by cjwatson recommended that ubiquity-panel is the norm. Thus I have switched to ubiquity-panel. This removes the need for the previous Ubuntu Budgie change to display budgie-panel and the special nm-applet --no-indicator section of code in ubiquity-dm. To ensure the panel icons are correctly themed we ensure ubuntu-mono icon theme is used rather than the default in Ubuntu Budgie which would be "pocillo"

The ubiquity-panel color itself should match the theme used in Ubuntu Budgie. Thus the last change is to test for a png which will be installed separately through the budgie-desktop-environment package.

To post a comment you must log in.
lp:~fossfreedom/ubiquity/lp1659280 updated
6515. By fossfreedom

removed unneeded --replace for starting budgie-wm

6516. By fossfreedom

merge from parent

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/ubiquity-dm'
2--- bin/ubiquity-dm 2017-01-23 18:01:31 +0000
3+++ bin/ubiquity-dm 2017-02-04 10:06:36 +0000
4@@ -501,6 +501,12 @@
5 ('org.gnome.desktop.wm.preferences', 'num-workspaces',
6 '1'))
7
8+ if (osextras.find_on_path('budgie-wm')):
9+ gsettings_keys.append(
10+ ('org.gnome.desktop.interface', 'icon-theme',
11+ "'ubuntu-mono-dark'"))
12+ os.environ['XDG_SESSION_TYPE'] = 'x11'
13+
14 for gs_schema, gs_key, gs_value in gsettings_keys:
15 subprocess.call(
16 ['gsettings', 'set', gs_schema, gs_key, gs_value],
17@@ -516,7 +522,8 @@
18 [msd], stdin=null, stdout=logfile, stderr=logfile,
19 preexec_fn=self.drop_privileges))
20
21- elif osextras.find_on_path(usd):
22+ elif (osextras.find_on_path(usd) and
23+ not osextras.find_on_path('budgie-wm')):
24 # Wait until xsettings plugin is activated
25 xsettings = SignalWatcher(self, usd,
26 "org.gnome.SettingsDaemon",
27@@ -603,8 +610,7 @@
28 if os.path.exists('/usr/lib/ubiquity/panel'):
29 if ("openbox-lubuntu" not in wm_cmd and
30 "openbox" not in wm_cmd and
31- "gnome-shell" not in wm_cmd and
32- "budgie-wm" not in wm_cmd):
33+ "gnome-shell" not in wm_cmd):
34 multiarchdir = os.path.split(
35 sysconfig.get_config_var('multiarchsubdir'))[-1]
36 indicators = list(filter(os.path.isfile, [
37@@ -628,24 +634,12 @@
38 stdin=null, stdout=logfile, stderr=logfile,
39 preexec_fn=self.drop_privileges))
40
41- if ("budgie-wm" in wm_cmd):
42- extras.append(subprocess.Popen(
43- ['budgie-panel', '--replace'],
44- stdin=null, stdout=logfile, stderr=logfile,
45- preexec_fn=self.drop_privileges))
46-
47 if (osextras.find_on_path('nm-applet') and
48 "gnome-shell" not in wm_cmd):
49- if ("budgie-wm" not in wm_cmd):
50- extras.append(subprocess.Popen(
51- ['nm-applet'],
52- stdin=null, stdout=logfile, stderr=logfile,
53- preexec_fn=self.drop_privileges))
54- else:
55- extras.append(subprocess.Popen(
56- ['nm-applet', '--no-indicator'],
57- stdin=null, stdout=logfile, stderr=logfile,
58- preexec_fn=self.drop_privileges))
59+ extras.append(subprocess.Popen(
60+ ['nm-applet'],
61+ stdin=null, stdout=logfile, stderr=logfile,
62+ preexec_fn=self.drop_privileges))
63
64 if osextras.find_on_path('ibus-daemon'):
65 extras.append(subprocess.Popen(
66
67=== modified file 'debian/changelog'
68--- debian/changelog 2017-01-31 03:45:51 +0000
69+++ debian/changelog 2017-02-04 10:06:36 +0000
70@@ -1,3 +1,12 @@
71+ubiquity (17.04.6) zesty; urgency=medium
72+
73+ * Update ubiquity-dm to ensure windows decorations and background is
74+ displayed for Ubuntu Budgie (LP: #1659280)
75+ Switch to the ubiquity-panel with a panel color defined by
76+ Ubuntu Budgie
77+
78+ -- David Mohammed <fossfreedom@ubuntu.com> Sat, 04 Feb 2017 10:02:26 +0000
79+
80 ubiquity (17.04.5) zesty; urgency=medium
81
82 * Automatic update of included source packages: clock-setup
83
84=== modified file 'src/panel/panel.c'
85--- src/panel/panel.c 2017-01-23 16:36:29 +0000
86+++ src/panel/panel.c 2017-02-04 10:06:36 +0000
87@@ -290,6 +290,9 @@
88 pixbuf = gdk_pixbuf_new_from_file("/usr/share/themes/Greybird/ubiquity-panel-bg.png", NULL);
89 }
90 if (!pixbuf) {
91+ pixbuf = gdk_pixbuf_new_from_file("/usr/share/budgie-desktop/ubiquity-panel-bg.png", NULL);
92+ }
93+ if (!pixbuf) {
94 pixbuf = gdk_pixbuf_new_from_file("/usr/share/ubiquity/pixmaps/panel.png", NULL);
95 }
96 if (pixbuf) {

Subscribers

People subscribed via source and target branches

to status/vote changes: