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

feat: enable limiting applications to a single instance #191

Closed
wants to merge 1 commit into from

Conversation

wash2
Copy link
Contributor

@wash2 wash2 commented Oct 26, 2023

This could allow applications to only allow a single instance by default, and when another instance is started, the arguments are passed to the existing application. I could see this possibly being useful for the applets that need to open a specific page of settings. They could spawn cosmic-settings --network for example, which might open a new instance on the network configuration page, or if there is one running, the arguments would be passed to the existing instance via dbus. Maybe we should make the interface match d-bus activation? This implementation is a bit different from GApplication and doesn't really use d-bus activation.

@wash2
Copy link
Contributor Author

wash2 commented Nov 13, 2023

I'll make a PR with dbus-activation instead

@wash2 wash2 closed this Nov 13, 2023
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

Successfully merging this pull request may close these issues.

1 participant