fix: apply the GSK_RENDERER fix to the autostarted Walker service#6081
Open
r-witz wants to merge 1 commit into
Open
fix: apply the GSK_RENDERER fix to the autostarted Walker service#6081r-witz wants to merge 1 commit into
r-witz wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a migration to update Walker’s autostart configuration so it runs with GSK_RENDERER=cairo, addressing rendering issues for the autostarted Walker service.
Changes:
- Added a migration script to copy the updated
walker.desktopinto the user autostart directory and restart Walker. - Updated
walker.desktopto launch Walker withGSK_RENDERER=cairo.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| migrations/1781295157.sh | New migration that installs the updated autostart desktop entry and restarts Walker. |
| default/walker/walker.desktop | Updates the Exec line to force the Cairo renderer via an environment variable. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The menu takes several seconds to show up the first time after a boot, then every open after that is instant. Same thing reported in #2723.
I dug into it on my machine (Raptor Lake iGPU + RTX 4060 laptop) and it turns out the GSK_RENDERER fix from 30ddfed doesn't actually apply anymore. That commit moved
GSK_RENDERER=cairoout of the Hyprland envs and into the line ofomarchy-launch-walkerthat spawns the service:But since Walker became a systemd autostart (c17bd85), the service is already running by the time you press the keybind, started from
walker.desktop, without the variable. The pgrep guard always passes, so on a normal boot the cairo env never gets applied to anything.So the fix is to set it in
walker.desktopitself, plus a migration that re-copies the desktop file, reloads the user daemon so the generated unit picks up the new Exec, and restarts Walker.Fixes #2723