Skip to content

Instantly share code, notes, and snippets.

@zoutepopcorn
Last active December 5, 2017 08:58
Show Gist options
  • Save zoutepopcorn/7e2f21ce624e97822f8ae2a803543b16 to your computer and use it in GitHub Desktop.
Save zoutepopcorn/7e2f21ce624e97822f8ae2a803543b16 to your computer and use it in GitHub Desktop.
# Windows
Putty
http://www.putty.org/
# Burn image on SD card
https://etcher.io/
https://www.raspberrypi.org/downloads/raspbian/
Lite: terminal only
Docker op pi
https://blog.hypriot.com/downloads/
# Pi
sudo raspi-config
ip addr # geeft ip adress weer
# Computer terminal
ssh [email protected]
# Filebrowser
sftp://[email protected]
Assuming your monitor is smaller then 7000px
chromium-browser --window-size=7000,7000 --start-fullscreen
This command will detect your screen height / width
Now you also can use it in a bash script:
/home/pi/full.sh
#!/bin/bash/
chromium-browser --window-size=7000,7000 --start-fullscreen
and then run
startx /home/pi/full.sh
It will launch a fullscreen browser, from a non-gui terminal :D.
NOT NEEDED,
but for fun I tested a bash code to get the screen resolution, but you don't need it..
#!/bin/bash
CMD="$(fbset -s | awk '$1 == "geometry" { print $2" "$3 }')"
echo "$CMD"
Hope it will help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment