Files
labwc-alpine/alphine
T
2026-09-06 02:04:47 +06:00

133 lines
2.2 KiB
Plaintext

#install guide labwc configure by s13bby
#after install needed
#uncomment community repos
echo "http://dl-cdn.alpinelinux.org/alpine/v3.24/community" >> /etc/apk/repositories
#or
#sed -i 's/#\(.*community\)/\1/' /etc/apk/repositories
apk update
apk add sudo nano
adduser ivan wheel
nano /etc/sudoers
#and uncomment line %wheel ALL=(ALL) ALL
#first needed packages
sudo
nano
git
#after install this packages
#clone repo ; change directory to clone repo ; add executable flag to install.sh ; execute install.sh
git clone https://zenithcode.duckdns.org/s13bby/labwc-alpine ; cd labwc-alpine ; chmod +x install.sh ; ./install.sh
#install.sh include all stuff write bellow
#install this packages
gcc
g++
curl
libcurl
opencv
#prepare before install wayland stack
#install this packages
mesa
mesa-dri
libinput
seatd
dbus
polkit
#after install do
addgroup $USER video
addgroup $USER input
addgroup $USER seat
rc-update add seatd default
rc-service seatd start
#after install this packages
labwc
alacritty (or another terminal emulator what do u like)
waybar
mako
swaybg
wofi
font-noto
font-dejavu
wl-clipboard
xdg-desktop-portal
xdg-desktop-portal-gtk
pipewire
wireplumber
alsa-utils
networkmanager
nm-applet
pcmanfm-gtk3
firefox
swaylock
#enviroment config labwc
#
#XDG_CURRENT_DESKTOP=labwc
#XDG_SESSION_TYPE=wayland
#MOZ_ENABLE_WAYLAND=1
#QT_QPA_PLATFORM=wayland
#SDL_VIDEODRIVER=wayland
#autostart config labwc
#
#nm-applet &
#waybar &
#wireplumber &
#pipewire &
#wofi &
#clone repo ; change directory to clone repo ; add executable flag to build.sh ; execute build.sh
git clone https://zenithcode.duckdns.org/s13bby/zenith-cli.git ; cd zenith-cli/ ; chmod +x build.sh ; ./build.sh
mkdir -p ~/.local/bin ; cp zenith-cli ~/.local/bin/ ; chmod +x ~/.local/bin/zenith-cli
echo $PATH | grep -o ".local/bin"
#if output in none, do
#export PATH="$HOME/.local/bin:$PATH"
#add automatic start labwc
nano /etc/inittab
#find line
#tty1::respawn:/sbin/getty 38400 tty1
#change to, where "username" is ur username
#tty1::respawn:/bin/sh -c "while true; do /sbin/getty -a username 38400 tty1; done"
nano ~/.profile
#and write this
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
exec labwc
fi