Skip to content

Instantly share code, notes, and snippets.

@rye
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rye/a8cbb22c5acb7369134e to your computer and use it in GitHub Desktop.
Save rye/a8cbb22c5acb7369134e to your computer and use it in GitHub Desktop.
An installer for the Kiosk system for the WLCSC libraries.
#!/bin/sh
echo ">>>> Copying archive to home directory!"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cp $DIR/zz_config-diffs.tar.gz $HOME
echo ">>>> Changing to home directory!"
cd $HOME
echo ">>>> Making temporary directory!"
mkdir kiosk-install-temporary-directory
echo ">>>> Moving archive!"
mv $HOME/zz_config-diffs.tar.gz kiosk-install-temporary-directory/config-diffs.tar.gz
echo ">>>> Extracting archive!"
tar xzf kiosk-install-temporary-directory/config-diffs.tar.gz
echo ">>>> Setting up startup command!"
echo "[Session]
panel/command=/home/kiosk/startup.sh" >> ~/.config/lxsession/Lubuntu/desktop.conf
echo ">>>> Done! Removing temporary directory!"
rm -rf kiosk-install-temporary-directory
echo ">>>> Done again!"
  1. Install Lubuntu on your system.
  • For best results, download updates and install third-party software.
  • It is recommended to completely erase the hard disk and install Lubuntu in the entire thing.
  • Note: To conform to standards, please set the user's name to "Kiosk User", their username to "kiosk", them to log in automatically, and the hostname to something similar to "JRSR-[room number]-K[kiosk number]"
  • Restart upon completion of the installation procedure, removing your installation media as prompted.
  1. Log in as the Kiosk User.

  2. Download this gist.

  • Fire up a terminal (Ctrl-Alt-T) and run the following command:
  • wget https://gist.github.com/krye/a8cbb22c5acb7369134e/download -O gist.tar.gz && tar xvzf gist.tar.gz
  1. Run the installer.
  • cd gista8cbb* && chmod +x kiosk-install.sh && ./kiosk-install.sh
This file has been truncated, but you can view the full file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment