opensnitch/ui/resources/kcm_opensnitch.desktop
Gustavo Iñiguez Goia 9d0c5a104e ui: fixed GUI loading when DE autologin is on
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
2021-10-28 18:24:29 +02:00

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