Autostart Firefox and Chrome Di Rasberry

Untuk Chrome

cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

Copy settingan berikut

cp /etc/xdg/lxsession/LXDE-pi/autostart /home/pi/.config/lxsession/LXDE-pi/autostart

cd ..Kemudian rubah setingan

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

Isi setingan dengan kode berikut

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

@xset s noblank

@xset s off

@xset –dpms

@chromium-browser –incognito –kiosk http://www.dafisof.com

 

UNtuk Firefox

Edit pada file yg sama seperti chrome, tapi isinya dirubah seperti ini

 @firefox-esr (@iceweasel) # whichever you are using
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s