You can try this one, written in Python, it shows a libnotify notification and also uses xrandr to change the resolution:
Switch between the external monitor and the laptop monitor
Although The post is in spanish
Printable View
You can try this one, written in Python, it shows a libnotify notification and also uses xrandr to change the resolution:
Switch between the external monitor and the laptop monitor
Although The post is in spanish
I've made something similar some time ago...
http://nsdrz.ath.cx/modules/news/article.php?storyid=11