4
# Do -without-mouse first (just to make sure everything's setup)
5
# Open Shutter and make sure "Include cursor" is checked
7
lang=$(basename $LANG .UTF-8)
9
dir=$HOME/.ubuntu-help/$lang/figures
10
downdir=$HOME/.downloads
17
short_pause="$short_pause"
19
# Set the screen resolution
23
# Change the time to match the version number
24
# This needs to be updated for different locales
25
gsettings set com.canonical.indicator.datetime time-format "custom"
26
gsettings set com.canonical.indicator.datetime custom-time-format "12:04 %p"
27
gsettings set org.gnome.Evince.Default show-sidebar false # This doesn't seem to work?
28
gsettings set com.canonical.Unity form-factor "Netbook"
30
gsettings set com.canonical.Unity.Launcher favorites "['ubuntu-software-center.desktop',
31
'ubuntuone-installer.desktop', 'gnome-control-center.desktop']"
32
evince $downdir/standard-tube-map.pdf &
34
xdotool getactivewindow windowsize 600 500
35
xdotool getactivewindow windowmove 55 208
36
xdotool key Down Down Down Down
37
xdotool key Down Down Down Down
38
xdotool key Right Right Right Right Right Right
41
xdotool getactivewindow windowmove 240 340
42
xdotool mousemove --sync 300 510
44
xdotool mousemove --sync 53 413
46
shutter -f -e -o $dir/unity-workspace-intro.png
48
convert $dir/unity-workspace-intro.png -crop 375x300+0+202 +repage $dir/unity-workspace-intro.png
50
convert $dir/unity-workspace-intro.png -resize 250x200 $dir/unity-workspace-intro.png
53
gsettings reset com.canonical.Unity.Launcher favorites
55
xdotool key Ctrl+Alt+Down Ctrl+Alt+Right
59
xdotool key Ctrl+Alt+Up
61
evince $downdir/EmblemDivide.pdf &
63
xdotool key Down Down Down Down Down Down
64
xdotool getactivewindow windowsize --sync 580 520
65
xdotool getactivewindow windowmove --sync 270 150
66
xdotool key Ctrl+Alt+Left
67
xdg-open "http://www.ubuntu.com"
70
xdotool mousemove --sync 53 650
73
shutter -f -e -o $dir/unity-windows.png
74
convert $dir/unity-windows.png -resize 400x300 $dir/unity-windows.png
79
xdotool key Ctrl+Super+Right
90
xdotool mousemove --sync 80 205
91
shutter -f -e -o $dir/unity-launcher-intro.png
92
convert $dir/unity-launcher-intro.png -crop 300x240+0+83 +repage $dir/unity-launcher-intro.png
94
convert $dir/unity-launcher-intro.png -resize 250x200 $dir/unity-launcher-intro.png
96
xdotool key Ctrl+Super+Up
99
xdg-open $downdir/Echoes\ In\ Time.mp3
119
xdotool mousemove --sync 900 165
120
shutter -f -e -o $dir/unity-appmenu-intro.png
122
convert $dir/unity-appmenu-intro.png -crop 375x300+650+0 +repage $dir/unity-appmenu-intro.png
123
convert $dir/unity-appmenu-intro.png -resize 250x200 $dir/unity-appmenu-intro.png
137
xdotool mousemove --sync 900 225
138
shutter -f -e -o $dir/unity-exit.png
139
convert $dir/unity-exit.png -crop 375x300+650+0 +repage $dir/unity-exit.png
141
convert $dir/unity-exit.png -resize 250x200 $dir/unity-exit.png
145
# Change things back to normal
146
gsettings reset com.canonical.indicator.datetime time-format
147
gsettings reset com.canonical.indicator.datetime custom-time-format
148
gsettings reset com.canonical.Unity form-factor
150
# This is supposed to set a laptop's screen resolution back to default
151
xrandr --output LVDS1 --auto