nixpkgs/nixos/doc/manual/configuration/xfce.xml

95 lines
3.4 KiB
XML
Raw Normal View History

2017-02-06 08:10:05 +00:00
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
2017-02-06 08:17:52 +00:00
xml:id="sec-xfce">
2017-02-06 08:10:05 +00:00
<title>Xfce Desktop Environment</title>
2017-02-06 08:10:05 +00:00
<para>
To enable the Xfce Desktop Environment, set
2017-02-06 08:10:05 +00:00
<programlisting>
2018-04-05 09:43:56 +01:00
<link linkend="opt-services.xserver.desktopManager.default">services.xserver.desktopManager</link> = {
<link linkend="opt-services.xserver.desktopManager.xfce.enable">xfce.enable</link> = true;
<link linkend="opt-services.xserver.desktopManager.default">default</link> = "xfce";
};
2017-02-06 08:10:05 +00:00
</programlisting>
</para>
<para>
Optionally, <emphasis>compton</emphasis>
can be enabled for nice graphical effects, some example settings:
<programlisting>
2018-04-05 09:43:56 +01:00
<link linkend="opt-services.compton.enable">services.compton</link> = {
<link linkend="opt-services.compton.enable">enable</link> = true;
<link linkend="opt-services.compton.fade">fade</link> = true;
<link linkend="opt-services.compton.inactiveOpacity">inactiveOpacity</link> = "0.9";
<link linkend="opt-services.compton.shadow">shadow</link> = true;
<link linkend="opt-services.compton.fadeDelta">fadeDelta</link> = 4;
};
2017-02-06 08:10:05 +00:00
</programlisting>
</para>
<para>
Some Xfce programs are not installed automatically.
2017-02-06 08:10:05 +00:00
To install them manually (system wide), put them into your
2018-04-05 09:43:56 +01:00
<xref linkend="opt-environment.systemPackages"/>.
2017-03-05 11:57:01 +00:00
</para>
2018-04-05 09:43:56 +01:00
2017-02-06 08:17:52 +00:00
<simplesect>
<title>Thunar Volume Support</title>
<para>
To enable
<emphasis>Thunar</emphasis>
volume support, put
<programlisting>
2018-04-05 09:43:56 +01:00
<xref linkend="opt-services.xserver.desktopManager.xfce.enable"/> = true;
2017-02-06 08:17:52 +00:00
</programlisting>
into your <emphasis>configuration.nix</emphasis>.
</para>
</simplesect>
<simplesect>
<title>Polkit Authentication Agent</title>
<para>
There is no authentication agent automatically installed alongside
Xfce. To allow mounting of local (non-removable) filesystems, you
2017-02-06 08:17:52 +00:00
will need to install one.
Installing <emphasis>polkit_gnome</emphasis>, a rebuild, logout and
login did the trick.
</para>
</simplesect>
<simplesect>
<title>Troubleshooting</title>
<para>
Even after enabling udisks2, volume management might not work.
Thunar and/or the desktop takes time to show up.
Thunar will spit out this kind of message on start
2017-03-05 13:21:45 +00:00
(look at <command>journalctl --user -b</command>).
2017-02-06 08:17:52 +00:00
<programlisting>
Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
2017-02-06 08:17:52 +00:00
</programlisting>
This is caused by some needed GNOME services not running.
This is all fixed by enabling "Launch GNOME services on startup" in
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
2017-02-06 08:17:52 +00:00
</programlisting>
A log-out and re-log will be needed for this to take effect.
</para>
</simplesect>
2017-02-06 08:10:05 +00:00
</chapter>