CS Forward

How to Run VLC Player Kiosk Mode

Steps

1. Download and install VLC:

sudo apt-get install vlc

 

2. Configure the following file:

sudo nano /home/pi/.Xsession

 

3. Add the following:

cvlc –fullscreen typemediafilepathhere

 

Credits

https://www.raspberrypi.org/forums/viewtopic.php?t=49114

Smart Azan Clock Setup

Steps

1. Open the following file:

sudo nano /home/pi/.Xsession

 

2. And add the following:

chromium-browser –autoplay-policy=no-user-gesture-required –window-size=1366,768 –-window-position=0,0 –start-maximized –noerrdialogs –disable-session-crashed-bubble –disable-infobars –kiosk –check-for-update-interval=1 –simulate-critical-update https://smartazanclock.com/

 

Credits

https://smartazanclock.com/setup/rpi

Installing Chromium in Kiosk Mode

1. We need chromium-browser as well as unclutter (to hide the cursor) and lightdm and its dependencies as a display manager:

sudo apt-get install chromium-browser unclutter lightdm

 

2. Enable GUI Boot and Auto Login:

sudo raspi-config

– Select Option 3 (Boot Options)

– Select B1 (Desktop / CLI)

– Select B4 (Desktop / Autologin)

– Exit

 

3. Automatically start Chromium:

sudo nano /home/pi/.Xsession

 

4. Type the following and Ctrl+X and Y and Enter and reboot:

xset s off

xset -dpms

xset s noblank

sed -i ‘s/”exited_cleanly”: false/”exited_cleanly”: true/’ ~/.config/chromium-browser Default/Preferences

chromium-browser –noerrdialogs –kiosk https://google.com –incognito –disable-translate –window-size=1920,1080 –window-position=0,0

 

5. Disable “Can’t update Chromium” message:

chromium-browser –check-for-update-interval=1 –simulate-critical-update

 

Credits

https://blockdev.io/raspberry-pi-2-and-3-chromium-in-kiosk-mode/

https://www.raspberrypi.org/forums/viewtopic.php?t=264399

Raspbian (Lite) Installation to an SD Card on macOS

1. Go to the following link and download the latest version:

https://downloads.raspberrypi.org/raspbian_lite_latest

 

2. List the disk names:

diskutil list

 

3. The disk must be unmounted before copying the image:

diskutil unmountDisk /dev/diskN

 

4. Copy the image:

sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync

 

5. Check the progress by pressing:

Ctrl+T

 

6. After the dd command finishes, eject the card:

sudo diskutil eject /dev/rdiskN

 

7. Boot the Raspberry Pi from the new SD card

 

8. Do not forget to change the default password:

Username: pi

Password: raspberry

 

9. Do not forget to change the keyboard and timezone settings:

sudo raspi-config

 

10. To add the network details to the Raspberry Pi:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

And add the following:

network={

ssid=”Wif-FiName”

psk=”Wi-FiPassword”

}

 

11. Wait for network (optional):

sudo raspi-config

– Find and select Boot Options.

– Find and select Wait for Network at Boot.

– Select Yes

– Exit

 

12. Boot/Autologin:

– Console Autologin

 

13. Ensure everything is up-to-date:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

Credits

https://www.raspberrypi.org/documentation/installation/installing-images/mac.md

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

Page 4 of 4

Powered by WordPress & Theme by Anders Norén