31 Aug 2017, 00:00

Identifier si une session est ouverte sous Wayland ou X11

Share

Il suffit de taper la comande suivante : loginctl show-session $XDG_SESSION_ID -p Type
ou
echo $XDG_SESSION_TYPE

Tester sous Wayland :

sudo apt install mesa-utils-extra
es2gears_wayland

https://askubuntu.com/questions/904940/how-can-i-tell-if-i-am-running-wayland