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

Argument filename may not be null #14

Open
syaomix opened this issue Aug 3, 2022 · 5 comments
Open

Argument filename may not be null #14

syaomix opened this issue Aug 3, 2022 · 5 comments

Comments

@syaomix
Copy link

syaomix commented Aug 3, 2022

After the install cant turn on extension because of error: "Argument filename may not be null"
Tried to install and from github and from gnome extensions site
All theme settings in gnome tweak tool is set to default

Arch Linux 07.22 kernel 5.15 gnome 42.3.1

@Michedev
Copy link

Michedev commented Aug 3, 2022

I have too the same problem

@deepimpactmir
Copy link

I had the same problem. Seems like you have to add the picture into the background in Appearance of gnome-control-center instead of setting the image as background i.e. add it into ~/.local/share/backgrounds

@syaomix syaomix changed the title Argument fileame may not be null Argument filename may not be null Aug 4, 2022
@vollowx
Copy link

vollowx commented Aug 6, 2022

have same problem, ubuntu 22.04, gnome 42

@Radiquum
Copy link

Radiquum commented Aug 7, 2022

it seems like, if "picture-uri" in gsettings doesn't starts with "file://", extension will fail with this error, even if background has changed

@avanisubbiah
Copy link
Owner

avanisubbiah commented Aug 7, 2022

it seems like, if "picture-uri" in gsettings doesn't starts with "file://", extension will fail with this error, even if background has changed

Great catch!

I think this should be fixed now with commit 4e62021, I assumed that the gsettings key picture-uri would always yield a uri with file:// at the beginning so that was causing issues with the code to convert that URI to a normal path when the file:// is missing. It now checks if the conversion is necessary before doing it. It seems that when a wallpaper is set through nautilus the picture-uri is a normal file path and it also doesn't send a wallpaper changed event.

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

6 participants