Fedora – stop fedora gnome auto-rotate screen when shake laptop

fedoragnome

i've installed fedora 25 today coming from mint !

every things goes great . but when i shake the laptop unintentionally the screen turn around and make a 90deg or 180deg rotate .

every time this happen i have to shake my lap in different position until i get the normal screen !

is there anyway to force fedora to don't detect shakes and laptop moves ?

or to force screen to be normal always ?

Best Answer

run this command as your STANDARD USER, replace cinnamon by the name of the desktop environment you are using (gnome...etc) :

gsettings set org.cinnamon.settings-daemon.peripherals.touchscreen orientation-lock  true
Related Question