Determine Wayland X11

[Solved] Determine Wayland X11 | Shell - Code Explorer | yomemimo.com
Question : determine wayland x11

Answered by : guillaume-bouvier

loginctl show-session $(awk '/tty/ {print $1}' <(loginctl)) -p Type | awk -F= '{print $2}'

Source : https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used | Last Update : Tue, 04 May 21

Answers related to determine wayland x11

Code Explorer Popular Question For Shell