Skip to content

Instantly share code, notes, and snippets.

@hxss
Last active January 18, 2022 19:35
Show Gist options
  • Save hxss/cfcf1b0ec5fe135b0a0e6911d852058a to your computer and use it in GitHub Desktop.
Save hxss/cfcf1b0ec5fe135b0a0e6911d852058a to your computer and use it in GitHub Desktop.
blueberry #110 workaround
# /home/hxss/.config/systemd/user/blueberry-tray.service
[Unit]
Description=Blueberry tray icon
After=graphical-session.target
After=bluetooth.target
[Service]
Type=forking
ExecStart=blueberry-tray
[Install]
WantedBy=graphical-session.target
WantedBy=bluetooth.target
# /home/hxss/.config/systemd/user/xsession.target
[Unit]
Description=Xsession running
BindsTo=graphical-session.target
# /home/hxss/.config/autostart/xsession.target.start.desktop
[Desktop Entry]
Type=Application
Name=xsession.target.start
Exec=systemctl --user start xsession.target
# /home/hxss/.config/autostart/xsession.target.stop.desktop
[Desktop Entry]
Type=Application
Name=xsession.target.stop
Exec=systemctl --user stop xsession.target
RunHook=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment