-
Notifications
You must be signed in to change notification settings - Fork 16
Wallpaper sometimes show default one #14
Comments
That would suggest that the random wallpaper is not accessable and the fallback takes over. Try putting the greeter into debug mode and see what the css rule for the background is. See if that path is accessible. Actually now that I think about it check to see if all the wallpapers have the same permissions, perhaps the greeter isn't allowed to access some of them and when those are randomly selected, the greeter fallback to the default. |
That link is confusing, because now lightdm-webkit2-greeter is changed to web-greeter. But I managed to enable debug mode in
There is no error, but wrong wallpaper is loaded. How I can browser these logs, to check what is exactly under Edit: I see there is option to inspect when clicking right mouse button. Give me some time and I will figure out what is wrong. |
I figured out the problem. My folder with wallpapers look like this:
These are console outputs:
As you can see, in later case gnome directory is selected as wallpaper and this is fallbacking to default wallpaper. Solution would be to look only for files which are not directories, but I can't see any greeter api function to achieve this. |
tl;dr Change your directory structure so that the issue doesn't occur. Well at least you know what the issue is. It is actually possible to search the directories as well for images. However this may not be what the user wants (recursively searching directories)... and I don't want to write a toggle just for that specific scenario. Instead it would be beneficial to just filter out the directories and only display the images at the selected directory. |
Sample of filtering files by extension:
@FallingSnow what do you think about something like this? |
@FallingSnow Should I create Pull Request? |
Sure. I might have a few more comments when you submit the pull request, not sure yet lol. |
Hello. I have been using your theme from some time and there is one annoying issue: sometimes instead of random wallpaper, default one (no-mans-sky.jpg) appears. Do you know, what might cause this problem?
The text was updated successfully, but these errors were encountered: