diff options
author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-10-23 10:49:25 +0800 |
---|---|---|
committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-10-23 10:49:25 +0800 |
commit | 78f68b1366e99304877ce81376bc3571529fbf5a (patch) | |
tree | e9cfe7681171b34d038e8ba38e02fcb3d384c852 /bin | |
parent | 8c66c6ad60e1c675da288ae172b3ea610361dca5 (diff) |
provider:checkbox: Make the rotation sequence more reasonable.
Make the rotation more close to user behaviour, from normal to each orientation, instead of cycling through them.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rotation_test_using_dbus | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/rotation_test_using_dbus b/bin/rotation_test_using_dbus index aa19223..9e62daa 100755 --- a/bin/rotation_test_using_dbus +++ b/bin/rotation_test_using_dbus @@ -30,12 +30,12 @@ rotate() { dbus-send --session --print-reply --dest=org.gnome.SettingsDaemon /org/gnome/SettingsDaemon/XRANDR org.gnome.SettingsDaemon.XRANDR_2.RotateTo int32:$1 int64:0 > /dev/null 2>&1 } -# Rotate the screen in the following modes: -# - left -# - inverted -# - right -# - normal -for i in 2 4 8 1 +# Rotate the screen in-between the following modes and the normal mode: +# 2 - left +# 4 - inverted +# 8 - right +# 1 - normal +for i in 2 1 4 1 8 1 do rotate $i sleep 4 |