Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left click on the wallpaper in KDE6 restores the KDE wallpaper #393

Open
MaxandreOgeret opened this issue Jan 26, 2025 · 4 comments
Open

Comments

@MaxandreOgeret
Copy link

MaxandreOgeret commented Jan 26, 2025

As explained, the wallpaper is set with swww (I have 3 screens so 3 wallpapers set with swww).
Setting the wallpaper works fine.

But if I left click on the desktop, the default KDE Plasma wallpaper is restored. Restarting the daemon and re-applying the wallpaper restores the sww wallpapers.

Any way around that ?

Thanks !

  • swww 0.9.5-masterV3
  • plasmashell 6.2.5
@hypnotics-dev
Copy link

I am also seeing this issue with swww 0.9.5 and plasmashell 6.3. Is there any way of collecting any more useful data to help with the debugging process?

@LGFae
Copy link
Owner

LGFae commented Feb 23, 2025

The best way would probably be making a debug build and running that.

hypnotics-dev added a commit to hypnotics-dev/dotfiles that referenced this issue Feb 26, 2025
Currently not in use due to issue LGFae/swww#393
@cristiancolosimo
Copy link

cristiancolosimo commented Mar 1, 2025

Hi,

I have the same problem for the left click, but sometime also for the right click.

For fix (hack) it, in first place i think to restart every time the daemon before change the display, and set the kde plasma wallpaper same as the swww so when i click i show the same wallpaper and i don't notice the "bug", but sometime when i restart swww it show a little animation of growing and isn't beautiful.

My script for set KDE wallpaper same of swww.
The script is triggered by a systemd unit(user) with a timer every 3 minute.
swww-daemon is also managed by a custom systemd unit (user)

#!/bin/bash
IMAGE=$(find /home/USERNAME/Immagini/wallpaper  -maxdepth 1 -type f | shuf -n 1)
TRANSITION=("any"  "wave" "outer"  "wipe" )
RI=$((RANDOM % ${#TRANSITION[@]}))
RI="${TRANSITION[$RI]}"
swww img --transition-type $RI $IMAGE
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
    desktops().forEach((d) => {
        d.currentConfigGroup = [
            'Wallpaper',
            'org.kde.image',
            'General',
        ]
        d.writeConfig('Image', '$IMAGE')
        d.reloadConfig()
    })
"

sys info:
OS: CatchyOS

Packages:
swww 0.9.5-2.1
kdeplasma-addons 6.3.2-1.1
libplasma 6.3.2-1.1
plasma-activities 6.3.2-1.1
plasma-activities-stats 6.3.2-1.1
plasma-browser-integration 6.3.2-1.1
plasma-desktop 6.3.2-1.1
plasma-firewall 6.3.2-1.1
plasma-integration 6.3.2-1.1
plasma-nm 6.3.2-1.1
plasma-pa 6.3.2-1.1
plasma-systemmonitor 6.3.2-1.1
plasma-thunderbolt 6.3.2-1.1
plasma-workspace 6.3.2-1.1
plasma5support 6.3.2-1.1

HW:
GPU: Intel Iris Xe Graphics
CPU: i5-1135G7 11th

@cristiancolosimo
Copy link

I think i fixed it

in the file daemon/wallpaper.rs i changed the layer from zwlr_layer_shell_v1::layer::BACKGROUND to zwlr_layer_shell_v1::layer::BOTTOM, and now isn't anymore replaced from KDE wallapaper.

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

No branches or pull requests

4 participants