Robert Moskowitz via users wrote:
>Is there a way to check, while login, if I am using Wayland?
$ de=$( ps -ef )
if [[ $de =~ usr.bin.X\ ]] # note, two spaces are critical
then echo running X11
elif [[ $de =~ -wayland ]]
then echo running Wayland
else
echo not running either
fi
--
Dave Close, Compata, Irvine CA "Only great minds can afford
[email protected], +1 714 434 7359 a simple style."
[email protected] -- Stendhal
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new