2010. május 23.

Screen rotation through Nautilus scripts.

Here is how you make nautilus scripts work.

This is a script for rotating right (note-taking side):
#!/bin/sh
xrandr -o right
xsetwacom set 'Serial Wacom Tablet' Rotate CW
This is to set back to normal:
#!/bin/sh
xrandr -o normal
xsetwacom set 'Serial Wacom Tablet' Rotate NONE
I also use the following two, so I can rotate in any direction:
#!/bin/sh
xrandr -o left
xsetwacom set 'Serial Wacom Tablet' Rotate CCW
and
#!/bin/sh
xrandr -o inverted
xsetwacom set 'Serial Wacom Tablet' Rotate 3

Nincsenek megjegyzések: