Audio, edge-tiling, and HDMI-2 wallpaper fallback#20
Merged
kimptoc merged 4 commits intokimptoc:claude/fix-xfce-wallpaper-FK5rhfrom May 2, 2026
Merged
Conversation
added 4 commits
May 1, 2026 23:40
- Audio: services.pipewire (alsa + pulse compat) + rtkit. Removes the "works on some machines" lottery and gives wired headsets (3.5mm/USB headphone+mic) input-and-output support out of the box. Adds xfce4-pulseaudio-plugin (right-click → Add to put on the panel) and pavucontrol for per-app + per-device control. - Window edge-tiling: xfwm4 /general/tile_on_move = true. Drag a window to the left/right edge to fill that half, top edge to maximise — the Windows-style snap behaviour kids already expect. - Wallpaper fallback monitor list: include HDMI-2/HDMI2 (and HDMI-A-1, DP-2, DisplayPort-1/2). At least one CC PC has its only display on HDMI-2 and was being skipped when xrandr --listactivemonitors came up empty during the 30 s retry window. xfdesktop ignores last-image keys for outputs that don't exist, so over-listing is safe.
With wrap_windows=true (xfwm4 default), the cursor wraps to the opposite screen edge before the edge-tile preview can trigger, so drag-to-edge tiling silently does nothing. With a single workspace these wrap modes have no useful purpose anyway.
`aplay -l`, `speaker-test`, `pactl list` etc. are useful in the field and during VM testing — pavucontrol covers the GUI case but a terminal on a kid's PC is faster for triage.
Chrome's modern Linux passkey flow uses BT-LE proximity to a phone acting as the authenticator (the QR-scan-with-phone option). Without hardware.bluetooth, Chrome can't initialise that transport and the QR code option silently doesn't appear. Doesn't enable gnome-keyring (intentionally still off, see services.gnome.gnome-keyring.enable = false above) — that route is about platform authenticators which Chrome on Linux barely supports and which don't make sense on a live CD anyway. blueman-applet adds a GUI tray for pairing.
4 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
Three small additions to the XFCE live-CD config:
services.pipewire(alsa + pulse compat) +rtkit. Removes the "works on some machines" lottery; wired headsets (3.5mm or USB headphone+mic) get input + output out-of-the-box. Addsxfce.xfce4-pulseaudio-plugin(right-click panel → Add to surface it) andpavucontrolfor per-app/per-device control.xfwm4 /general/tile_on_move = truevia the existing autostartxfconf-queryblock. Drag a window to the left/right edge → fills that half; top edge → maximise. The Windows-style snap kids already expect.xrandr --listactivemonitorsreturns empty within the 30 s retry window) to includeHDMI-2/HDMI2(alsoHDMI-A-1/2,DP-2,DisplayPort-1/2). At least one CC PC has its only display on HDMI-2 and was being skipped. xfdesktop ignoreslast-imagekeys for outputs that don't exist, so over-listing is safe.Test plan
pactl infoshows PipeWire, Chrome plays YouTube audio,pavucontrolshows input + output devices.pavucontrolInput Devices tab shows the mic; speak, level meter moves.\$MYLOG(autostart log) thatwallpaper: monitors = [...]includesHDMI-2either via xrandr detection or the new fallback.🤖 Generated with Claude Code