Skip to content

Instantly share code, notes, and snippets.

@nidorx
Created March 20, 2017 02:16
Show Gist options
  • Save nidorx/e06f3c5a7cd8f3aa1265b6ea4aa797e9 to your computer and use it in GitHub Desktop.
Save nidorx/e06f3c5a7cd8f3aa1265b6ea4aa797e9 to your computer and use it in GitHub Desktop.
WSL Instalar o XFCE4 (interface grafica) no Ubuntu on Windows

Passos para instalar o XFCE no WSL

Dependencias

sudo apt-get update
sudo add-apt-repository ppa:xubuntu-dev/xfce-4.12
sudo apt-get update
sudo apt-get install xfce4 qt4-qtconfig

echo "export DISPLAY=:0.0" >> ~/.bashrc
sudo sed -i 's$<listen>.*</listen>$<listen>tcp:host=localhost,port=0</listen>$' /etc/dbus-1/session.conf

Xserver

Configurar temas GTK+

No terminal

qtconfig

No xserver

  • "Appearence" -> "Select GUI Style" -> GTK+
  • "File" -> "Save"
  • "File" -> "Exit"

Iniciar o XFCE4

No terminal

startxfce4
@Lucasark
Copy link

session.conf file is located at:" /usr/share/dbus-1/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment