Skip to content

Commit

Permalink
Quick hack to make it work on RPi again, proper fix following soon
Browse files Browse the repository at this point in the history
  • Loading branch information
schlomo committed Nov 11, 2014
1 parent 6bc457c commit 5a522fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: kiosk-browser
Version: 40
Version: 41
Priority: optional
Section: web
Architecture: all
Expand Down
2 changes: 1 addition & 1 deletion src/var/lib/kiosk-browser/.xsession
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ while true; do
# if KIOSK_BROWSER_PORTS is set, assume that it specifies multiple screens connected.
for (( c=0 ; c<${#KIOSK_BROWSER_PORTS[@]} ; c++ )) ; do
$CHROME --user-data-dir=$HOME/.config/chromium/$c "${KIOSK_BROWSER_OPTIONS[@]}" --disable-translate --no-first-run "${KIOSK_BROWSER_START_PAGE[c]:-$KIOSK_BROWSER_START_PAGE}" &
sleep 5
sleep 30
# move new window to the current screen. We identify the window by the --user-data-dir option which appears in the window class name :-)
port=$(xrandr_find_port "${KIOSK_BROWSER_PORTS[c]}")
port_x=$(sed -ne "/$port/s#[^+].*+\([0-9]\+\)+.*#\1#p" <<<"$XRANDR_OUTPUT")
Expand Down

0 comments on commit 5a522fa

Please sign in to comment.