Merge lp:~townsend/unity8-desktop-session/fix-no-run-wizard into lp:unity8-desktop-session

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 80
Merged at revision: 80
Proposed branch: lp:~townsend/unity8-desktop-session/fix-no-run-wizard
Merge into: lp:unity8-desktop-session
Diff against target: 17 lines (+7/-0)
1 file modified
data/lightdm-unity8-session (+7/-0)
To merge this branch: bzr merge lp:~townsend/unity8-desktop-session/fix-no-run-wizard
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Review via email: mp+261496@code.launchpad.net

Commit message

Create the wizard-has-run file if it doesn't exist when logging into Unity 8 to bypass the OOBE wizard on a desktop session.

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/lightdm-unity8-session'
2--- data/lightdm-unity8-session 2015-03-09 20:46:48 +0000
3+++ data/lightdm-unity8-session 2015-06-09 12:52:24 +0000
4@@ -5,6 +5,13 @@
5 #
6
7 if test -z "$DISPLAY" && [ $DESKTOP_SESSION != "unity8-lxc" ]; then
8+ # TODO: The following block is to work around the OOBE wizard for the phone.
9+ # See LP: #1435877.
10+ if [ ! -f $HOME/.config/ubuntu-system-settings/wizard-has-run ]; then
11+ mkdir -p $HOME/.config/ubuntu-system-settings
12+ touch $HOME/.config/ubuntu-system-settings/wizard-has-run
13+ fi
14+
15 export QT_QPA_PLATFORM=ubuntumirclient
16 export UNITY_INDICATOR_PROFILE=desktop
17 export UBUNTU_PLATFORM_API_BACKEND=desktop_mirclient

Subscribers

People subscribed via source and target branches