{"id":20128744,"url":"https://github.com/nriver/xfce-bing-wallpaper-everyday","last_synced_at":"2026-02-27T04:03:18.240Z","repository":{"id":78130406,"uuid":"494280817","full_name":"Nriver/xfce-bing-wallpaper-everyday","owner":"Nriver","description":"xfce每日bing壁纸. Set bing wallpaper for xfce everyday automatically.","archived":false,"fork":false,"pushed_at":"2024-12-16T07:20:05.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T08:30:32.756Z","etag":null,"topics":["bing","linux","manjaro","manjaro-linux","python","python3","wallpaper","xfce"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nriver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-20T01:24:25.000Z","updated_at":"2024-12-16T07:20:09.000Z","dependencies_parsed_at":"2025-01-13T08:40:41.690Z","dependency_job_id":null,"html_url":"https://github.com/Nriver/xfce-bing-wallpaper-everyday","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nriver/xfce-bing-wallpaper-everyday","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fxfce-bing-wallpaper-everyday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fxfce-bing-wallpaper-everyday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fxfce-bing-wallpaper-everyday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fxfce-bing-wallpaper-everyday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nriver","download_url":"https://codeload.github.com/Nriver/xfce-bing-wallpaper-everyday/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fxfce-bing-wallpaper-everyday/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29884515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"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":["bing","linux","manjaro","manjaro-linux","python","python3","wallpaper","xfce"],"created_at":"2024-11-13T20:29:19.787Z","updated_at":"2026-02-27T04:03:18.235Z","avatar_url":"https://github.com/Nriver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xfce-bing-wallpaper-everyday\n\n[🇬🇧 English Version](./README_EN.md) | 中文版\n\n🖼️ 一个简单的 Python 脚本，用于在 XFCE 桌面环境下**每天自动更换 Bing 每日壁纸**。\n\n🔍 脚本会自动检测运行环境：\n- 普通 Linux：使用 `xfconf-query` 设置壁纸\n- Termux + proot Debian（如 tiny computer 环境）：直接修改配置文件\n\n💾 壁纸默认下载到 `~/.bing` 目录下，文件名格式为 `YYYY-MM-DD_标题.jpg`。\n\n## 🚀 使用方法\n\n直接运行脚本即可：\n\n```bash\npython3 xfce_bing_wallpaper_everyday.py\n```\n\n📋 脚本会：\n1. 下载当天的 Bing 壁纸\n2. 保存到 `~/.bing` 目录\n3. 自动设置为当前桌面壁纸\n\n⚠️ **注意**：首次运行前，请确保已启动过 XFCE 桌面一次（以生成必要的配置文件）。\n\n## 🖥️ tiny computer（小小电脑）环境特别说明\n\n🔗 项目地址：https://github.com/Cateners/tiny_computer\n\n📱 这是一个在 Android 上通过 proot 运行 Debian 12 + XFCE 桌面的完整环境（无需 Termux）。\n\n⚙️ 在本环境中，由于缺少 DBus 会话，壁纸设置后**不会立即生效**。\n\n✅ **解决方法**：修改壁纸后，手动重启桌面（关闭 VNC/图形界面后重新打开）或重新登录，即可看到新壁纸。\n\n## ⏰ 定时任务（推荐）\n\n🕐 为了实现真正“每日自动换壁纸”，建议添加 crontab 定时任务。\n\n✏️ 编辑 crontab：\n\n```bash\ncrontab -e\n```\n\n➕ 添加以下一行（每天凌晨 1:05 执行，路径请替换为你的实际路径）：\n\n```cron\n5 1 * * * python3 /path/to/xfce_bing_wallpaper_everyday.py\n```\n\n📝 如果想查看执行日志，可加上输出重定向：\n\n```cron\n5 1 * * * python3 /path/to/xfce_bing_wallpaper_everyday.py \u003e\u003e ~/.bing/bing.log 2\u003e\u00261\n```\n\n## 🔙 如何还原默认壁纸\n\n🎨 不同发行版的默认壁纸路径可能不同，以下是常见示例：\n\n- **Manjaro XFCE**：`/usr/share/backgrounds/xfce/illyria-default.jpg` 或类似文件\n- **Debian XFCE**：通常来自 `desktop-base` 包，路径如 `/usr/share/images/desktop-base/default`\n\n🛠️ 你可以手动通过桌面设置选择系统默认壁纸，或使用以下命令（需调整路径）：\n\n```bash\nxfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image -s /usr/share/backgrounds/xfce/illyria-default.jpg\n```\n\n（适用于普通 Linux 环境）\n\n**🌟 祝你每天都有惊喜的美图！**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Fxfce-bing-wallpaper-everyday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnriver%2Fxfce-bing-wallpaper-everyday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Fxfce-bing-wallpaper-everyday/lists"}