I wanted to make a shell script, that rotates through the display orientations when you press the key longer (just like in windows).

I got pretty far, then noticed that you can't change ubuntu's OSD-Notification to switch faster. There's no point if it takes 5 seconds to update the notification... does anybody know another type of OSD?