Skip to content

Instantly share code, notes, and snippets.

@leandrowferreira
Last active April 24, 2025 22:00
Show Gist options
  • Select an option

  • Save leandrowferreira/b2a292d316c46714cab4c4f165dbfb7d to your computer and use it in GitHub Desktop.

Select an option

Save leandrowferreira/b2a292d316c46714cab4c4f165dbfb7d to your computer and use it in GitHub Desktop.
Habilitar ou desabilitar o Wayland no Debian 12

Desabilitar o Wayland (usar o x11)

sudo sed -i '/^#*WaylandEnable=/ s/^#//; s/true/false/' /etc/gdm3/daemon.conf

Habilitar o Wayland

sudo sed -i '/^#*WaylandEnable=/ s/^#//; s/false/true/' /etc/gdm3/daemon.conf

Reiniciar depois de alterar

sudo systemctl restart gdm

Verificar qual sistema está ativo

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