2017-02-06 09:10:05 +01: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 09:17:52 +01:00
|
|
|
xml:id="sec-xfce">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Xfce Desktop Environment</title>
|
|
|
|
<para>
|
|
|
|
To enable the Xfce Desktop Environment, set
|
|
|
|
<programlisting>
|
2019-12-10 15:10:30 +01:00
|
|
|
<xref linkend="opt-services.xserver.desktopManager.xfce.enable" /> = true;
|
|
|
|
<xref linkend="opt-services.xserver.displayManager.defaultSession" /> = "xfce";
|
2019-06-17 12:01:51 +02:00
|
|
|
</programlisting>
|
2018-05-02 01:57:09 +02:00
|
|
|
</para>
|
|
|
|
<para>
|
2020-01-03 14:09:12 +01:00
|
|
|
Optionally, <emphasis>picom</emphasis> can be enabled for nice graphical
|
2019-09-19 19:17:30 +02:00
|
|
|
effects, some example settings:
|
2018-05-02 01:57:09 +02:00
|
|
|
<programlisting>
|
2020-01-03 14:09:12 +01:00
|
|
|
<link linkend="opt-services.picom.enable">services.picom</link> = {
|
2020-05-03 23:54:29 +02:00
|
|
|
<link linkend="opt-services.picom.enable">enable</link> = true;
|
|
|
|
<link linkend="opt-services.picom.fade">fade</link> = true;
|
|
|
|
<link linkend="opt-services.picom.inactiveOpacity">inactiveOpacity</link> = 0.9;
|
|
|
|
<link linkend="opt-services.picom.shadow">shadow</link> = true;
|
|
|
|
<link linkend="opt-services.picom.fadeDelta">fadeDelta</link> = 4;
|
2017-03-05 12:53:38 +01:00
|
|
|
};
|
2019-06-17 12:01:51 +02:00
|
|
|
</programlisting>
|
2018-05-02 01:57:09 +02:00
|
|
|
</para>
|
|
|
|
<para>
|
2019-09-19 19:17:30 +02:00
|
|
|
Some Xfce programs are not installed automatically. To install them manually
|
|
|
|
(system wide), put them into your
|
2020-01-30 11:44:02 +01:00
|
|
|
<xref linkend="opt-environment.systemPackages"/> from <literal>pkgs.xfce</literal>.
|
2018-05-02 01:57:09 +02:00
|
|
|
</para>
|
2020-01-30 11:43:14 +01:00
|
|
|
<simplesect xml:id="sec-xfce-thunar-plugins">
|
|
|
|
<title>Thunar Plugins</title>
|
|
|
|
<para>
|
|
|
|
If you'd like to add extra plugins to Thunar, add them to
|
|
|
|
<xref linkend="opt-services.xserver.desktopManager.xfce.thunarPlugins"/>.
|
|
|
|
You shouldn't just add them to <xref linkend="opt-environment.systemPackages"/>.
|
|
|
|
</para>
|
|
|
|
</simplesect>
|
2018-09-02 21:45:04 +02:00
|
|
|
<simplesect xml:id="sec-xfce-troubleshooting">
|
2018-05-02 01:57:09 +02:00
|
|
|
<title>Troubleshooting</title>
|
|
|
|
<para>
|
2019-09-19 19:17:30 +02:00
|
|
|
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 (look at <command>journalctl --user -b</command>).
|
2018-05-02 01:57:09 +02:00
|
|
|
<programlisting>
|
2017-03-05 12:53:38 +01:00
|
|
|
Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
|
2019-06-17 12:01:51 +02:00
|
|
|
</programlisting>
|
2019-09-19 19:17:30 +02:00
|
|
|
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.
|
2018-05-02 01:57:09 +02:00
|
|
|
<programlisting>
|
2019-06-17 13:25:50 +02:00
|
|
|
<prompt>$ </prompt>xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
|
2019-06-17 12:01:51 +02:00
|
|
|
</programlisting>
|
2018-05-02 01:57:09 +02:00
|
|
|
A log-out and re-log will be needed for this to take effect.
|
|
|
|
</para>
|
|
|
|
</simplesect>
|
2017-02-06 09:10:05 +01:00
|
|
|
</chapter>
|