Skip to content

flatpak: remove references to systemd unit#7676

Merged
mitchellh merged 1 commit intoghostty-org:mainfrom
alaviss:push-rqstowmplyxm
Jun 24, 2025
Merged

flatpak: remove references to systemd unit#7676
mitchellh merged 1 commit intoghostty-org:mainfrom
alaviss:push-rqstowmplyxm

Conversation

@alaviss
Copy link
Copy Markdown
Contributor

@alaviss alaviss commented Jun 24, 2025

Flatpak currently does not export systemd user units. As such, remove references to it from D-Bus services to prevent D-Bus daemon from trying to start a non-existent service.

Additionally, make sure that the D-Bus service name is correct for debug builds.

Follow up to #7433

Flatpak currently does not export systemd user units. As such, remove
references to it from D-Bus services to prevent D-Bus daemon from trying
to start a non-existent service.

Additionally, make sure that the D-Bus service name is correct for debug
builds.
@alaviss alaviss force-pushed the push-rqstowmplyxm branch from 8fd7741 to 32e61d2 Compare June 24, 2025 22:34
@alaviss
Copy link
Copy Markdown
Contributor Author

alaviss commented Jun 24, 2025

Note that after #7433, this fix is required for Flatpak builds to run when launched from launcher.

@mitchellh mitchellh enabled auto-merge June 24, 2025 22:49
Copy link
Copy Markdown
Contributor

@mitchellh mitchellh left a comment

Choose a reason for hiding this comment

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

Appreciate the follow up. Thanks.

@mitchellh mitchellh merged commit 820b7e4 into ghostty-org:main Jun 24, 2025
38 checks passed
@github-actions github-actions Bot added this to the 1.2.0 milestone Jun 24, 2025
@alaviss alaviss deleted the push-rqstowmplyxm branch June 24, 2025 23:16
jcollie added a commit to jcollie/ghostty that referenced this pull request Jun 25, 2025
Replaces ghostty-org#7676

When building as a flatpak, don't install the systemd user services
since flatpaks can't use them. Remove references to the systemd service
from the DBus service.

Also, customize the app metadata depending on the debug mode.

Co-authored-by: Leorize <leorize+oss@disroot.org>
jcollie added a commit to jcollie/ghostty that referenced this pull request Jun 26, 2025
Replaces ghostty-org#7676

When building as a flatpak, don't install the systemd user services
since flatpaks can't use them. Remove references to the systemd service
from the DBus service.

Also, customize the app metadata depending on the debug mode.

Co-authored-by: Leorize <leorize+oss@disroot.org>
mitchellh pushed a commit to jcollie/ghostty that referenced this pull request Jun 26, 2025
Replaces ghostty-org#7676

When building as a flatpak, don't install the systemd user services
since flatpaks can't use them. Remove references to the systemd service
from the DBus service.

Also, customize the app metadata depending on the debug mode.

Co-authored-by: Leorize <leorize+oss@disroot.org>
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.

2 participants