{"id":18894933,"url":"https://github.com/davidde/photo_background","last_synced_at":"2025-09-06T20:35:08.174Z","repository":{"id":102181731,"uuid":"131485162","full_name":"davidde/photo_background","owner":"davidde","description":"Simple script that downloads a random photo from unsplash.com, and sets it as the desktop background.","archived":false,"fork":false,"pushed_at":"2018-08-02T18:01:03.000Z","size":7,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T06:37:09.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-29T10:28:24.000Z","updated_at":"2018-04-29T12:55:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"694f4f6e-57df-48ab-93cb-2d7253ffdd9a","html_url":"https://github.com/davidde/photo_background","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidde/photo_background","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidde%2Fphoto_background","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidde%2Fphoto_background/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidde%2Fphoto_background/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidde%2Fphoto_background/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidde","download_url":"https://codeload.github.com/davidde/photo_background/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidde%2Fphoto_background/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273959555,"owners_count":25198237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T08:25:36.014Z","updated_at":"2025-09-06T20:35:08.136Z","avatar_url":"https://github.com/davidde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# photo_background\nSimple script that downloads a random photo from [Unsplash](https://unsplash.com/), and sets it as the desktop background.\n\nI was loosely inspired by [this Rust code](https://github.com/faebser/beautiful-wallpaper-every-day/blob/master/src/main.rs);\nfinding it hard to follow, I decided to rewrite it in Python.\n\n## Dependencies\npip install requests pillow\n\n## Usage\nphoto_background.py [-h] [subject]\n\n* positional arguments:  \n  subject: The subject of the photograph\n\n* optional arguments:  \n  -h, --help: show this help message and exit\n\n## Problems\n### Linux\n* Only Gnome based distro's are supported.\n* When using Python from Anaconda, you might run into the following notification:  \n\"GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.\"  \nIf this occurs, settings are not saved, and the background will not be changed. There is an easy fix though:  \nAdd \"export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/\" to your .bashrc or .zshrc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidde%2Fphoto_background","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidde%2Fphoto_background","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidde%2Fphoto_background/lists"}