Wallpaper next/prev does not work since dms 1.4
Compositor
- [x] Niri
- [ ] Hyprland
- [ ] MangoWC (dwl)
- [ ] Sway
Distribution
- [ ] Arch Linux
- [x] CachyOS
- [ ] Fedora
- [ ] NixOS
- [ ] Debian
- [ ] Ubuntu
- [ ] Gentoo
- [ ] OpenSUSE
- [ ] Other (specify below)
If Other, please specify
No response
dms doctor -vC
DMS Doctor Report
System
- [ok] Operating System: CachyOS
- ID: cachyos, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
Versions
- [ok] DMS CLI: dms v1.4.1
- /usr/bin/dms
- [ok] Quickshell: quickshell 0.2.1, revision dacfa9de829ac7cb173825f593236bf2c21f637e, distributed by: CachyOS Linux
- /usr/bin/qs
- [ok] DMS Shell: v1.4.1
- /usr/share/quickshell/dms
Installation
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms
Compositor
- [ok] niri: 25.11
- /usr/bin/niri
- [info] Active: niri
Quickshell Features
- [ok] Polkit: Available
- Authentication prompts
- [ok] IdleMonitor: Available
- Idle detection
- [ok] IdleInhibitor: Available
- Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
- Allow shortcut management (niri)
Optional Features
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [ok] cups-pk-helper: Available
- Printer management
- [info] I2C/DDC: No monitors detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (1 formats)
- Formats: GIF (/usr/lib/qt6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
- Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats)
- [ok] Terminal: ghostty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [ok] khal: Installed
- Calendar events
- [ok] danksearch: Installed
- File search
- [ok] fprintd: Installed
- Fingerprint auth
Config Files
- [ok] settings.json: Present
- /home/martin/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/martin/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/martin/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/martin/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/martin/.cache/DankMaterialShell/dms-colors.json
Services
- [ok] dms.service: enabled, active
- [ok] greetd: enabled
Environment
- [info] QT_QPA_PLATFORMTHEME: gtk3
- [info] QS_ICON_THEME: Not set
Summary: 0 error(s), 0 warning(s), 34 ok
Description
Wallpaper "next" / "prev" does not work since dms 1.4 update.
It's the same with dms ipc wallpaper next, dms ipc call wallpaper next or clicking the next/prev buttons in the settings manager.
The ipc command returns SUCCESS: Cycling to next wallpaper but the wallpaper stays the same.
Expected Behavior
Wallpaper changes to the next or previous one in the folder.
Steps to Reproduce & Installation Method
- Select a wallpaper in a folder with multiple image files
- Call
dms ipc wallpaper nextor click the "next" button in the wallpaper settings
Error Messages/Logs
No response
Screenshots/Recordings
No response
Hmm, should have been fixed in ae59e53c4c81878ff0984bfdf65aad52f412faa3 but that made the cut for 1.4.1 so I'm not sure here exactly - maybe restart DMS if it hasnt been since the update?
Same issue on Hyprland with DMS 1.4.2. Forward and backward buttons do nothing on the settings image and the ipc gives the success message. dms run in shell and there are some messages:
ERROR go: DMS API Error: id=1 error=failed to extract primary color
WARN qml: Theme worker: FATAL go: Theme generation failed: server error: failed to extract primary color
WARN qml: Theme: Matugen worker failed with exit code: 1
INFO qml: DankBar: Plugin loaded: dankActions
INFO qml: DankBar: Plugin loaded: dankActions
INFO qml: HyprlandService: Generated layout config at /home/pji/.config/hypr/dms/layout.conf
INFO qml: SessionService: Native inhibitor available: true
WARN scene: QML QQuickImage at @Widgets/CachingImage.qml[60:5]: Cannot open: file:///home/pji/.cache/DankMaterialShell/imagecache/[email protected]
INFO go: [CUPS] Using D-Bus notifications for local CUPS
INFO go: CUPS manager initialized
INFO go: [CUPS] Created D-Bus subscription with ID 64
INFO qml: DMSService: Connected (API v24, CLI v1.4.2) - ["plugins","network","freedesktop","gamma","bluetooth","browser","cups","extworkspace","brightness","wlroutput","evdev","clipboard","theme.auto","dbus"]
INFO qml: ExtWorkspaceService: ext-workspace available but compositor has native support
INFO qml: DMSService: Connected (API v24, CLI v1.4.2) - ["plugins","network","freedesktop","gamma","bluetooth","browser","cups","extworkspace","brightness","wlroutput","evdev","clipboard","theme.auto","dbus"]
INFO qml: ExtWorkspaceService: ext-workspace available but compositor has native support
WARN scene: QML QQuickImage at @Widgets/CachingImage.qml[60:5]: Cannot open: file:///home/pji/.cache/DankMaterialShell/imagecache/[email protected]
WARN scene: QML FileView at @Common/CacheData.qml[198:5]: Read of /home/pji/.cache/DankMaterialShell/launcher_cache.json failed: File does not exist.
WARN qt.qpa.wayland.textinput: virtual void QtWaylandClient::QWaylandTextInputv3::disableSurface(wl_surface*) Try to disable surface 0x7fb95f4b4820 with focusing surface 0x7fb94d9b8240
INFO qml: Theme: Setting desired theme - image mode: dark (dynamic)
INFO go: Processing theme: image /home/pji/Pictures/backgrounds/Blob-Attack.jpg (dark)
INFO go: Building theme: image /home/pji/Pictures/backgrounds/Blob-Attack.jpg (dark)
INFO go: Using dynamic theme from image: /home/pji/Pictures/backgrounds/Blob-Attack.jpg
ERROR go: DMS API Error: id=1 error=failed to extract primary color
WARN qml: Theme worker: FATAL go: Theme generation failed: server error: failed to extract primary color
WARN qml: Theme: Matugen worker failed with exit code: 1
launcher_cache.json and the imagecache files that it is trying to open do not actually exist.
Also wallpaper window doesnt opens in Mod+Y
Wallpaper IPC fixed in git, will be a hotfix for stable on Tuesday
Still not working for me on latest master (commit a626908) when my wallpapers are in a symlinked directory. Seems to work fine with a non-symlinked directory. The initially set wallpaper loads fine, it's just the cycling or ipc next/prev that seems broken.
My wallpaper folder is indeed a symlink. Well done finding this, @aloop and @LuckShiba !
What worked for me: Settings/Personalization/Wallpaper: check then uncheck "Disable Built-in Wallpapers". I also changed the per-mode wallpapers which for some reason had the paths inverted.
EDIT It bugs again when auto color mode changes the color