and if you need a login screen (which will allow you to lock your screen when using desktop mode at least) make a custom image https://bazzite.gg/#diy and
# Remove the autologin to gamescope-session
RUN rm /usr/etc/sddm.conf.d/steamos.conf && \
systemctl disable bazzite-autologin.service && \
ostree container commit
# Remove the autologin to gamescope-session
RUN rm /usr/etc/sddm.conf.d/steamos.conf && \
systemctl disable bazzite-autologin.service && \
ostree container commit
this will make "switch to desktop" and "return to gamemode" log you out though as your steamos session manager is no longer valid
Bazzite is a custom image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.