From 4b5a230d1db8cd2f0f7bc75de5f0478874ccc5a6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 6 Feb 2017 09:10:05 +0100 Subject: [PATCH 1/4] Add documentation for XFCE --- nixos/doc/manual/configuration/xfce.xml | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 nixos/doc/manual/configuration/xfce.xml diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml new file mode 100644 index 00000000000..12eb30db21e --- /dev/null +++ b/nixos/doc/manual/configuration/xfce.xml @@ -0,0 +1,49 @@ + + + XFCE Desktop Environment + + + To enable the XFCE Desktop Environment, set + + services.xserver.desktopManager = { + xfce.enable = true; + default = "xfce"; + }; + + + + + Optionally, compton + can be enabled for nice graphical effects, some example settings: + + services.compton = { + enable = true; + fade = true; + inactiveOpacity = "0.9"; + shadow = true; + fadeDelta = 4; + }; + + + + + XFCE programs are not installed automatically. + To install them manually (system wide), put them into your + environment.systemPackages- + + + + NixOS’s default display manager (the + program that provides a graphical login prompt and manages the X + server) is SLiM. You can, for example, select KDE’s + kdm instead: + + services.xserver.displayManager.kdm.enable = true; + + + + From bf56d17b2c4beee6e1756d2c8113fd7907b6a23d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 6 Feb 2017 09:17:52 +0100 Subject: [PATCH 2/4] fixup! Add documentation for XFCE --- nixos/doc/manual/configuration/xfce.xml | 57 ++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml index 12eb30db21e..d406616bae0 100644 --- a/nixos/doc/manual/configuration/xfce.xml +++ b/nixos/doc/manual/configuration/xfce.xml @@ -2,7 +2,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" - xml:id="sec-x11"> + xml:id="sec-xfce"> XFCE Desktop Environment @@ -46,4 +46,59 @@ + + Thunar Volume Support + + + To enable + Thunar + volume support, put + + services.xserver.desktopManager.xfce.enable = true; + + into your configuration.nix. + + + + + + Polkit Authentication Agent + + + There is no authentication agent automatically installed alongside + XFCE. To allow mounting of local (non-removable) filesystems, you + will need to install one. + + Installing polkit_gnome, a rebuild, logout and + login did the trick. + + + + + + Troubleshooting + + + 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 journalctl --user -b). + + + Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported + + + 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. + + $ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true + + A log-out and re-log will be needed for this to take effect. + + + + From de592483d1f644cc46d9a8a00c36c1e7bda4ab1a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 7 Feb 2017 17:55:40 +0100 Subject: [PATCH 3/4] Add xfce documentation --- nixos/doc/manual/configuration/configuration.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/doc/manual/configuration/configuration.xml b/nixos/doc/manual/configuration/configuration.xml index 448e2a932e9..8677c13db40 100644 --- a/nixos/doc/manual/configuration/configuration.xml +++ b/nixos/doc/manual/configuration/configuration.xml @@ -21,6 +21,7 @@ effect after you run nixos-rebuild. + From a0505989c98580867286cc0674f0aac58a8c3bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 9 Feb 2017 18:38:01 +0100 Subject: [PATCH 4/4] Xfce docs nitpicks - fix validity - XFCE -> Xfce, as that seems to be upstream preference --- nixos/doc/manual/configuration/xfce.xml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml index d406616bae0..7b60493e9df 100644 --- a/nixos/doc/manual/configuration/xfce.xml +++ b/nixos/doc/manual/configuration/xfce.xml @@ -4,10 +4,10 @@ version="5.0" xml:id="sec-xfce"> - XFCE Desktop Environment + Xfce Desktop Environment - To enable the XFCE Desktop Environment, set + To enable the Xfce Desktop Environment, set services.xserver.desktopManager = { xfce.enable = true; @@ -31,15 +31,16 @@ - XFCE programs are not installed automatically. + Some Xfce programs are not installed automatically. To install them manually (system wide), put them into your - environment.systemPackages- - + environment.systemPackages. + - NixOS’s default display manager (the - program that provides a graphical login prompt and manages the X - server) is SLiM. You can, for example, select KDE’s + NixOS’s default display manageris SLiM. + (DM is the program that provides a graphical login prompt + and manages the X server.) + You can, for example, select KDE’s kdm instead: services.xserver.displayManager.kdm.enable = true; @@ -66,7 +67,7 @@ There is no authentication agent automatically installed alongside - XFCE. To allow mounting of local (non-removable) filesystems, you + Xfce. To allow mounting of local (non-removable) filesystems, you will need to install one. Installing polkit_gnome, a rebuild, logout and