Merge lp:~fossfreedom/ubiquity/ubuntu-budgie-panel-support into lp:ubiquity

Proposed by fossfreedom
Status: Merged
Approved by: Mathieu Trudel-Lapierre
Approved revision: 6505
Merged at revision: 6512
Proposed branch: lp:~fossfreedom/ubiquity/ubuntu-budgie-panel-support
Merge into: lp:ubiquity
Diff against target: 52 lines (+23/-4)
2 files modified
bin/ubiquity-dm (+16/-4)
debian/changelog (+7/-0)
To merge this branch: bzr merge lp:~fossfreedom/ubiquity/ubuntu-budgie-panel-support
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Approve
Review via email: mp+315071@code.launchpad.net

Description of the change

This resolves #1657447 - The Try/Install screen for Ubuntu Budgie without this patch would not display a panel containing the network-manager applet.

Unlike most window-managers - budgie-desktop requires a separate executable to display a panel.

Ubiquity-panel is not a good choice for Ubuntu Budgie - Ubuntu Budgie uses gnome-settings-daemon for theming. It appears ubiquity-panel requires unity-settings-daemon. Testing under 16.04 and 16.10 shows that ubiquity-panel to be poorly themed - I guess there is a clash between the two daemons running for the window manager budgie-wm.

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Approve, I'll merge this with some minor changes.

review: Approve

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-07 10:09:56 +0000
3+++ bin/ubiquity-dm 2017-01-18 20:20:44 +0000
4@@ -597,6 +597,12 @@
5 stdin=null, stdout=logfile, stderr=logfile,
6 preexec_fn=self.drop_privileges))
7
8+ if ("budgie-wm" in wm_cmd):
9+ extras.append(subprocess.Popen(
10+ ['budgie-panel', '--replace'],
11+ stdin=null, stdout=logfile, stderr=logfile,
12+ preexec_fn=self.drop_privileges))
13+
14 if os.path.exists('/usr/lib/ubiquity/panel'):
15 if ("openbox-lubuntu" not in wm_cmd and
16 "openbox" not in wm_cmd and
17@@ -627,10 +633,16 @@
18
19 if (osextras.find_on_path('nm-applet') and
20 "gnome-shell" not in wm_cmd):
21- extras.append(subprocess.Popen(
22- ['nm-applet'],
23- stdin=null, stdout=logfile, stderr=logfile,
24- preexec_fn=self.drop_privileges))
25+ if ("budgie-wm" not in wm_cmd):
26+ extras.append(subprocess.Popen(
27+ ['nm-applet'],
28+ stdin=null, stdout=logfile, stderr=logfile,
29+ preexec_fn=self.drop_privileges))
30+ else:
31+ extras.append(subprocess.Popen(
32+ ['nm-applet', '--no-indicator'],
33+ stdin=null, stdout=logfile, stderr=logfile,
34+ preexec_fn=self.drop_privileges))
35
36 if osextras.find_on_path('ibus-daemon'):
37 extras.append(subprocess.Popen(
38
39=== modified file 'debian/changelog'
40--- debian/changelog 2017-01-07 14:06:13 +0000
41+++ debian/changelog 2017-01-18 20:20:44 +0000
42@@ -1,3 +1,10 @@
43+ubiquity (17.04.3) zesty; urgency=medium
44+
45+ * Update ubiquity-dm to ensure Ubuntu Budgie displays its panel
46+ to allow users to use the network-manager applet (LP: #1657447)
47+
48+ -- David Mohammed <fossfreedom@ubuntu.com> Wed, 18 Jan 2017 19:58:03 +0000
49+
50 ubiquity (17.04.2) zesty; urgency=medium
51
52 [ David Mohammed ]

Subscribers

People subscribed via source and target branches

to status/vote changes: