diff options
author | Graham Christensen <graham@grahamc.com> | 2017-03-06 17:33:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 17:33:13 -0500 |
commit | 0705346de46b0b60b612b2e88cc7291b7050ab23 (patch) | |
tree | 4ff36bfe48a4de183f5b89ed694686045c03b496 /nixos/doc | |
parent | 5054035c18732fdf6bb4b8d215c20a89638ed0ff (diff) | |
parent | 87f57de8e579ed7b41096c77b1ceb2146db87f5a (diff) | |
download | nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar.gz nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar.bz2 nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar.lz nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar.xz nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.tar.zst nixlib-0705346de46b0b60b612b2e88cc7291b7050ab23.zip |
Merge pull request #23512 from matthiasbeyer/doc-fix-xfce
doc: Remove indention from program listings
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration/xfce.xml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml index af6278e9c920..21c7a85e19cc 100644 --- a/nixos/doc/manual/configuration/xfce.xml +++ b/nixos/doc/manual/configuration/xfce.xml @@ -9,10 +9,10 @@ <para> To enable the Xfce Desktop Environment, set <programlisting> - services.xserver.desktopManager = { - xfce.enable = true; - default = "xfce"; - }; +services.xserver.desktopManager = { + xfce.enable = true; + default = "xfce"; +}; </programlisting> </para> @@ -20,13 +20,13 @@ Optionally, <emphasis>compton</emphasis> can be enabled for nice graphical effects, some example settings: <programlisting> - services.compton = { - enable = true; - fade = true; - inactiveOpacity = "0.9"; - shadow = true; - fadeDelta = 4; - }; +services.compton = { + enable = true; + fade = true; + inactiveOpacity = "0.9"; + shadow = true; + fadeDelta = 4; +}; </programlisting> </para> @@ -34,16 +34,16 @@ Some Xfce programs are not installed automatically. To install them manually (system wide), put them into your <literal>environment.systemPackages</literal>. - </para> + </para> <para> - NixOS’s default <emphasis>display manager</emphasis>is SLiM. - (DM is the program that provides a graphical login prompt - and manages the X server.) - You can, for example, select KDE’s + NixOS’s default <emphasis>display manager</emphasis> is SLiM. + (DM is the program that provides a graphical login prompt + and manages the X server.) + You can, for example, select KDE’s <command>sddm</command> instead: <programlisting> - services.xserver.displayManager.sddm.enable = true; +services.xserver.displayManager.sddm.enable = true; </programlisting> </para> @@ -55,7 +55,7 @@ <emphasis>Thunar</emphasis> volume support, put <programlisting> - services.xserver.desktopManager.xfce.enable = true; +services.xserver.desktopManager.xfce.enable = true; </programlisting> into your <emphasis>configuration.nix</emphasis>. </para> @@ -84,10 +84,10 @@ Thunar and/or the desktop takes time to show up. Thunar will spit out this kind of message on start - (look at journalctl --user -b). + (look at <command>journalctl --user -b</command>). <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> This is caused by some needed GNOME services not running. @@ -95,7 +95,7 @@ the Advanced tab of the Session and Startup settings panel. Alternatively, you can run this command to do the same thing. <programlisting> - $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true +$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true </programlisting> A log-out and re-log will be needed for this to take effect. </para> |