I have set my desktop screen vertically on a stand so that more text would fit in. Sometimes I want to use the screen for watching a movie so I turn it back and change the configurations back. I want to speed up the process by making my desktop to change those settings automatically when I turn the screen (like on any tablet or smartphone). I want install arduino with accelerometer to sense the turn and tell the desktop to change the settings. I question is how do I set my desktop to listen to arduino and change its settings?
I got windows 7 and linux Ubuntu
Thanks