Hi Raphael, 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. Regards, Andre On April 20, 2014 9:16:47 PM CEST, Raphael Cervantes <[email protected]> wrote: >Hi all, >I'm trying to implement the script suggested in this page >http://awesome.naquadah.org/wiki/Using_Multiple_Screens >for cycling through different multi-screen configurations. Its in the >section: Cycling through possible configurations. > >When I put it in my rc.lua file, I get the error message "attempt to >index global 'config' (a nil value). > >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. > >-Raphael -- Andre Klärner Telefon: 0351/79666546 Fax: 0351/79688547 Mobil: 0172/9838653 Anschrift: Prohliser Allee 43 01239 Dresden -- To unsubscribe, send mail to [email protected].
