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

Using PopOS 21.04 variety unable to set wallpaper #439

Closed
daya opened this issue Jul 14, 2021 · 8 comments
Closed

Using PopOS 21.04 variety unable to set wallpaper #439

daya opened this issue Jul 14, 2021 · 8 comments

Comments

@daya
Copy link

daya commented Jul 14, 2021

I am not sure if PopOS has some kind of service to override the wallpaper or not respect variety, but here is the output of variety CLI

7:05p ~/P/c ✨master* ➤ variety --current                                                                                                
Variety is already running. Sending the command to the running instance.
/home/daya/.config/variety/Downloaded/wallhaven_wallhaven_cc_tag_711/wallhaven-j33pxy.jpg

However the above current wallpaper of variety is not being set on the desktop for some reason.

@daya
Copy link
Author

daya commented Jul 20, 2021

could anyone please confirm this ? am I the only one experiencing this ?

@bazeon
Copy link

bazeon commented Jul 27, 2021

I have no issue on Pop 21.04

@Soulwest
Copy link

Same issue on Pop 21.10
It looks like wallpaper (wp) changes, but the old image is on the layer above the current, and it is stuck. You can see new wp while you change workspace (while the animation plays, we can see new wp).

The bug happens after some time. Everything is normal after turning a computer on - wallpapers change, selector works, the issue may occur after some time.
The same issue happens if you connect/disconnect the second display - image stuck on current wallpaper. If the bug occurs and you connect second display - wp change but stuck.

@peterlevi
Copy link
Member

We need someone with PopOS and some scripting know-how to help see if any fixes are necessary to ~/.config/variety/scripts/set_wallpaper.

@jensenbox
Copy link

At least I have one thread to tug on for this...

I now know that if you are using Dark Mode, you have to set this instead:

picture-uri-dark

If you are not using dark mode you can set the normal:

picture-uri

This is known as it is already in the script: https://github.com/varietywalls/variety/blob/master/data/scripts/set_wallpaper#L170 What I can confirm though is that it does work from just calling it from a shell.

gsettings set org.gnome.desktop.background picture-uri-dark file:///home/cjensen/.config/variety/Downloaded/Bing/OHR.IcelandicSummer_EN-US6680616324_1920x1080.jpg

works just fine.

So something is happening in the script that is not happening straight from the shell.

@AniruddhaSadhukhan
Copy link

I just saw that this line is not added in ~/.config/variety/scripts/set_wallpaper local file. I had installed variety by just running sudo apt install variety in a clean install of PopOS 22.04. Seems this bug fix still has not been pushed there.
Manually adding the line in that file fixes this.

@peterlevi
Copy link
Member

Updating the local set_wallpaper file to include the picture-uri-dark fix was addressed in 0.8.7, released yesterday. It will take some time till 0.8.7 makes it to the official repositories. CC: @jlu5.

@jlu5
Copy link
Member

jlu5 commented May 1, 2022

I have not had a great experience backporting fixes to Ubuntu stable releases, so I'm not particularly inclined to go through all that effort again. If you're using Ubuntu or a derivative please just use the PPA to stay up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants