Skip to content

Instantly share code, notes, and snippets.

@loldesign
Last active August 29, 2015 14:04
Show Gist options
  • Save loldesign/6bed167628b97d700b6c to your computer and use it in GitHub Desktop.
Save loldesign/6bed167628b97d700b6c to your computer and use it in GitHub Desktop.
Firefox Kiosk Mode

#firefox kiosk mode#

  1. create user: kiskok whithout password.
  2. create a kiosk.desktop at: /usr/share/xsessions/kiosk.desktop
  3. create a firefoxKiosk.sh at: /usr/share/xsessions/firefoxKiosk.sh
  4. set exec permission to firefoxKiosk.sh like: sudo chmod 755 /usr/share/xsessions/firefoxKiosk.sh
  5. Login into kiosk account with Ubuntu Session
  6. Open Firefox and add extension: R-kiosk version 0.9.0
  7. Logout and login with kiosk account but with Kiosk Mode Session
#!/bin/bash
while true; do firefox -height 768 -width 1366 "http://www.loldesign.com.br"; sleep 5s; done
#WARNING ---
#1. set width and height for your screen size
#2. set the URL that you want
[Desktop Entry]
Encoding=UTF-8
Name=Kiosk Mode
Comment=Kiosk Mode
Exec=/usr/share/xsessions/firefoxKiosk.sh
Type=Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment