Merge pull request #23512 from matthiasbeyer/doc-fix-xfce

doc: Remove indention from program listings
This commit is contained in:
Graham Christensen 2017-03-06 17:33:13 -05:00 committed by GitHub
commit 0705346de4

View File

@ -9,10 +9,10 @@
<para> <para>
To enable the Xfce Desktop Environment, set To enable the Xfce Desktop Environment, set
<programlisting> <programlisting>
services.xserver.desktopManager = { services.xserver.desktopManager = {
xfce.enable = true; xfce.enable = true;
default = "xfce"; default = "xfce";
}; };
</programlisting> </programlisting>
</para> </para>
@ -20,13 +20,13 @@
Optionally, <emphasis>compton</emphasis> Optionally, <emphasis>compton</emphasis>
can be enabled for nice graphical effects, some example settings: can be enabled for nice graphical effects, some example settings:
<programlisting> <programlisting>
services.compton = { services.compton = {
enable = true; enable = true;
fade = true; fade = true;
inactiveOpacity = "0.9"; inactiveOpacity = "0.9";
shadow = true; shadow = true;
fadeDelta = 4; fadeDelta = 4;
}; };
</programlisting> </programlisting>
</para> </para>
@ -34,16 +34,16 @@
Some Xfce programs are not installed automatically. Some Xfce programs are not installed automatically.
To install them manually (system wide), put them into your To install them manually (system wide), put them into your
<literal>environment.systemPackages</literal>. <literal>environment.systemPackages</literal>.
</para> </para>
<para> <para>
NixOSs default <emphasis>display manager</emphasis>is SLiM. NixOSs default <emphasis>display manager</emphasis> is SLiM.
(DM is the program that provides a graphical login prompt (DM is the program that provides a graphical login prompt
and manages the X server.) and manages the X server.)
You can, for example, select KDEs You can, for example, select KDEs
<command>sddm</command> instead: <command>sddm</command> instead:
<programlisting> <programlisting>
services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.sddm.enable = true;
</programlisting> </programlisting>
</para> </para>
@ -55,7 +55,7 @@
<emphasis>Thunar</emphasis> <emphasis>Thunar</emphasis>
volume support, put volume support, put
<programlisting> <programlisting>
services.xserver.desktopManager.xfce.enable = true; services.xserver.desktopManager.xfce.enable = true;
</programlisting> </programlisting>
into your <emphasis>configuration.nix</emphasis>. into your <emphasis>configuration.nix</emphasis>.
</para> </para>
@ -84,10 +84,10 @@
Thunar and/or the desktop takes time to show up. Thunar and/or the desktop takes time to show up.
Thunar will spit out this kind of message on start Thunar will spit out this kind of message on start
(look at journalctl --user -b). (look at <command>journalctl --user -b</command>).
<programlisting> <programlisting>
Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
</programlisting> </programlisting>
This is caused by some needed GNOME services not running. This is caused by some needed GNOME services not running.
@ -95,7 +95,7 @@
the Advanced tab of the Session and Startup settings panel. the Advanced tab of the Session and Startup settings panel.
Alternatively, you can run this command to do the same thing. Alternatively, you can run this command to do the same thing.
<programlisting> <programlisting>
$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
</programlisting> </programlisting>
A log-out and re-log will be needed for this to take effect. A log-out and re-log will be needed for this to take effect.
</para> </para>