-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow blueman-applet to be controller by systemctl --user #2105
Conversation
d7ba9e9
to
a8df31f
Compare
To my understanding that is completely up to distributions, e.g. Debian packages typically enable units on installation while on Arch things need to get enabled by the user after installation. |
Ok, let me add a changelog entry and then it can be reviewed. |
With this change blueman-applet can be controlled with systemctl --user. Do note the autostart desktop file has priority so distro's will need to delete/not install it if they want to use this.
a8df31f
to
d47b225
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Did you actually get that running? For me it tries to start after a system reboot but fails loading the icon scheme. The problem looks exactly like the problem folks have with an improperly configured systemd D-Bus activation environment with no When I just re-login, even after restarting my desktop manager, I do not see a start attempt at all, although I'd expect one. |
I could start and stop it from an existing session. I haven't tried a fresh boot, let me do that and get back to you. Edit, I think wanted by needs to be |
Yup. Just checked it starts fine for me on plasma with |
Can you try adding I'm at work rn so can't test this on xfce but will do later today. |
Gonna give up on this. Tried several things but it refuses to start at XFCE session start. Once it's started it's fine. |
I'm currently mainly using Cinnamon, with lightdm. Whatever I tried, systemd always tries to start the unit when I first log in, no matter if I'm in a Desktop session or not. When lightdm is enabled, the unit already gets started when lightdm gets (i.e. before I actually log in). I have no idea why but somehow lightdm seems to open an initial user session for me right away. 🤷♂️ systemd does have an autostart mechanism for user applications but that needs to be requested by the desktop via the xdg-desktop-autostart.target. XDG autostart files can then be translated into systemd units with the systemd-xdg-autostart-generator tool. In the end it seems like XDG autostart is the only universal system to autostart desktop applications. |
Not entirely sure how this van be enabled by default but for now just make it possible.