๐ฅ๏ธSetup
Get started with LNXlink
Installation
curl -L https://raw.githubusercontent.com/bkbilly/lnxlink/master/install.sh | bashsystemctl --user restart lnxlink.service # For user installations
sudo systemctl restart lnxlink.service # For root installationsdocker run --network host -v ~/Documents/LNXlink/:/opt/lnxlink/config/ -it bkbillybk/lnxlink:latestservices:
lnxlink:
image: bkbillybk/lnxlink:latest
container_name: lnxlink
restart: unless-stopped
network_mode: host
privileged: true
stdin_open: true
tty: true
user: "1000:1000" # UID:GID
ports:
- 8112:8112
volumes:
- ~/Documents/LNXlink/:/opt/lnxlink/config/
- ~/.local/share/Steam/:/.local/share/Steam/
- /var/run/reboot-required:/var/run/reboot-required:ro
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/user/1000/bus:/var/run/user/1000/bus
- /var/run/dbus/:/var/run/dbus/
- /tmp/.X11-unix:/tmp/.X11-unix
- /proc/:/proc/
- /dev/:/dev/
environment:
- DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
- DISPLAY=$DISPLAY
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]Run sudo commands
# Edit the sudoers file:
sudo visudo
# Add this line at the end (replace USER with your username):
USER ALL=(ALL) NOPASSWD: /usr/sbin/grub-rebootUninstall
# Disables systemd service
systemctl --user disable lnxlink.service
# Remove systemd service
rm ~/.config/systemd/user/lnxlink.service
# Uninstall the package
pip3 uninstall -U lnxlink# Disables systemd service
sudo systemctl disable lnxlink.service
# Remove systemd service
sudo rm /etc/systemd/system/lnxlink.service
# Uninstall the package
sudo pip3 uninstall -U lnxlink
sudo pip3 uninstall lnxlinkLast updated