Check your session type – wayland or X11
With both wayland and X11 in mainstream, its pretty easy to forget if you are running in Wayland or in X11. To check this here are the commands:
loginctl list-sessions # The above command will show you all the sessions. Note the session number for your session loginctl show-session <session number> -p Type