Auto cycle chromium tabs in kiosk-pi - Raspberry Pi Forums


hi. here's small doubt.
i've followed tutorial pi 2 raspbian run chromium @ boot 3 tabs, 3 websites, kiosk mode.
want make cycle through tabs.

i've created following file:
~/.config/autostart/autochromium.desktop

code: select all

[desktop entry] type=application exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk http://site1 http://site2 http://site3 hidden=false x-gnome-autostart-enabled=true name[en-us]=autochromium comment=start chromium when gnome starts
, found command works charm cycle through tabs:

code: select all

lxterminal --command watch -n30 "xdotool search --onlyvisible --class "chromium" windowfocus && xdotool key ctrl+tab"
question is: how add latter command, enough time after boot gives enough time @ chromium start? because if add command right @ end of autochromium file not run chromium, shows error on lxterminal.

thanks!

in autostart file have spaced

code: select all

@chromium-browser --noerrdialogs --kiosk http://url http://url http://ip_address @lxterminal --command watch -n25 "xdotool search --class chromium key ctrl+tab ctrl+r" 
, appears though error window , lxterminal pop up,the kiosk mode opens on top of , starts auto cycling without input user.


raspberrypi



Comments

  1. Does anyone know which is the best product among those listed on this site?The Free Spirited Gnome

    ReplyDelete

Post a Comment