Commit graph

16 commits

Author SHA1 Message Date
munix9
59621017e9
xdg updates + autostart + lockfile (#964)
* require pyxdg

* extend xdg, introduce autostart

* use xdg_current_desktop from opensnitch.utils.xdg

* control autostart in tray

* dont use pkill anymore

* check if os-ui is already running

* don't require pyxdg (for now)

* simplify xdg_current_desktop

* do not use pyxdg (for now), use some code from there

* update autostart status when menu is open

* fix possible SameFileError
2023-06-21 23:28:13 +02:00
Gustavo Iñiguez Goia
dc8ac1cd7c
ui: fixed 64x64 icon 2023-02-24 22:05:02 +01:00
Gustavo Iñiguez Goia
c4a9a98944
ui: updated appstream Summary,Description fields 2023-02-22 21:03:13 +01:00
Petter Reinholdtsen
8a01607a4f Corrected appstream icon name.
Made sure the base name used matches the svg and png icons provided.
2023-02-18 18:31:31 +01:00
Petter Reinholdtsen
2c9da76131 Added appstream content rating, no restrictions. 2023-02-18 18:31:10 +01:00
Gustavo Iñiguez Goia
f5d357207e
ui: added 64x64 icon 2023-02-11 21:50:49 +01:00
Gustavo Iñiguez Goia
8241811478
ui: updated resources
36c26e60f6

4baf218570

Author: Petter Reinholdtsen <pere@hungry.com>
2023-02-11 14:10:59 +01:00
Gustavo Iñiguez Goia
156e936ae7
ui: added appstream metainformation file
Added file to display GUI information on software centers.

https://www.freedesktop.org/software/appstream/docs/
2023-02-06 21:59:19 +01:00
Gustavo Iñiguez Goia
8674aed617
ui: fixed app icon
was 48x35 instead of 48x48
2023-01-22 16:58:12 +01:00
Gustavo Iñiguez Goia
6c54c2c52f ui: icons updated for better visibility on light themes
On light themes, the systray icon was barely visible. With the new
icons:
 - on dark themes should be pretty similar to what we already had.
 - on light themes they are much more distinguishables now.

Closes: #643, #339
2022-03-10 17:59:03 +01:00
Gustavo Iñiguez Goia
e7ba2bdf7b ui: fixed launching the GUI on LxQt
Closes #618
2022-02-27 01:30:18 +01:00
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
ovari
5f73dc1069
Update opensnitch_ui.desktop 2021-06-03 06:44:21 +10:00
Gustavo Iñiguez Goia
2c1f8e1d8c ui: added description to the .desktop file
closes #422
2021-05-23 16:14:36 +02:00
Gustavo Iñiguez Goia
74fe3b8734 UI: kill any running instance of the UI after login in
Fixes #15

Maybe not the proper way of doing it, but solves this particular
problem.
2020-05-12 00:12:28 +02:00
Gustavo Iñiguez Goia
7c647f5782 fixed UI icons
- display correctly the connection status with the daemon whe it's
  disconnected.
- display correctly the icon (at least on gnome).
- changed "active" icon to svg, to fix a size problem displaying
  notifications on gnome.
2020-04-09 18:45:05 +02:00