Skip to content
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

How to make it autostart? #618

Open
mYnDstrEAm opened this issue Apr 21, 2024 · 2 comments
Open

How to make it autostart? #618

mYnDstrEAm opened this issue Apr 21, 2024 · 2 comments

Comments

@mYnDstrEAm
Copy link

mYnDstrEAm commented Apr 21, 2024

On Debian12/KDE I have put usbguard-notifier into Autostarts but the usbguard daemon doesn't start automatically. How to make it autostart? Currently it needs to be started manually with sudo systemctl start usbguard.service. I think it would be nice if there was an easy option in a GUI to make it autostart (autostart after login). Mentioned this in #161

@mYnDstrEAm
Copy link
Author

Hidden in the manualpage of usbguard-notifier (man usbguard-notifier) there is the info that it can be configured to autostart with systemctl enable --user usbguard-notifier.service.

Since there is an Autostarts setting in KDE users would go there to configure autostart if it's not set by default, not prompting the user if it should autostart, and not shown somewhere where the user would see it such as after the first run / the commands that need to be run before it is configured. So as long as Autostarts doesn't show autostarts configured with systemctl (which it should!), I think something should be done on the usbguard side.

@jmbit
Copy link

jmbit commented May 10, 2024

I don't think this is really an issue for USBguard. usbguard-notifier is a daemon usually run as a systemd service. The correct KDE tool to manage those seems to be systemdgenie. "Autostart" is more for automatically opening your browser on startup and stuff like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants