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

Only patch the autostart .desktop files that are installed on the system #3291

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

scratchings
Copy link
Contributor

This prevents invalid 'group-less' files being generated for .desktop files not present on the host.

By not testing for the presence of the listed services' .desktop files the user's .config/autostart folder is polluted with .desktop files for the missing services containing only the line:

X-MATE-Autostart-enabled=false

This is an invalid file as it lacks the '[Desktop Entry]' section group required in all desktop files.

This prevents invalid 'groupless' files being generated for .desktop files not present on the host
Copy link
Contributor

@johrstrom johrstrom left a comment

Choose a reason for hiding this comment

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

Thanks for the patch!

@johrstrom johrstrom merged commit 9b4a2b2 into OSC:master Jan 9, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants