0

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.

4
  • Have you seen the solutions to a similar question over here?
    – user1091774
    Feb 10, 2021 at 13:36
  • Is it possible to call it from the settings app? I don't want to use xrandr
    – user1066175
    Feb 10, 2021 at 13:42
  • Would you have any specific reason for not using xrandr? Did you at least try it? Feb 10, 2021 at 13:57
  • Yes I have tried it before, and I think it messed up with my display.
    – user1066175
    Feb 10, 2021 at 14:19

0

You must log in to answer this question.