Foreword
If you upgraded to the new Pop!_OS 20.04 recently, you might have experienced issues with screen rotations if you have a multi-monitor setup. If you rotate a secondary display from gnome display configuration left or right, it does not rotate.
The issue are being tracked here:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/974
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1874217
Solution
Use ARandR to create a script and add it to startup applications.
Create a layout script using ARandR and save it into a place you prefer.
This is what I have in my script:
1 | #!/bin/sh |
Important note:
Sometimes xrandr commands can break if they are run too early before the desktop is fully loaded. Therefore you might want to add a break into the command:
1 | #!/bin/sh |
Add to startup applications
I named my script “dual_monitor.sh” so I will add the following line to the command:
1 | /bin/bash /path/to/dual_monitor.sh |