Some modules are not supported like bluetooth, sys_updates, boot_select.
You will also need to manually create a systemd service to start LNXlink on boot by creating a service file.
/etc/systemd/system/lnxlink.service
[Unit]Description=LNXlinkAfter=network-online.target multi-user.target graphical.targetPartOf=graphical-session.target[Service]Type=simpleRestart=alwaysRestartSec=5ExecStart=flatpak run io.github.bkbilly.lnxlink[Install]WantedBy=default.target
Docker is not recommended for desktop environments because it limits many modules which can't run properly. Firstly you should download LNXlink image and setup the config directory:
This installs LNXlink as a development platform which is helpful if you want to create your own changes or create a new module. Read on the Development section for more information.
# Fork my repository and then download itgitclonehttps://github.com/bkbilly/lnxlink.git# Install lnxlink as editable packagecdlnxlinkpip3install-e.# Run it manuallylnxlink-cconfig.yaml
Run sudo commands
Some commands need to run as a root user. To fix this, you need to allow some of them to run without asking for password:
# Edit the sudoers file:sudovisudo# Add this line at the end (replace USER with your username):USERALL=(ALL) NOPASSWD:/usr/sbin/grub-reboot
Uninstall
Remove LNXlink from your system.
# Disables systemd servicesystemctl--userdisablelnxlink.service# Remove systemd servicerm~/.config/systemd/user/lnxlink.service# Uninstall the packagepip3uninstall-Ulnxlink
# Disables systemd servicesudosystemctldisablelnxlink.service# Remove systemd servicesudorm/etc/systemd/system/lnxlink.service# Uninstall the packagesudopip3uninstall-Ulnxlinksudopip3uninstalllnxlink