Skip to content

Remove autostarts#100

Merged
danirabbit merged 3 commits intoelementary:mainfrom
garaevdi:remove-autostarts
Mar 5, 2026
Merged

Remove autostarts#100
danirabbit merged 3 commits intoelementary:mainfrom
garaevdi:remove-autostarts

Conversation

@garaevdi
Copy link
Contributor

@garaevdi garaevdi commented Feb 24, 2026

Closes #97
Supersedes #99

Besides the mentioned gsd autostarts, this PR also changes other autostarts to a systemd dependency, just in case. Perhaps systemd section shouldn't be a dumb copy+paste of the same loop but I couldn't come up with something better.

Edit:
Also closes #88

@danirabbit danirabbit added this to OS 9 Feb 24, 2026
@danirabbit danirabbit requested a review from a team February 24, 2026 21:15
@danirabbit danirabbit moved this to Needs Review in OS 9 Feb 24, 2026
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

I can't confirm that this is actually working, at least in OS 8. I seem to lose the ability to activate Orca with this branch

@@ -1,5 +1,4 @@
[GNOME Session]
Name=Pantheon (Wayland)
RequiredComponents=@SESSION_COMPONENTS@
Copy link
Member

Choose a reason for hiding this comment

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

Hm why are we removing the required components lines here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@garaevdi
Copy link
Contributor Author

I can't confirm that this is actually working, at least in OS 8. I seem to lose the ability to activate Orca with this branch

@danirabbit can you check again please. I forgot about OS8 and removed all autostarts related code. Now it checks gsd version and builds autostarts when the version is lower than 49.

As for RequiredComponents key, even if it was removed in 49, a few extra lines in a session file wouldn't hurt. The same can be said about systemd config files: even if OS8 doesn't have all the unit files listed there, it shouldn't be a problem.

Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Two super tiny comments otherwise this looks good to me. Sorry it took me a while to review!

'gala-wayland',
gsd_components
]

Copy link
Member

Choose a reason for hiding this comment

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

Can you leave this whitespace please


foreach component : gsd_components
original_filename = component + '.desktop'
gsd_dep = dependency('gnome-settings-daemon', version: '>= 3.36.0')
Copy link
Member

Choose a reason for hiding this comment

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

I think we should leave this dependency variable in the toplevel meson file. It makes it easier to see and manage our dependencies

@garaevdi garaevdi force-pushed the remove-autostarts branch from a3ef3d2 to 61254fc Compare March 5, 2026 21:20
Copy link
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

Awesome, thank you! I confirmed that this doesn't break OS 8 either. Great job 👏

@danirabbit danirabbit merged commit 6e8eee7 into elementary:main Mar 5, 2026
3 checks passed
@github-project-automation github-project-automation bot moved this from Needs Review to Done in OS 9 Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fails to compile with gnome 49 depend on gcr-ssh-agent instead of gnome-keyring-ssh-agent

2 participants