Can I automatically generate a command-line for xrandr based on the current set-up?

by Tim Baverstock   Last Updated September 11, 2019 10:02 AM

I wrote a set-up script for my dual screen set-up some while ago, for when X went bonkers and I needed to restore sanity, but I just found a spare monitor and worked out I can use DP from a USB-C port I didn't know I had.

It suddenly occurred to me that xrandr might be able to create its own command-line for the current set-up, rather than me having to fiddle about writing it myself, but I can't find any options for that.

Is there a utility for this? Is it a stupid idea?

Tags : xrandr

Answers 1

Tut. Sometimes asking the question gets you different search terms.

Arandr can save xrandr command-lines.

Tim Baverstock
Tim Baverstock
September 11, 2019 09:59 AM

Related Questions

xrandr not detecting outputs

Updated May 26, 2016 08:00 AM

xrandr changes lost after tty

Updated February 25, 2017 09:02 AM

How to set a custom resolution?

Updated April 25, 2015 03:00 AM

Using high refresh rate monitor with ubuntu

Updated February 28, 2017 03:02 AM

Can't set underscan on Ubuntu 17.04 at 1080i

Updated May 22, 2017 22:02 PM