automatically rotates display when switching from gamemode to desktop

Is there a way to stop the OS from changing display rotation whenever I change from gamemode to desktop mode? A bit annoying i have to open the settings everytime i switch between the two. any answers appreciated, thanks :)
6 Replies
1/4 Life
1/4 Life7mo ago
what hardware?
kimori
kimori7mo ago
samsung galaxy book 3 360 intel i5 13th gen intel igpu graphics 8gb ram
1/4 Life
1/4 Life7mo ago
interesting, that doesn't do any auto rotation Are you using the deck or desktop build?
kimori
kimori7mo ago
it did in windows deck build
1/4 Life
1/4 Life7mo ago
try using x11, edit /etc/default/desktop-wayland see if it still happens
kimori
kimori7mo ago
how do i use x11? sorry oh nvm i got it it seemed to have worked