So I have Ubuntu installed on a motherboard, which I connect to, two different displays back and forth. It's a little painful to manually change the settings every time, so I want to write a bash script which will be inside /usr/local/bin/
, so that I can access it easily.
I want to know the terminal command for the following. (I might pass the "resolution/aspect-ratio" as bash argument for example)
Settings > Display > Resolution > Choose > Apply > Confirm
Thank you in advance.
xrandr