Skip to content

Let mate-settings-daemon draw the Setup Station wallpaper - #15

Merged
ericbsd merged 1 commit into
masterfrom
show-desktop-icons-off
Oct 18, 2026
Merged

ericbsd merged 1 commit into
masterfrom
show-desktop-icons-off

Conversation

@ericbsd

@ericbsd ericbsd commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

With show-desktop-icons on, mate-settings-daemon leaves the wallpaper to Caja and waits for mate-session to report SessionRunning. Neither runs in the Setup Station session, so it had the MATE theme but no wallpaper.

The initial_setup service now turns org.mate.background show-desktop-icons off for root before starting X and resets it after Setup Station exits.

Bumps the version to 0.8.

Summary by Sourcery

Fix Setup Station wallpaper handling by temporarily disabling desktop icons during setup and restoring the setting afterward.

New Features:

  • Ensure the Setup Station session displays the MATE wallpaper by allowing mate-settings-daemon to manage it.

Bug Fixes:

  • Fix missing wallpaper in Setup Station sessions when desktop icons are enabled.

Chores:

  • Bump the project version to 0.8.

With show-desktop-icons on, mate-settings-daemon leaves the wallpaper
to Caja and waits for mate-session to report SessionRunning. Neither
runs in the Setup Station session, so no wallpaper was drawn. Turn the
key off for root while Setup Station runs and reset it afterwards.

Bump the version to 0.8.
@ericbsd
ericbsd requested review from a team as code owners October 18, 2026 22:43
@sourcery-ai

sourcery-ai Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

The PR makes mate-settings-daemon responsible for drawing the Setup Station wallpaper by temporarily disabling Caja desktop icons in the initial setup service, restoring the setting afterward, and bumping the release version to 0.8.

Sequence diagram for Setup Station wallpaper ownership

sequenceDiagram
    participant InitialSetup
    participant X
    participant mate_settings_daemon
    participant SetupStation

    InitialSetup->>InitialSetup: gsettings set org.mate.background show-desktop-icons false
    InitialSetup->>X: start X
    X->>mate_settings_daemon: initialize wallpaper
    mate_settings_daemon->>SetupStation: draw MATE wallpaper
    SetupStation-->>InitialSetup: exits
    InitialSetup->>InitialSetup: gsettings set org.mate.background show-desktop-icons true
Loading

File-Level Changes

Change Details Files
Move wallpaper ownership to mate-settings-daemon during Setup Station by temporarily disabling Caja desktop icons for root.
  • Disable org.mate.background show-desktop-icons before starting X.
  • Restore the original desktop-icon setting after Setup Station exits.
  • Review the setup-service lifecycle and cleanup paths to ensure the setting is restored on exit or failure.
src/initial_setup
Bump the project version for the new Setup Station wallpaper behavior.
  • Update the package version from 0.7 to 0.8.
setup.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. If the setup session exits before the reset runs, the root user's desktop-icons setting can remain disabled after this change is reverted. That is a bounded, repairable configuration change: running the reset restores the default.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@ericbsd
ericbsd merged commit 27dd1ee into master Oct 18, 2026
2 checks passed
@ericbsd
ericbsd deleted the show-desktop-icons-off branch October 18, 2026 22:45
@github-project-automation github-project-automation Bot moved this from In Review to Done in Development Tracker Oct 18, 2026
@ericbsd ericbsd self-assigned this Oct 20, 2026
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