1 # Xfce Desktop Environment {#sec-xfce}
3 To enable the Xfce Desktop Environment, set
7 services.xserver.desktopManager.xfce.enable = true;
8 services.displayManager.defaultSession = "xfce";
12 Optionally, *picom* can be enabled for nice graphical effects, some
20 inactiveOpacity = 0.9;
27 Some Xfce programs are not installed automatically. To install them
28 manually (system wide), put them into your
29 [](#opt-environment.systemPackages) from `pkgs.xfce`.
31 ## Thunar {#sec-xfce-thunar-plugins}
33 Thunar (the Xfce file manager) is automatically enabled when Xfce is
34 enabled. To enable Thunar without enabling Xfce, use the configuration
35 option [](#opt-programs.thunar.enable) instead of adding
36 `pkgs.xfce.thunar` to [](#opt-environment.systemPackages).
38 If you'd like to add extra plugins to Thunar, add them to
39 [](#opt-programs.thunar.plugins). You shouldn't just add them to
40 [](#opt-environment.systemPackages).
42 ## Troubleshooting {#sec-xfce-troubleshooting}
44 Even after enabling udisks2, volume management might not work. Thunar
45 and/or the desktop takes time to show up. Thunar will spit out this kind
46 of message on start (look at `journalctl --user -b`).
49 Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
52 This is caused by some needed GNOME services not running. This is all
53 fixed by enabling "Launch GNOME services on startup" in the Advanced
54 tab of the Session and Startup settings panel. Alternatively, you can
55 run this command to do the same thing.
58 $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
61 It is necessary to log out and log in again for this to take effect.