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!
Bookmarks