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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.