Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wish to add a new modeline using xrandr, however when I want to switch to the new modeline, I am asked to provide --output. The manual page doesn't explain where I can get my options from.

So how do I find out what value to pass to --output?

share|improve this question
up vote 1 down vote accepted

xrandr wants to know which output port you want to apply the new modeline to. Most modern graphics hardware supports more than one output port, for example an HDMI port plus a VGA port on a graphics hard or an internal LCD screen plus an external port on a laptop.

Run xrandr without any arguments to see a list of available outputs. The names of the outputs are usually of the form VGA1 or LVDS1. This will also tell you whether or not each output is connected and what its resolution and available modelines currently are.

share|improve this answer
It might be helpful to add that this is usually of the form ‘VGA1’ or ‘LVDS1’ etc. – Claudius Nov 3 '12 at 13:35
@Claudius good idea. I've added that. Also, please feel free to edit answers yourself if you have something useful to add! – Celada Nov 3 '12 at 14:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .