diff --git a/Makefile b/Makefile index 7a64191..61ebb0a 100644 --- a/Makefile +++ b/Makefile @@ -76,4 +76,4 @@ submodule-init: .PHONY: start-weston start-weston: - weston --shell=kiosk-shell.so --xwayland -- kitty --hold $(BUILD_DIR)/$(TARGET) $(RUN_ARGS) + /usr/bin/weston --shell=kiosk-shell.so --xwayland -- kitty --hold make -C $(PWD) run diff --git a/README.md b/README.md index 288ffcd..839ac01 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,12 @@ enable_tvout=1 ```bash sudo apt install git +sudo chmod a+rwx /opt +cd /opt git clone --recursive https://git.klemek.fr/klemek/forge-invar -sudo apt update -sudo apt upgrade -sudo apt install mesa-utils libglfw3-dev libgl-dev libasound2-dev libv4l-dev libegl-dev libgles2-mesa-dev +cd forge-invar +make install build +reboot ``` ## Links diff --git a/system/weston.service b/system/weston.service deleted file mode 100644 index 30c58e7..0000000 --- a/system/weston.service +++ /dev/null @@ -1,23 +0,0 @@ -[Unit] -Description=Weston, a Wayland compositor, as a user service - -# Activate using a systemd socket -Requires=weston.socket -After=weston.socket - -# Since we are part of the graphical session, make sure we are started before -Before=graphical-session.target - -[Service] -Type=notify -TimeoutStartSec=60 -WatchdogSec=20 -# Defaults to journal -#StandardOutput=journal -StandardError=journal - -# add a ~/.config/weston.ini and weston will pick-it up -ExecStart=/usr/bin/weston --modules=systemd-notify.so --shell=kiosk-shell.so --xwayland -- kitty --hold make -C /opt/forge-invar run - -[Install] -WantedBy=graphical-session.target diff --git a/system/weston.socket b/system/weston.socket deleted file mode 100644 index cdaf856..0000000 --- a/system/weston.socket +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Weston, a Wayland compositor -Documentation=man:weston(1) man:weston.ini(5) -Documentation=https://wayland.freedesktop.org/ - -[Socket] -ListenStream=%t/wayland-0