Skip to content

Add D-Bus service file #3839

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

Merged
merged 1 commit into from
Apr 11, 2025
Merged

Add D-Bus service file #3839

merged 1 commit into from
Apr 11, 2025

Conversation

City-busz
Copy link
Contributor

And mark the application as D-Bus activatable. This allows application launchers to activate it via D-Bus.

Reference:
https://specifications.freedesktop.org/desktop-entry-spec/1.3/dbus.html

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Chore (refactoring, formatting, local variables, other cleanup)
  • Documentation content changes

What is the current behavior?

Gaphor is not launchable via D-Bus, so application launchers could able to launch it only by executing the launcher script.

Issue Number: N/A

What is the new behavior?

Application launchers that support activating apps via D-Bus are able to do that for Gaphor.

Does this PR introduce a breaking change?

  • Yes
  • No

The file needs to be installed into the following path, otherwise the desktop launcher won't work:
/usr/share/dbus-1/services/org.gaphor.Gaphor.service

Other information

And mark the application as D-Bus activatable. This allows application
launchers to activate it via D-Bus.

The file needs to be installed into the following path, otherwise the
launcher won't work:
/usr/share/dbus-1/services/org.gaphor.Gaphor.service
Copy link
Member

@danyeaw danyeaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @City-busz!

@danyeaw danyeaw added the feature A new feature label Apr 11, 2025
@danyeaw danyeaw merged commit 6278cb5 into gaphor:main Apr 11, 2025
25 checks passed
@amolenaar
Copy link
Member

Thanks @City-busz.

I added an issue on our flatpak repo to add this file as well: flathub/org.gaphor.Gaphor#117.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants