The first option uses the Flatpak version and can only auto-start after login. The second option uses Bazzite’s web application (uses ujust install-openrgb) and can auto-start at the login screen. Auto-starting at the login screen is useful for issuing a wake-on-lan request without needing to connect via remote desktop to login.
Find the profile file path:
find ~/.var/app/org.openrgb.OpenRGB -name '*.orp'
It should output something like:
/home/James/.var/app/org.openrgb.OpenRGB/config/OpenRGB/off.orp
nano ~/.config/systemd/user/openrgb-off.service
Paste:
[Unit]
Description=Apply OpenRGB "off" profile after login
After=graphical-session.target
Wants=graphical-session.target
[Service]
Type=oneshot
ExecStart=/usr/bin/bash -lc 'sleep 15; /usr/bin/flatpak run org.openrgb.OpenRGB --loglevel error --profile "$HOME/.var/app/org.openrgb.OpenRGB/config/OpenRGB/off.orp"'
[Install]
WantedBy=default.target
# Reload the user systemd manager
systemctl --user daemon-reload
# Start the service now and auto-start at boot
systemctl --user enable --now openrgb-off.service
# Check the status
systemctl --user status openrgb-off.service
-b checks logs from this boot. -u means this systemd unit (service)journalctl --user -b -u openrgb-off.service
# Disable the service
systemctl --user disable --now openrgb-off.service
# Delete the service file
rm -f ~/.config/systemd/user/openrgb-off.service
# Reload the user systemd manager
systemctl --user daemon-reload
# Verify it's gone
systemctl --user list-unit-files | grep openrgb
logs folder exists# Profile
ls ~/.config/OpenRGB/off.orp
# Logs
ls -l /home/James/.config/OpenRGB/logs
sudo nano /etc/systemd/system/openrgb-off.service
Paste:
[Unit]
Description=Turn off G.Skill Trident Z LEDs at boot (AppImage, with profile sanity check)
After=systemd-udev-settle.service multi-user.target
Wants=systemd-udev-settle.service
[Service]
Type=oneshot
WorkingDirectory=/home/James/.config/OpenRGB
ExecStart=/usr/bin/bash -lc '\
sleep 5; \
APP="/home/James/AppImages/openrgb.appimage"; \
PROFILE="/home/James/.config/OpenRGB/off.orp"; \
if [ -f "$PROFILE" ]; then \
"$APP" --config "/home/James/.config/OpenRGB" --profile "$PROFILE"; \
fi'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
# Reload the systemd manager
sudo systemctl daemon-reload
# Check the status
sudo systemctl status openrgb-off.service
# Start the service now and auto-start at boot
sudo systemctl enable --now openrgb-off.service
# Disable the service
sudo systemctl disable --now openrgb-off.service
# Delete the service file
sudo rm -f nano /etc/systemd/system/openrgb-off.service
# Reload the systemd manager
sudo systemctl daemon-reload
# Check the status
sudo systemctl status openrgb-off.service