Skip to content

Add Debian 13 (trixie) support: Qt 6.8 shim, Qt QML packages, Inter font alias - #9

Open
MarianC-programing wants to merge 1 commit into
0-ss:mainfrom
MarianC-programing:debian-13-support
Open

MarianC-programing wants to merge 1 commit into
0-ss:mainfrom
MarianC-programing:debian-13-support

Conversation

@MarianC-programing

@MarianC-programing MarianC-programing commented Oct 19, 2026 •

Copy link
Copy Markdown

On Debian 13 (trixie) MacShell does not start out of the box. This PR fixes the three things I ran into, and is written so it changes nothing on systems that do not need them.

What changes

  1. RectangularShadow does not exist before Qt 6.9. Debian 13 ships Qt 6.8.2, so Quickshell fails with RectangularShadow is not a type (MacDock, SPopUp, LockScreen) and nothing loads. Adds compat/qt-6.8/RectangularShadow.qml, a drop-in with the same properties (radius, blur, spread, color, offset) built from stacked translucent rounded rectangles (no shaders). The installer copies it into MacShell and MacLock only when Qt < 6.9 (or when the version cannot be detected, where it is harmless).
  2. apt: the Qt QML modules were skipped. pkg_for mapped qt6-declarative / qt6-wayland / qt6-svg to "" for apt, so qml6-module-*, qt6-wayland and qt6-svg-plugins were never installed. Adds an APT_QT_PKGS list that is installed on apt systems when missing.
  3. "Inter Variable" font. Debian's fonts-inter only ships static "Inter", so text silently falls back to DejaVu Sans. The installer writes a fontconfig alias (60-macshell-inter.conf) only if "Inter" resolves and "Inter Variable" does not.
  4. Docs and messages. quickshell and hyprland are in trixie-backports on Debian 13, so the README line saying Debian has no such packages is updated for Debian, and the apt "not in the repositories" message now says how to enable backports. Adds docs/DEBIAN.md (tested setup, session tips, limitations).

All the new code runs after sync_files, so it survives macshell-update's rsync --delete.

Testing

  • Debian 13.x, Hyprland 0.55.2 and Quickshell 0.3.0 (both from trixie-backports), Qt 6.8.2, Intel iGPU laptop, GDM. MacShell and MacLock load with no QML errors; the flat (blur) bar style is used daily.
  • Installer run against a throwaway HOME: the shim is copied into both MacShell and MacLock, fc-match 'Inter Variable' resolves to Inter afterwards, compat/ and docs/ are not copied into the installed config, and a second run leaves the same result (the shim is copied again, byte-identical; the font alias is not rewritten). bash -n install.sh is clean.

Not tested

  • Arch and Fedora. By construction nothing should change there (the shim is skipped on Qt >= 6.9, the font alias only applies when Inter exists and Inter Variable does not, the apt block only runs for apt), but I did not run it on those systems.
  • The visual quality of the Liquid Glass style on Qt 6.8 (it loads without errors; nothing more is claimed).
  • Ubuntu and other Debian releases.

The shim is an approximation of the real shadow, so it looks slightly different on Qt 6.8. Happy to adjust anything.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 23:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

- install.sh (apt): install the Qt QML modules/plugins Debian ships as
  separate packages (qml6-module-*, qt6-wayland, qt6-svg-plugins)
- install.sh: detect Qt < 6.9 and install a RectangularShadow shim
  (compat/qt-6.8), since the type only exists from Qt 6.9
- install.sh: alias the missing 'Inter Variable' font to 'Inter' via fontconfig
- install.sh: explain how to enable trixie-backports on Debian
- README: quickshell and hyprland are in trixie-backports on Debian 13
- docs/DEBIAN.md: tested setup, fixes, session tips, known limitations
@4sakenme

Copy link
Copy Markdown

looks good

MythosOfs added a commit to MythosOfs/MacShell that referenced this pull request Nov 22, 2026
Bring in Debian 13 support, GIF and WebP widgets, animated album art,
karaoke lyrics, System Monitor, optional Genie minimize, floating window
defaults, uptime, WireGuard, the audio hub, Reminders, Spotlight subtraction,
pinned-only Dock mode, tray collapse, and the unified icon grid.

Keep the fork's existing Spotlight screenshot search and Bluetooth status
reader. Sample Dock icons from the existing Image, fetch Apple Music motion
art from its public album page, and reuse MacLock's existing Spotify helper.
Isolate optional lyrics dependencies in a virtual environment.

Upstream: 0-ss#9, 0-ss#10, 0-ss#11, 0-ss#12, 0-ss#14, 0-ss#19, 0-ss#21, 0-ss#28, 0-ss#45, 0-ss#47,
0-ss#49, 0-ss#50, 0-ss#52, 0-ss#53, 0-ss#54.

Co-authored-by: 4sakenme <thienphutrinh4567@gmail.com>
Co-authored-by: Dexul <lcedu.dev@gmail.com>
Co-authored-by: Doffi4 <206447286+Doffi4@users.noreply.github.com>
Co-authored-by: Hrithik Ram Prasath <220790015+hrithikramprasath@users.noreply.github.com>
Co-authored-by: Marian Barba <134831821+MarianC-programing@users.noreply.github.com>
Co-authored-by: Victor Zwaga <victor.zwaga@gmail.com>
Co-authored-by: freroxx <yikni2829@gmail.com>
Co-authored-by: shuretokki <tri.r.utomo@gmail.com>
Co-authored-by: w4nnnn <irwanfebriansyah112@gmail.com>
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.

3 participants