Changeset afea77c


Ignore:
Timestamp:
09/18/2022 04:46:51 PM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
9c44927
Parents:
1b32f1a
Message:

mutter: add a section about running it directly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/mutter.xml

    r1b32f1a rafea77c  
    182182    </para>
    183183    -->
     184
    184185    <para>
    185186      The test suite requires debug functions to be enabled in the build, and an
     
    204205
    205206    <para>
     207      You can also test basic functions of <application>Mutter</application>
     208      following <xref linkend='mutter-starting'/>, after installing it.
     209    </para>
     210
     211    <para>
    206212      Now, as the <systemitem class="username">root</systemitem> user:
    207213    </para>
     
    236242    </para>
    237243
     244  </sect2>
     245
     246  <sect2 role="starting" id="mutter-starting">
     247    <title>Starting Mutter</title>
     248
     249    <!-- Mutter as a Wayland compositor Works with mutter-42.4 and 43.0.
     250         IIRC mutter can also be used as a X window manager: just replace
     251         "twm" with "mutter &dash;&dash;x11" in xinitrc. But I've not tested
     252         such a configuration recently (I don't build Xorg Server or xinit
     253         these days.  -->
     254
     255    <para>
     256      <application>Mutter</application> is normally used as a component of
     257      <application>gnome-shell</application>, but it can be used as a
     258      standalone Wayland compositor too.  To run
     259      <application>Mutter</application> as a Wayland compositor, in a
     260      virtual console, issue:
     261    </para>
     262
     263    <screen role='nodump'><userinput>mutter --wayland -- vte-2.91</userinput></screen>
     264
     265    <para>
     266      Replace <command>vte-2.91</command> with the command line for the
     267      first application you want in the Wayland session. Note that once this
     268      application exits, the Wayland session will be terminated.
     269    </para>
     270
     271    <para>
     272      <application>Mutter</application> can also function as a nested
     273      compositor in another Wayland session.  In a terminal emulator, issue:
     274    </para>
     275
     276    <screen role='nodump'><userinput>MUTTER_DEBUG_DUMMY_MODE_SPECS=1920x1080 mutter --wayland --nested -- vte-2.91</userinput></screen>
     277
     278    <para>
     279      Replace <replaceable>1920x1080</replaceable> with the size you want
     280      for the nested Wayland session.
     281    </para>
    238282  </sect2>
    239283
Note: See TracChangeset for help on using the changeset viewer.