XFCE panel: drive via xfconf-query, Chrome focus-or-launch#18
Merged
kimptoc merged 6 commits intokimptoc:claude/fix-xfce-wallpaper-FK5rhfrom May 1, 2026
Conversation
Updated TODO and DONE sections in README.md.
Resolves README conflict: keep HEAD's detailed DONE items, add litterbox TODO from upstream, drop wallpaper/resize TODOs (both now fixed). Fix session-menu (actions plugin) not appearing: the static XML plugin-7 definition is bypassed because xfce4-panel auto-inserts plugins into panel-1 at startup, reshuffling IDs before the live xfconfd state diverges from the XML. Apply the same runtime-scan pattern used for the clock: after the panel restart, iterate plugin IDs looking for the actions plugin and set appearance=1. If the plugin is absent entirely, register it as plugin-30 and append its ID to panel-1/plugin-ids before a final --restart. Full diagnostics logged to ~/myautostart.log. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Root cause: panel-2 worked because it was fully configured via xfconf-query at runtime. Panel-1 relied on the static XML, which xfce4-panel overrides on first start by auto-inserting its own tasklist/pager/separators — pushing clock and systray to the middle and preventing the actions/session-menu plugin from appearing. Fix: add an xfconf-query block for panel-1 (plugin-ids + all 6 plugins) immediately before the panel restart, mirroring the panel-2 approach. This makes the live xfconfd state authoritative, so after the restart xfce4-panel sees the correct layout: app-menu | chrome | tasklist(expand) | systray | clock | session-menu. Also simplify the post-restart actions scan to a simple belt-and-braces check (confirm plugin-7 = actions, re-apply appearance=1) now that we guarantee its existence in the pre-restart block. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The tasklist (plugin-4) caused the clock/systray to shift to the middle after network connected — likely because xfce4-panel auto-inserts a second tasklist when network-related windows appear, adding an extra expand element. The pre-Wednesday separator (plugin-3, expand=true) was stable and didn't have this problem. Switch back to separator for the expand element while keeping the session-menu (plugin-7/actions) and the xfconf-query panel-1 setup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- iso.nix: drop the xfconf-query plugin-ids rewrite (caused "(null)" popups + plugin-type reverts under live xfconfd). Accept xfce4-panel first-start defaults and only tweak plugin-4 (pager→Chrome launcher), plugin-8 (clock HH:MM:SS), plugin-10 (actions appearance), and panel-2 autohide. - iso.nix: gate xfce4-panel --restart on org.xfce.Panel D-Bus name ownership to stop the "name not provided by .service files" GTK dialog on slow boots. - iso.nix: wrap Chrome launches in chromeFocusOrLaunch so re-clicking the icon focuses the existing window instead of opening duplicates. - iso.nix: kill+respawn xfdesktop after wallpaper write (--reload didn't pick up new last-image values); dump xrandr + final /backdrop state for diagnostics on real hardware. - README.md: replace stale "graphical gnome template" steps with the actual nix-build invocation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
12ad7b5
into
kimptoc:claude/fix-xfce-wallpaper-FK5rh
1 check failed
8 tasks
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.
Summary
Six commits that the fork has on top of
kimptoc:claude/fix-xfce-wallpaper-FK5rh(clean fast-forward, 0 behind, 6 ahead).becc167Update README.md0307658Revise TODO and DONE items in READMEd40f1adMerge upstream/main; fix session-menu via runtime scanc68816dFix panel-1 layout: drive via xfconf-query instead of static XML315d024Revert tasklist to separator for panel-1 expand elementa93d8e8XFCE panel: accept defaults, tweak in-place; Chrome focus-or-launchNet change:
iso.nix(~845 lines touched) and smallREADME.mdtweaks. Two files only.Test plan
🤖 Generated with Claude Code