1. Open SciTE (or your favorite text editor) 2. Write the following script script: -------------------------------------------------- #!/bin/sh TEMPVAR=$(xrandr | grep "Current rotation - right") if [ ${#TEMPVAR} -eq 0 ]; then xrandr -o 3 else xrandr -o 0 fi -------------------------------------------------- 3. Save it as chkhingeakita in /usr/bin 4. chmod 755 /usr/bin/chkhingeakita 5. Go to XFCE Settings Manager -> Window Manager -> Keyboard 6. Add a new theme. 7. Click on a free command shorcut, use chkhingeakita when prompted for the command, and rotate the screen when prompted for a key.