minimal-but-usable/README

93 lines
2.4 KiB
Plaintext

Mirror=https://dl-cdn.alpinelinux.org/alpine/edge/main/
Window Manager: River
Text editor: vis
WWW Client: Lynx
Terminal Emulator: Foot
Launcher: fuzzel
Bar: Yambar
Shell: ASH
Font: Mononoki Nerd Font
Set up repositories
vi /etc/repositories
The file should read:
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
Update and upgrade
apk update && apk upgrade
Remove Doas
apk del doas
Set up eudev
setup-devd udev
Install the mesa-gallium drivers
apk add mesa-dri-gallium
Install River documentation (optional)
apk add river-doc
Install River
Option 1: From APK
apk add river
apk add xwayland (optional)
Option 2: From source (Not working)
Install packages that will be used to build river
apk add git zig pkgconfig
Install river dependencies
apk add wayland wayland-dev wayland-protocols wlroots wlroots-dev libxkbcommon libxkbcommon-dev libevdev libevdev-dev pixman pixman-dev
Clone river
mkdir /home/<user>/.Git
cd /home/<user>/.Git
git clone https://github.com/riverwm/river.git
git submodule update --init
Revert to the latest version
git reset --hard v0.2.6
Build river
zig build -Doptimize=ReleaseSafe --prefix /usr/local/bin install
Remove unneded packages (optional)
apk del git zig pkgconfig
Install Foot
apk add foot
Start the seat daemon
rc-update add seatd
rc-service seatd start
Add the user to the nessessary groups
adduser <user> seat
adduser <user> input
adduser <user> video
Install Git
apk add git
Crate directories
cd /home/<user>
mkdir -p .Git .config .local/bin
Change to the /home/<user>/.Git directory
cd /home/<user>/.Git
Clone the git repo for this guide
git clone https://git.disroot.org/oink/minimal-but-usable.git
Remove Git
apk del git
Change to the directory.
cd minimal-but-usable
Copy config files
cp .profile .ashrc /home/<user>/
mkdir -p /home/<user>/.local/bin/
cp lynx /home/<user>/.local/bin/
cp -r vis river foot yambar fuzzel /home/<user>/.config/
Create the wallpaper folder
mkdir -p /home/<user>/.local/share/wallpapers/
Copy the wallpaper over
cp Wallpapers/wallpaper.png /home/<user>/.local/share/wallpapers/
Install packages
apk add lynx vis fuzzel fastfetch yambar imv wlr-randr wbg
Install a font
apk add font-mononoki-nerd
Now give the user ownership of the files
chown -R <user>:<user> /home/<user>/
Now logout of root. Login as the user.
Run River
river