Mir

Merge lp:~kgunn72/mir/instructional_updates into lp:~mir-team/mir/trunk

Proposed by kevin gunn
Status: Merged
Approved by: Robert Ancell
Approved revision: no longer in the source branch.
Merged at revision: 781
Proposed branch: lp:~kgunn72/mir/instructional_updates
Merge into: lp:~mir-team/mir/trunk
Diff against target: 126 lines (+36/-25)
2 files modified
doc/installing_prebuilt_on_pc.md (+8/-9)
doc/using_mir_on_pc.md (+28/-16)
To merge this branch: bzr merge lp:~kgunn72/mir/instructional_updates
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Robert Ancell Approve
Review via email: mp+171654@code.launchpad.net

Commit message

update to xmir instructions

Description of the change

updates to instructions for running based on some feedback

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Some fixed in lp:~robert-ancell/mir/instructional_updates, otherwise looks good.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/installing_prebuilt_on_pc.md'
2--- doc/installing_prebuilt_on_pc.md 2013-06-25 13:37:19 +0000
3+++ doc/installing_prebuilt_on_pc.md 2013-06-26 22:18:24 +0000
4@@ -1,21 +1,20 @@
5 Installing pre-built packages on a PC {#installing_prebuilt_on_pc}
6 =====================================
7
8-1. Install raring if you haven' t done so already. Uninstall any proprietary
9- drivers (-nvidia, -fglrx) and reboot on the FOSS drivers.
10+Install raring if you haven' t done so already. Uninstall any proprietary
11+drivers (-nvidia, -fglrx) and reboot on the FOSS drivers.
12
13-2. Add the ppa:mir-team/system-compositor-testing. Note that besides mir
14-itself, the PPA includes
15- custom builds of Mesa and Xorg drivers with support for mir:
16+Add the ppa:mir-team/system-compositor-testing. Note that besides Mir itself,
17+the PPA includes custom builds of Mesa and Xorg drivers with support for Mir:
18
19 sudo add-apt-repository ppa:mir-team/system-compositor-testing
20
21-3. Update your package list:
22+Update your package list:
23
24 sudo apt-get update
25
26-4. Create the `/etc/apt/preferences.d/50-pin-mir.pref` file with the
27-following contents:
28+Create the `/etc/apt/preferences.d/50-pin-mir.pref` file with the following
29+contents:
30
31 Package: *
32 Pin: origin "private-ppa.launchpad.net"
33@@ -25,7 +24,7 @@
34 Pin: release o=LP-PPA-mir-team-system-compositor-testing
35 Pin-Priority: 1002
36
37-5. Install mir and dist-upgrade:
38+Install Mir and dist-upgrade:
39
40 sudo apt-get install mir-demos
41 sudo apt-get dist-upgrade
42
43=== modified file 'doc/using_mir_on_pc.md'
44--- doc/using_mir_on_pc.md 2013-06-25 13:37:19 +0000
45+++ doc/using_mir_on_pc.md 2013-06-26 22:18:24 +0000
46@@ -5,9 +5,8 @@
47 ----------------
48
49 Make sure your hardware is supported. That means you're using a Mesa driver,
50-of which intel, radeon, and nouveau families are supported. If you're
51-logged in to X then run this command to verify an appropriate DRI driver
52-is active:
53+of which intel, radeon, and nouveau families are supported. If you're logged
54+in to X then run this command to verify an appropriate DRI driver is active:
55
56 sudo pmap `pidof X` | grep dri.so
57
58@@ -15,17 +14,16 @@
59
60 lsmod | grep drm
61
62-Before you can use Mir you need to ensure you have the proper custom Mesa build
63-installed. If you installed Mir using the packages from mir-team
64-system-compositor-testing PPA
65-(see \ref installing_prebuilt_on_pc), you should be good to go.
66+Before you can use Mir you need to ensure you have the proper custom Mesa
67+build installed. If you installed Mir using the packages from mir-team
68+system-compositor-testing PPA (see \ref installing_prebuilt_on_pc), you
69+should be good to go.
70
71-If you built Mir from source code (see \ref building_source_for_pc), you need
72-to ensure you are using the proper Mesa at runtime. You can do that by
73+If you built Mir from source code (see \ref building_source_for_pc), you
74+nee to ensure you are using the proper Mesa at runtime. You can do that by
75 installing the Mesa packages manually from the system-compositor-testing PPA,
76-or by building the
77-custom Mesa yourself and ensuring it can be found by Mir, e.g., by using
78-LD_LIBRARY_PATH.
79+or by building the custom Mesa yourself and ensuring it can be found by Mir,
80+e.g., by using LD_LIBRARY_PATH.
81
82 Using Mir as system compositor with X
83 -------------------------------------
84@@ -34,18 +32,23 @@
85 include lightdm, Mesa and the Xorg drivers). The easiest way is to install
86 pre-built packages from the system-compositor-testing PPA.
87
88-To run X sessions under Mir, with Mir acting as the system compositor, edit
89-your /etc/lightdm/lightdm.conf to look to look like this:
90+If you have installed the unity-system-compositor from
91+the system-compositor-testing PPA, it will have created a file in
92+/etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf to run XMir. If you
93+have build from source, to run X sessions under Mir, with Mir acting as the
94+system compositor, create the file
95+/etc/lightdm/lightdm.conf.d/10-unity-system-compositor.conf to look to look like
96+this:
97
98 [SeatDefaults]
99 type=unity
100- user-session=ubuntu
101- greeter-session=unity-greeter
102
103 Now restart lightdm:
104
105 $ sudo restart lightdm
106
107+Or you may simply reboot.
108+
109 In theory, you should now find yourself back in Ubuntu and not notice
110 anything different. You can verify you're in Mir several ways:
111
112@@ -53,6 +56,15 @@
113 $ grep -i xmir /var/log/Xorg.0.log
114 $ ls -l /var/log/lightdm/unity-system-compositor.log
115
116+
117+In any case, if you wish to deactivate XMir upon boot, simply comment out
118+the type=unity line from
119+/etc/lightdm/lightdm.conf.d10-unity-system-compositor.conf, like this:
120+
121+ [SeatDefaults]
122+ #type=unity
123+
124+
125 Running Mir natively
126 --------------------
127

Subscribers

People subscribed via source and target branches