-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
[FEATURE REQUEST] Add a way to delete downloaded images after a certain time period #244
Comments
Currently this is a hidden feature (not exposed in the quick settings, the prefs or the debug options). It is enabled through these keys:
I removed some of these options when I migrated the extension to Adwaita, but you can access them with
To turn this on:
Then you can set the number of days to delete images after (default is 8, don't go lower than this):
By default if you favorite an image it won't be deleted ('keep-favourites' setting): Some of this code hasn't been tested in a while so your mileage my vary. If you encounter bugs, let me know. Images will be cleaned up at next refresh (which you can force with 'Refresh Now'). |
Yes, by default the extension tries to catch up with missed images for up to 8 days. This is helpful if you don't have your PC or laptop on the whole time, but interacts with deleting recent images. (Essentially it'll download images and then delete them again.) I've just pushed a change to version 50 to handle this, but I will need to test it. And thanks for creating the Github issue. I don't necessarily know what people use feature wise, so asking helps me keep this functionality ... functional. |
Thanks a lot! I will be testing these settings from now on:
I will tell you in case I found any issues :) Any reason why you don't recommend going lower than eight when setting the number of days to delete images? If I set |
In version-49 it'll redownload files that were previously deleted, then delete them again. You will probably notice GNOME hitches when this happens (though this should only happen once per day or on startup). This should be fixed in version-50 which I am aiming to release in the next few days. |
Ok, this seems to be working reliably in version 50 now (version 49 this was probably broken). Screencast.From.2024-09-27.18-46-11.webm |
Let me know how you find this, or if you encounter any bugs with the new version. |
I've been using the new version for a couple of days and it works really good! :) Since I'm on vacation, I've experienced though that my screen turns blue when the program updates while being offline and using this setting: I suppose that it deletes the photo before downloading the next one, being then unable to set any wallpaper. Would it be possible for the program to check for the internet connection before deleting old wallpapers? Perhaps there is another way to solve this? Thanks for working on my issue and upgrading to the new Gnome version! |
Describe the requested feature
The README.md of the extension advertises the feature: "Optionally delete old images after a week, or you can keep (and curate) them forever". Unfortunately, I'm not able to find any option to delete the downloaded wallpapers from Bing after a week, nor the extension deletes them automatically. Moreover, the trash icon on the tray menu only deletes the current wallpaper, not the other ones. So I guess this is a FEATURE and a BUG report.
Screenshots
I deleted all the images from the local folder and clicked on the Update now button from the tray. Here can you see that I have ten of them right after that.
Desktop (please complete the following information):
Additional context
This feature would be very helpful for me, since I'm running the extension on a Laptop with limited space and without it I'm "forced" to delete the pictures every once in a while manually.
Thanks for your amazing job!
The text was updated successfully, but these errors were encountered: