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

[SOLVED] OpenSnitch UI does not start minimized #764

Closed
Frereneo opened this issue Nov 6, 2022 · 4 comments
Closed

[SOLVED] OpenSnitch UI does not start minimized #764

Frereneo opened this issue Nov 6, 2022 · 4 comments

Comments

@Frereneo
Copy link

Frereneo commented Nov 6, 2022

Describe the bug
Hello, to begin with, thank you for designing OpenSnitch.
If I come to you, it is to point out that OpenSnitch does not start minimized on my system (Fedora 36 - Gnome 42.4)

Include the following information:

To Reproduce
Start the system, and OpenSnitch opens with the main window. whereas on my Ubuntu system, it runs in the background.

Steps to reproduce the behavior:
Just start the system

Post error logs:
No crash

If the daemon doesn't start:
The daemon starts correctly

If the deb or rpm packages fail to install:
No failed install

thank you for your help
Sincerely,

@gustavo-iniguez-goya
Copy link
Collaborator

Hi @Frereneo !

You need to install the extension https://extensions.gnome.org/extension/615/appindicator-support/

Try it and let me know if it fixes the issue.

@Frereneo
Copy link
Author

Frereneo commented Nov 7, 2022

Hi @gustavo-iniguez-goya,
Thank you very much for your help, it works perfectly.
Knowing that Gnome wants to see this feature disappear, do you have in mind to run OpenSnitch in the background without this extension?
Thank you once again?
Sincerely,

@Frereneo Frereneo closed this as completed Nov 8, 2022
@Frereneo Frereneo changed the title OpenSnitch UI does not start minimized [SOLVED] OpenSnitch UI does not start minimized Nov 8, 2022
@gustavo-iniguez-goya
Copy link
Collaborator

hey @Frereneo , sorry for the delayed response. Even if Gnome killed this feature some time ago, I don't think they'll kill extensions, so I guess that for the time being we're safe on this regard.

Anyway, the problem is that the GUI is (mainly) composed of 4 components:

  • a server (to receive and store daemons events: service.py+database.py+nodes.py+utils.py)
  • the icon tray (service.py)
  • a prompt dialog (dialog/prompt.py)
  • and a global GUI (dialog/stats.py, dialog/firewall*.py dialog/ruleseditor*.py, notifications.py)

It'd be better to have at least the server and the GUI separated. The server would run continuously in background (just as the daemon) receiving and storing events from daemons. That way, we could launch the GUI to connect to the server without having to kill it.

As an extra, it'd allow us to have more GUIs (like a web gui for example).

That said, maybe we could have a wrapper to launch the GUI if it's not running, or bring the GUI to the front: xdotool search --onlyvisible --class opensnitch-ui windowactivate

@Frereneo
Copy link
Author

Hi @gustavo-iniguez-goya ,thanks for the detailed answer :).
I'm from the old school, I don't like to manage my services on a web browser :p.
But if your application migrates to a web browser management I would still stay on this wonderful tool :)
For the moment, I'll just use the extension which works great.
Sincerely,

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