Skip to content

Draw the Setup Station wallpaper with feh - #16

Merged
ericbsd merged 2 commits into
masterfrom
feh-wallpaper
Oct 19, 2026
Merged

ericbsd merged 2 commits into
masterfrom
feh-wallpaper

Conversation

@ericbsd

@ericbsd ericbsd commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Turning show-desktop-icons off did not get mate-settings-daemon to draw the wallpaper. The .xinitrc now draws it with feh and reads the picture from org.mate.background so it follows the GhostBSD override. The show-desktop-icons set and reset is gone.

Bumps the version to 0.9.

Summary by Sourcery

Fix Setup Station wallpaper rendering by drawing the configured background directly and remove the desktop-icon state changes.

New Features:

  • Draw the Setup Station wallpaper with feh using the MATE background configuration.

Bug Fixes:

  • Ensure the wallpaper is displayed when desktop icons are disabled.

Chores:

  • Bump the application version to 0.9.

Turning show-desktop-icons off did not get mate-settings-daemon to draw
the wallpaper. Go back to feh and read the picture from
org.mate.background so it follows the GhostBSD override. This drops the
show-desktop-icons set and reset.
@ericbsd
ericbsd requested review from a team as code owners October 19, 2026 10:59
@sourcery-ai

sourcery-ai Bot commented Oct 19, 2026 •

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

Reviewer's Guide

Version 0.9 replaces the unreliable MATE wallpaper initialization path with explicit feh rendering from .xinitrc, using the configured org.mate.background value and removing show-desktop-icons toggling.

Sequence diagram for Setup Station wallpaper initialization

sequenceDiagram
    participant Xinitrc
    participant GSettings as org.mate.background
    participant Feh as feh
    participant Desktop as Desktop

    Xinitrc->>GSettings: get
    GSettings-->>Xinitrc: wallpaper path
    Xinitrc->>Feh: draw wallpaper
    Feh-->>Desktop: render wallpaper
Loading

File-Level Changes

Change Details Files
Move wallpaper rendering into .xinitrc using feh and the configured MATE background setting.
  • Read the wallpaper path from org.mate.background so GhostBSD overrides are honored.
  • Invoke feh from .xinitrc to draw the wallpaper when desktop icons are disabled.
  • Remove the previous show-desktop-icons set/reset handling.
src/initial_setup
Bump the application version for the wallpaper initialization change.
  • Update the package version from 0.8 to 0.9.
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

@ghostbsd-bot ghostbsd-bot moved this to In Review in Development Tracker Oct 19, 2026
@ericbsd
ericbsd merged commit 05312b7 into master Oct 19, 2026
2 checks passed
@ericbsd
ericbsd deleted the feh-wallpaper branch October 19, 2026 11:00
@github-project-automation github-project-automation Bot moved this from In Review to Done in Development Tracker Oct 19, 2026

@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

Approved.


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

@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