Skip to content

WSLg (WSL Graphics)

WSLg (Windows Subsystem for Linux Graphics) is the feature that enables GUI (Graphical User Interface) applications to run on the Windows Subsystem for Linux^[600-developer__tools__windows__install-wslg.md]. It allows users to install and launch Linux graphical applications directly from the WSL environment^[600-developer__tools__windows__install-wslg.md].

Installation

To utilize graphical applications, you must ensure the necessary packages are installed within the WSL environment^[600-developer__tools__windows__install-wslg.md].

  1. Update and Upgrade: First, update the package lists and upgrade existing packages^[600-developer__tools__windows__install-wslg.md].
    sudo apt update
    sudo apt upgrade
    
  2. Install GUI Applications: You can then install specific GUI applications^[600-developer__tools__windows__install-wslg.md]. For example, to install gedit, a common text editor found in the GNOME desktop environment:
    sudo apt install gedit
    
  • [[WSL]]
  • [[Windows Terminal]]
  • [[Linux]]

Sources

  • 600-developer__tools__windows__install-wslg.md
  • 600-developer__tools__windows__000-MOC-windows.md