I want to write a script that will toggle video settings. I have two sets of settings saved using auto-disper/autorandr. One set of settings is for single monitor mode and the other is for dual monitor mode. I want my script to detect the current settings and then toggle to the other set of settings. Ive got most of it laid out, but I cant figure out how to detect if my second monitor is active or not. I know that is has something to do with the program nvidia-settings, but dont know which attribute to look at. Any help??
OS: Kubuntu 11.10 with KDE 4.8
Graphics: Nvidia GeForce GTX 550 Ti
Bookmarks