Results 1 to 7 of 7

Thread: How can I permenantly turn off screen rotation?

  1. #1
    Join Date
    Apr 2007
    Location
    Hartford City, Indiana US
    Beans
    1,352
    Distro
    Ubuntu Mate Development Release

    How can I permenantly turn off screen rotation?

    I have an HP 17-121 wm laptop I am running 18.04 on. The screen rotates randomly all the time! It happens on the GDM even in the middle of logging on and at all kinds of crazy random times! I have searched online for a way to kill this feature with no luck. The button for the feature seems to do nothing. This is driving me crazy! Is there a way to get rid of this feature or permanently turn it off?

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How can I permenantly turn off screen rotation?

    This has been an issue since 17.10 and possibly earlier.

    FTR: "xrandr" does not work on Wayland.

    See if this helps:
    Code:
    gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true
    Additionally, the below command ought/should disable the orientation plugin completely.

    Code:
    gsettings set org.gnome.settings-daemon.plugins.orientation active false
    Also, gnome provides an option to rotate the screen from Settings->>>Devices->>>Displays->>>Orientation setting (search for displays in Activities)
    Which you say it dose not work.
    Last edited by 1fallen; March 24th, 2018 at 03:23 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  3. #3
    Join Date
    Apr 2007
    Location
    Hartford City, Indiana US
    Beans
    1,352
    Distro
    Ubuntu Mate Development Release

    Re: How can I permenantly turn off screen rotation?

    Thanks! I ran both commands. Hope it takes care of that extremely annoying behavior permanently.

  4. #4
    Join Date
    Apr 2007
    Location
    Hartford City, Indiana US
    Beans
    1,352
    Distro
    Ubuntu Mate Development Release

    Re: How can I permenantly turn off screen rotation?

    Well, that worked fo a few days... This morning when I booted up the GDM appeared sideways. After logging on the desktop rotated to normal but this is by far the most annoying problem I have ever dealt with.

  5. #5
    Join Date
    Aug 2018
    Beans
    1

    Re: How can I permenantly turn off screen rotation?

    Quote Originally Posted by 1fallen View Post
    Code:
    gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true
    gsettings set org.gnome.settings-daemon.plugins.orientation active false

    This seems to have fixed a similar problem on my computer (rotating the laptop would make the screen go blank or flip upside down, now it doesn't). Thanks!

    (Ubuntu 18.04, HP Zbook 15)

  6. #6
    Join Date
    Nov 2008
    Location
    Munich, Germany
    Beans
    6
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How can I permenantly turn off screen rotation?

    Quote Originally Posted by simonsoelberg View Post
    This seems to have fixed a similar problem on my computer (rotating the laptop would make the screen go blank or flip upside down, now it doesn't). Thanks!

    (Ubuntu 18.04, HP Zbook 15)
    Make your life easier with dconf-editor & follow the chain as in the gsettings you were recommended by others above

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: How can I permenantly turn off screen rotation?

    18.04 is no longer in development stage

    Thread closed

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •