-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added kiosk mode notes, switched to a better behaving bootswatch
- Loading branch information
1 parent
f1e4a45
commit 16c04a5
Showing
4 changed files
with
62 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Kiosk Mode Setup | ||
|
||
Assuming coming from a relatively clean OS, and the base station is installed. | ||
|
||
## Raspberry Pi | ||
|
||
Assuming coming from a clean `raspbian-lite` install. | ||
|
||
Sources: | ||
- https://reelyactive.github.io/diy/pi-kiosk/ | ||
|
||
1. Install the X Window System (X11): | ||
1. `sudo apt-get install --no-install-recommends xserver-xorg` | ||
2. `sudo apt-get install --no-install-recommends xinit` | ||
3. `sudo apt-get install --no-install-recommends x11-xserver-utils` | ||
2. Install Chromium & kiosk dependencies | ||
1. `sudo apt-get install chromium-browser` | ||
2. `sudo apt-get install matchbox-window-manager xautomation unclutter` | ||
3. (optionally, for color emojis) `sudo apt-get install fonts-noto-color-emoji` | ||
3. Create the kiosk startup script (`~/kiosk.sh`): | ||
```bash | ||
#!/bin/sh | ||
xset -dpms # disable DPMS (Energy Star) features. | ||
xset s off # disable screen saver | ||
xset s noblank # don't blank the video device | ||
matchbox-window-manager -use_titlebar no & | ||
unclutter & # hide X mouse cursor unless mouse activated | ||
chromium-browser --display=:0 --kiosk --incognito --window-position=0,0 http://localhost | ||
``` | ||
(Ensure script is executable with following command: `chmod 755 ~/kiosk.sh`) | ||
4. Add the kiosk script to `.bashrc`: | ||
|
||
Add the following: | ||
`xinit /home/pi/kiosk -- vt$(fgconsole)` | ||
5. Misc setup in `raspi-config`: | ||
- dssd | ||
|
||
|
||
|
||
|
||
## Ubuntu | ||
|
||
TODO | ||
|
||
## Fedora | ||
|
||
TODO |
12 changes: 0 additions & 12 deletions
12
...resources/META-INF/resources/lib/bootstrap/bootstrap-5.1.3-dist/bootswatch.litera.min.css
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...n/resources/META-INF/resources/lib/bootstrap/bootstrap-5.1.3-dist/bootswatch.yeti.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters