{"id":18898680,"url":"https://github.com/revolution-robotics/inhibit-suspend","last_synced_at":"2026-07-14T22:32:30.518Z","repository":{"id":199159836,"uuid":"702254080","full_name":"revolution-robotics/inhibit-suspend","owner":"revolution-robotics","description":"On Desktop systems, prevent suspend due to, e.g., GNOME shell/GDM crash.","archived":false,"fork":false,"pushed_at":"2025-11-14T02:50:50.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-14T04:28:44.771Z","etag":null,"topics":["suspend","systemd-inhibit","wait-for-signal"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/revolution-robotics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-08T23:52:31.000Z","updated_at":"2025-11-14T02:50:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"77c2e1d2-c9fc-4613-bd04-9b230b867fe1","html_url":"https://github.com/revolution-robotics/inhibit-suspend","commit_stats":null,"previous_names":["revolution-robotics/inhibit-suspend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/revolution-robotics/inhibit-suspend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolution-robotics%2Finhibit-suspend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolution-robotics%2Finhibit-suspend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolution-robotics%2Finhibit-suspend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolution-robotics%2Finhibit-suspend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revolution-robotics","download_url":"https://codeload.github.com/revolution-robotics/inhibit-suspend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolution-robotics%2Finhibit-suspend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35482259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"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":["suspend","systemd-inhibit","wait-for-signal"],"created_at":"2024-11-08T08:43:41.667Z","updated_at":"2026-07-14T22:32:30.502Z","avatar_url":"https://github.com/revolution-robotics.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/revolution-robotics/inhibit-suspend/actions/workflows/inhibit-suspend.yml/badge.svg)\n\n# Inhibit Suspend\n\n- [GDM suspend](#gdm-suspend)\n- [Systemd-inhibit](#systemd-inhibit)\n- [inhibit-suspend.service](#inhibit-suspendservice)\n- [Installation](#installation)\n\n## GDM suspend\n\nRecent versions of Fedora running GNOME desktop unexpectedly suspend.\nFor systems that also happen to be servers, this is a problem. The\napparent solution is to add a `gdm` profile, as outlined on\nStackExchange\n[Disable GDM suspend on lock screen](https://unix.stackexchange.com/a/746767).\nSuch a `gdm` profile works great until `gdm` itself crashes\nand the system again suspends.\n\n## Systemd-inhibit\n\nSystemd provides a utility for blocking suspend: `systemd-inhibit`.\nSimilar to `nohup`, it's intent is to prevent interruption of\na long-running process.\n\n## inhibit-suspend.service\n\nThis package provides a systemd service, *inhibit-suspend.service*,\nthat invokes `wait-for-signal`, which simply sleeps until it receives\na designated signal (SIGUSR1, by default). By invoking\n`wait-for-signal` via `systemd-inhibit`, this is enough to prevent a\nslightly unstable desktop from suspending the system. *Hurrah!*\n\n## Installation\n\nProvided your **systemd**-based OS has **GNU make** and a C compiler, run:\n\n```bash\ngit clone https://github.com/revolution-robotics/inhibit-suspend.git\nmake -C inhibit-suspend\nsudo make -C inhibit-suspend install\nsudo systemctl enable --now inhibit-suspsend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolution-robotics%2Finhibit-suspend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevolution-robotics%2Finhibit-suspend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolution-robotics%2Finhibit-suspend/lists"}