1# Xfce Desktop Environment {#sec-xfce}
2
3To enable the Xfce Desktop Environment, set
4
5```nix
6services.xserver.desktopManager.xfce.enable = true;
7services.xserver.displayManager.defaultSession = "xfce";
8```
9
10Optionally, *picom* can be enabled for nice graphical effects, some
11example settings:
12
13```nix
14services.picom = {
15 enable = true;
16 fade = true;
17 inactiveOpacity = 0.9;
18 shadow = true;
19 fadeDelta = 4;
20};
21```
22
23Some Xfce programs are not installed automatically. To install them
24manually (system wide), put them into your
25[](#opt-environment.systemPackages) from `pkgs.xfce`.
26
27## Thunar Plugins {#sec-xfce-thunar-plugins .unnumbered}
28
29If you\'d like to add extra plugins to Thunar, add them to
30[](#opt-services.xserver.desktopManager.xfce.thunarPlugins).
31You shouldn\'t just add them to [](#opt-environment.systemPackages).
32
33## Troubleshooting {#sec-xfce-troubleshooting .unnumbered}
34
35Even after enabling udisks2, volume management might not work. Thunar
36and/or the desktop takes time to show up. Thunar will spit out this kind
37of message on start (look at `journalctl --user -b`).
38
39```plain
40Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
41```
42
43This is caused by some needed GNOME services not running. This is all
44fixed by enabling \"Launch GNOME services on startup\" in the Advanced
45tab of the Session and Startup settings panel. Alternatively, you can
46run this command to do the same thing.
47
48```ShellSession
49$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
50```
51
52A log-out and re-log will be needed for this to take effect.