(Yet another) repo exploring Beepy's fun potential. It's mainly for me - so I can get everything set up the way I like when I inevitably break something and have to start from a fresh SD card.
If you choose to run anything from here you do so at your own risk.
This step increases the size of fonts and boots directly into Tmux with time, wifi and battery indicators and wifi manager.
Details:
- Post-install fixes
- Install & set up Tmux
- Install grayscale dithering display driver
- Update .bashrc to auto-start tmux and set colours
Pick and choose by following the links above, or run the following to install them all:
curl ....
The following are either known to work or have been modified to work on a Beepy configured according to this guide:
- Gameboy emulator
- Doom
- Zork
- VVVVVV (coming soon)
- NetHack (coming soon)
- Celeste?
- Rogue?
Pick and choose by following the links above, or run the following to install them all:
curl ....
- pDiary is a journalling app with Doogie Howser vibes. Alternatively, try Tui-Journal(not installed by default).
- NEIX Newsreader for RSS feeds
- 3
- 4
Pick and choose by following the links above, or run the following to install them all:
curl ....
- Graphics support
- DirectFB2
- SDL2
- FBGraphics (FBG)
- PyGame (depends on SDL2)
- Love2D (depends on SDL2)
- Graphical launcher/frontend
Fix /boot/cmdline.txt and increase default font size to 8x16
sudo set -i 's/8x8/8x16/g' /boot/cmdline.txt
Log in automatically
sudo raspi-config nonint do_boot_behaviour B2
Launch Tmux at login
...
- Clock
- Battery %
- Wi-Fi connection & signal strength
- [Tmux + n] Wi-Fi connection manager/switcher
- [Tmux + k] Sym keymap guide popup
- [Tmux + v] Set display dithering/mono cutoff value
- Bluetooth connection manager/switcher
Note: repo version of tmux is old!
Install from source:
sudo apt remove tmux
sudo apt update
sudo apt install -y libevent-dev automake libncurses-dev
git clone https://github.com/tmux/tmux.git
cd tmux
sh autogen.sh
./configure && make
sudo make install
Now add some fun:
cd ~/
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/.tmux.conf
mkdir .config & cd .config & mkdir tmux & cd tmux
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/tmux_wifi_manager.sh
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/tmux_wifi_status.sh
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/tmux_keymap.sh
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/tmux_dither.sh
Notes:
- The addon scripts are located in a hidden folder called
~/.config/tmux
, in case you wish to edit or remove them. - Tmux configuration is in the hidden file
~/.tmux.conf
. - Reboot is required, but can wait...
git clone https://github.com/TheMediocritist/beepy_sharp_drm ~/sharp_drm
cd ~/sharp_drm
make
sudo make install
sudo reboot
This sets terminal colours to work correctly with the dithering driver, automatically opens tmux and adds some flair. Don't use it if you've got stuff in .bashrc you want to keep as it will over-write your setup.
cd ~\
wget https://raw.githubusercontent.com/TheMediocritist/beepy-fun/main/.bashrc
Notes
- The display driver is using 32 bits per pixel RBGA.
- The terminal is using a variety of colours for highlighting and different file/folder types.
- The linux terminal 'black' is actually a dark gray, and 'white' is actually off-white. So...
Fix /boot/cmdline.txt and increase default font size to 8x16
...
Fix /boot/cmdline.txt and increase default font size to 8x16
# clone and build
cd ~/
git clone https://github.com/TheMediocritist/beepy_doom
cd beepy_doom
make
# download shareware WAD file (level data)
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad
Zork is a text-based adventure game from 1977-ish, with various The version here is a lightly modified version of [Link](goes here) with the output re-formatted to fit within 50 characters and 15 lines (for 8x16 Beepy font). Where text overflows 15 lines, it will pause until a key is pressed.
# install dependencies
sudo apt install libboost-all-dev
# clone and build
cd ~/
git clone https://github.com/TheMediocritist/beepy_zork1
cd beepy_zork1
mkdir build
cd build
cmake ..
make
Newsreader for RSS/Atom feeds.
cd ~\
git clone https://github.com/TheMediocritist/beepy_neix.git
cd neix
cmake . # to enable unit-tests: cmake -DENABLE-TESTS=ON
make
sudo make install
pDiary) is a journalling app with major Doogie Howser vibes. Old people will understand.
# Install font with symbols
apt install fonts-symbola
# Build dependency that won't install from pip like it's supposed to (sigh, yeah...)
cd ~/
git clone https://github.com/sqlcipher/sqlcipher.git
cd sqlcipher
./configure
make
sudo make install
# Install pDiary using pip
pip install sqlcipher3-binary==0.5.1
pip install https://github.com/manipuladordedados/pdiary/releases/download/1.65/pdiary-1.65-py3-none-any.whl
Tui-Journal is a journalling app with major Doogie Howser vibes. Old people will understand.
# Install dependencies
sudo apt install -y libssl-dev
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
# Install tui-journal
cargo install tui-journal
Note: Building tui-journal is slow. I'm not kidding; maybe a couple of hours on a Pi Zero.
Use the command tjournal
to run it.