-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
[Feature Request] Enable/disable autostart in tray #950
Comments
I am using Arch KDE and by default it autostarts in tray? .config/autostart/opensnitch_ui.desktop:
|
Yes, autostart already works. |
hi @munix9 ! The only problem I see is the path Anyway, this looks more to me like a Settings option, wouldn't it make more sense to add it to the Preferences->UI dialog? |
Nope, that's not a problem:
The only place that is write-accessed is The following applies: In the patch, the presence of the file
Sure, or in both places? In the tray it is faster to find, but is certainly a matter of taste. Background: It's been my experience that users don't necessarily like it when an option can't be disabled - at least simply via the GUI. Via console it is feasible, sure, but not every user feels comfortable acting in a console. |
In debian the file |
ok @munix9 , understood! I'll add it in a few days. |
This will be a nice feature, thanks! Perhaps we can resolve some of these path discrepancies using a module like xdg-base-dirs. |
Or pyxdg - that would certainly make sense to use one of them. |
added in 5962101 |
+1 this would be a great feature. I only use opensnitch in certain working situations and would like it to easy to toggle the autostart feature. In most applications I see this offered as a setting or even an option in the tray itself. |
It works great. Thanks @munix9 |
Enable/disable autostart in tray.
Summary:
I have created a patch to be able to enable/disable autostart in the tray.
It is a proof of concept (hack!) and some things can certainly be implemented better.
The following paths and files are defined as prerequisites for the checks and activation:
/etc/xdg/autostart/opensnitch_ui.desktop
(optional)~/.config/autostart/opensnitch_ui.desktop
/usr/share/applications/opensnitch_ui.desktop
This should all be standard, it works fine on openSUSE Tumbleweed (KDE Plasma, X11).
Maybe it can be used as a template to implement the functionality.
The text was updated successfully, but these errors were encountered: