Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/add mousemove command #34

Merged
merged 2 commits into from
Jun 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/filesystem/home/pi/scripts/fullscreen
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export DISPLAY=:0
WID=$(xdotool search --onlyvisible --class chromium|head -1)
xdotool windowactivate ${WID}
xdotool key F11
xdotool movemouse 9000 9000
xdotool mousemove 9000 9000
1 change: 1 addition & 0 deletions src/filesystem/home/pi/scripts/run_onepageos
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ while true
do
if [ $(curl -sL -w "%{http_code}\\n" "http://localhost/FullPageDashboard" -o /dev/null) == "200" ]; then
(sleep 15 ; /home/pi/scripts/fullscreen) &
xdotool mousemove 9000 9000
chromium-browser --kiosk --app=$(head -n 1 /boot/fullpageos.txt)
fi
sleep 1
Expand Down