3

I'm having a problem with my HP screen rotation. It works like a smartphone or tablet and it changes the screen display when I move the laptop to the sides.

I know that Gnome has a Lock Rotation button. And I would like to have the same in Budgie (for what I know, it's based in Gnome, right?). Is there a way to do this?

If not, can I block the screen rotation from the command line?

I'm not looking to unable the accelerometer itself, just to lock the screen rotation when the computer moves.

Thanks a lot!

descrition: Notebook

product: HP ENVY Notebook (P0D92LA#ABM)

vendor: HP

version: Type1ProductConfigId

serial: CND538C3X9

capabilities: smbios-2.8 dmi-2.8 smp vsyscall32

kaenovsky
  • 111
  • Did you check if there's any way you could lock or disable the screen rotation through BIOS? – M. Becerra May 08 '17 at 07:50
  • Does this change anything: gsettings set org.gnome.settings-daemon.plugins.orientation active false ? – M. Becerra May 08 '17 at 07:55
  • Thanks @M.Becerra I wouldn't want to mess with the BIOS for this one. But the gsettings thing was a great lead, I thought it would make it, but it didn't work out for me. It is maybe just for Gnome? My Budgie won't do the trick :( – kaenovsky May 08 '17 at 16:16
  • Do sudo apt install dconf-editor and try to find the setting yourself, as it may be very similar to the one I commented previously, just follow the tree :) – M. Becerra May 08 '17 at 16:42
  • Even though I follow the path that you mentioned, orientation active set to false does not solve my problem. I don't know what might be going on. Thank you so much anyway @M.Becerra – kaenovsky May 09 '17 at 23:52
  • Please create an answer and accept it. Don't add "solved" to the question. – Rinzwind May 11 '17 at 21:15
  • Sure @Rinzwind I didn't know this. I've already answered the question and now I'll edit my original post. Thank you! – kaenovsky May 15 '17 at 05:42

1 Answers1

7

I solved this thanks to the guys from the IRC #ubuntu-budgie

The right command to solve this for Ubuntu Budgie 17.04 is:

gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true


The one that M. Becerra mentioned, for what I've read, worked just fine in Ubuntu Budgie 16.04, in case you are using that version the path to type into your console is:

gsettings set org.gnome.settings-daemon.plugins.orientation active false

kaenovsky
  • 111
  • +1 For your effort to self-answer while crediting others. Also, good answer to tell the difference between current and newer releases. Well done. –  May 15 '17 at 06:52