On Wed 30.04.2014 04:09:50, Raphael Cervantes wrote: > On Sun, Apr 20, 2014 at 7:30 PM, Andre Klärner <[email protected]> wrote: > > On April 20, 2014 9:16:47 PM CEST, Raphael Cervantes > > <[email protected]> wrote: > > > I was wondering if anyone has a script that would allow a plug-and-play > > > dual monitor that Gnome offers. I can't be bothered to play with xrandr > > > commands when I'm about to give a presentation to an audience. > > > > actually there are a gazillion scripts of this kind and everyone finds its > > best fit. > > > > For me it has worked best to have my awesome configured to deal with all > > my screen setups (one up to three displays, machine-dependant tags on > > different displays) and rely on the auto detection of new displays that > > lead to an awesome restart. For special purposes I use autorandr (invoked > > manually) that tries to guess the right display arrangement from the > > connected displays, but in each case of a important presentation I try to > > check a while before the presentation how to configure e.g. the > > displayport or VGA with the optimal resolution and prepare an xrandr line > > in a shell script beforehand, so that I just need to apply this one I'm > > on. Also "xrandr --output VGA-0 --auto" works a treat if the display > > device supports DDC. > > > > Also xrandr gets a lot easier once you used it a bit, but it turns out to > > be more reliable when you finally got its syntax in your muscle memory. > > It seems that I was already on the right track. I just have a problem > dealing with projectors that have a lower screen resolution than my native > screen resolution. > > IN="LVDS1" > EXT="VGA1" > > xrandr --output $IN --auto --output $EXT --auto --same-as $IN > > However, I think this makes my computer assume that the external display is > the same resolution as my monitor, which is not the case. How do I fix this? > I haven't found the answer to my question.
Well, if it doesn't assume that both are the same resolution, how should it be able to display a different count of pixels on each of them? So either use an external display capable of the resolution your internal can do, or downgrade both to a matching one. I have found 1280x720 and 1280x800 to be good candidates for current projectors, which deliver a sensible size and screen real estate tradeoff. Another solution would be panning, but this is something I personally only experienced by accident and hated it very much (scrolling within a browser - okay .. scrolling your screen within your display - not cool at all). Also another way around this is using not the same screen content on both screens.. Like displaying the presenter view on the internal display, and just the presentation output on the external display (so no need to have the same resolution on both displays) Regards, Andre -- Andre Klärner
smime.p7s
Description: S/MIME cryptographic signature
