From Void Linux Wiki
Jump to: navigation, search

Xfce (X Freakin' Cool Environment) is the second lightest and fastest desktop environment available on Void. The fastest DE is LXDE, however Xfce has vastly more features and customization options while still being almost as fast as LXDE. Xfce provides a complete user experience, including a window manager, a file manager, a desktop, and a panel.


Install the xfce4 package

# xbps-install -S xfce4


You can start Xfce like this for now:

$ startxfce4

Note that Xfce will create a separate environment for each user. Meaning, if you type sudo startxfce4 instead of startxfce4, you will enter a different environment than the one you originally had (if you originally started Xfce as non-root of course).

If you get tired of typing startxfce4 every time you turn on your Void linux machine, you should install a display manager.

Screen tearing fix

If you have screen tearing, the first thing you should try is to install the compton package, and configure it.

If you still have screen tearing, and you so happen to be using intel integrated graphics and drivers, then enable TearFree with this fix:

# mkdir /etc/X11/xorg.conf.d/

Create the directory above if it does not exist. Then run the next command with your favorite text editor. Vim will be used in this example.

$ vim /tmp/20-intel.conf

And paste/type the following into the editor:

Section "Device"
  Identifier  "Intel Graphics"
  Driver      "intel"
  Option      "TearFree" "true"

Now exit the editor and move (as root) the file you just created into the folder you created.

# mv /tmp/20-intel.conf /etc/X11/xorg.conf.d/

And finally

# reboot