Results 1 to 2 of 2

Thread: How to persist display settings with ubuntu?

  1. #1
    Join Date
    May 2021
    Beans
    1

    How to persist display settings with ubuntu?

    How to persist display settings with ubuntu?

    **Setup:**
    **3 monitors**

    **Ubuntu 20.04.2 LTS**

    **Display manager: gdm3**

    **Window system: X11**

    **Config: xrandr**


    Every time the system is booted, the monitor setup is a mess.
    I have been reading a lot, for example:

    [https://wiki.ubuntu.com/X/Config/Res..._in_xorg.conf][1]

    What works is applying manually:

    ~/.xprofile

    Which has xrandr commands, such as:

    xrandr -- output DisplayPort - 1 -- primary -- mode 1920x1080 -- pos 1920 x 1080 -- rotate normal

    But nothing is applied on boot or persists on reboot.

    I have tried many things:


    adding to

    /etc/X11/Xsession.d/45custom_xrandr_setting
    /etc/X11/Xsession.options

    nothing


    ~/.xprofile
    ~/.xinitrc
    ~/.config/monitors.xml
    ~/.screenlayout/view1.sh

    nothing


    sudo vim /etc/gdm3
    /etc/X11/Xsession.d/45custom_xrandr_setting
    /etc/X11/Xsession.options

    nothing



    /etc/X11/xorg.conf
    /etc/X11/xinit/xinitrc
    /etc/X11/Xsession.d
    /etc/X11/Xsession.d/99x11-common_start
    /etc/X11/Xsession.d/45custom_xrandr_setting
    /etc/X11/Xsession.options

    nothing

    Please help!


    [1]: http://%20How%20to%20persist%20displ...0Please%20help!

  2. #2
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,120
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How to persist display settings with ubuntu?

    Cheers,


    The Linux Command Line at http://linuxcommand.org/

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
  •