Screen Alignment and Rotation - Why do the settings not stick on reboot or dock/undock?

Hey Everyone,

I am an average user of Linux, and more recently in the last year, a heavy user of Zorin OS Pro. I am running 17.3 on my Lenovo P14s Gen 1 with Intel and the NVIDIA P520 dGPU.

I've tried switching from Wayland to xorg in an attempt to try and fix my issues, and while the overall GPU performance is faster, it doesn't matter if I use Wayland or xorg - I cannot retain any screen alignment or rotation settings.

Specifically, I have the laptop, docked in the center. I have an 27" HP screen left, and a 29" LG widescreen mounted on the right that is spun sideways (Portrait Left, exactly.)

When I simply turn off the external monitors within the OS (Super+P) or in the menu, everything breaks. If I un-dock and re-dock, everything breaks. If I reboot, everything breaks. Basically, anytime the graphics are switched, I have to re-align everything and re-rotate the screen for the time I am at my desk. I remove the computer a few times a day... as I am finally typing this, I have finally have become annoyed enough to create a post.

Is there anything I can do to fix this, or is more a "Linux thing" as I've read online? I'd also like to know if I can script something, somehow to save the headache if there isn't a 'fix'.

Any help or post is appreciated.

You could try it with xrandr or arandr (that is a GUI for xrandr).

2 Likes

When soon Zorin 18 will be released, you can also take a look on this gnome extension. Unfortunately it is not suitable for gnome 43 (Zorin 17)

1 Like

Interesting for both posts. Thank you for your quick replies. I will test out the xrandr/arandr for the time being until ZOS 18 comes out.

2 Likes

Im only using one monitor this time but when I had multiple screens before, I use a xrandr script that is automatically executed every boot. I also save it on my desktop so its only a click away.

Heres my basic 2 monitor xrandr script:

xrandr --auto --output DVI-0 --right-of HDMI-0

You can do more research on screen rotation. I have not used that option.