mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00

Fixed GUI loading behaviour when DE's autologin is on. Background: Sometimes the system tray is not available, so our app's icon does not show up. In this case we show the GUI to allow the user manage the rules and view connections. If the user activated the autologin option, on KDE (and probably others) our service was launched before the panel was ready, so the system tray was not available yet and we were showing the Events window. Changes: - Delay 10s the check to see if the system tray is available, to give it time to load. - Add X-KDE-Autostart-after=panel to kcm_opensnitch.desktop, to launch the GUI only after the panel is loaded. - Misc: removed OpenSnitch entry from System Settings on KDE, and update the categories where the app is shown in the menus. Closes #535
9 lines
286 B
Desktop File
9 lines
286 B
Desktop File
[Desktop Entry]
|
|
Exec=opensnitch-ui
|
|
Icon=opensnitch-ui
|
|
Type=Service
|
|
X-KDE-ServiceTypes=SystemSettingsExternalApp
|
|
Name=OpenSnitch Firewall
|
|
Comment=OpenSnitch Firewall Graphical Interface
|
|
X-KDE-Keywords=system,firewall,policies,security,polkit,policykit,douane
|
|
X-KDE-Autostart-after=panel
|