{"id":13437396,"url":"https://github.com/jcs/xbanish","last_synced_at":"2026-02-21T10:31:43.317Z","repository":{"id":7185182,"uuid":"8488046","full_name":"jcs/xbanish","owner":"jcs","description":"Hide the mouse cursor when typing and show it again when the mouse moves","archived":false,"fork":false,"pushed_at":"2023-08-09T16:11:03.000Z","size":40,"stargazers_count":549,"open_issues_count":16,"forks_count":66,"subscribers_count":13,"default_branch":"master","last_synced_at":"2026-02-12T22:56:37.877Z","etag":null,"topics":["x11","x11-cursor","xinput"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcs.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}},"created_at":"2013-02-28T21:03:45.000Z","updated_at":"2026-02-04T17:57:14.000Z","dependencies_parsed_at":"2024-01-23T18:23:13.617Z","dependency_job_id":null,"html_url":"https://github.com/jcs/xbanish","commit_stats":{"total_commits":64,"total_committers":18,"mean_commits":"3.5555555555555554","dds":0.359375,"last_synced_commit":"189ce79b1df4eb4995980530ebc3d28715a67488"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jcs/xbanish","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs%2Fxbanish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs%2Fxbanish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs%2Fxbanish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs%2Fxbanish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcs","download_url":"https://codeload.github.com/jcs/xbanish/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs%2Fxbanish/sbom","scorecard":{"id":511936,"data":{"date":"2025-08-11","repo":{"name":"github.com/jcs/xbanish","commit":"189ce79b1df4eb4995980530ebc3d28715a67488"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":4,"reason":"Found 12/29 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T00:46:53.035Z","repository_id":7185182,"created_at":"2025-08-20T00:46:53.035Z","updated_at":"2025-08-20T00:46:53.035Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["x11","x11-cursor","xinput"],"created_at":"2024-07-31T03:00:56.626Z","updated_at":"2026-02-21T10:31:43.298Z","avatar_url":"https://github.com/jcs.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"## xbanish\n\nxbanish hides the mouse cursor when you start typing, and shows it again when\nthe mouse cursor moves or a mouse button is pressed.\nThis is similar to xterm's `pointerMode` setting, but xbanish works globally in\nthe X11 session.\n\nunclutter's -keystroke mode is supposed to do this, but it's\n[broken](https://bugs.launchpad.net/ubuntu/+source/unclutter/+bug/54148).\nI looked into fixing it, but unclutter was abandoned so I wrote xbanish.\n\nThe name comes from\n[ratpoison's](https://www.nongnu.org/ratpoison/)\n\"banish\" command that sends the cursor to the corner of the screen.\n\n### Implementation\n\nIf the XInput extension is supported, xbanish uses it to request input from all\nattached keyboards and mice.\nIf XInput 2.2 is supported, raw mouse movement and button press inputs are\nrequested which helps detect cursor movement while in certain applications such\nas Chromium.\n\nIf Xinput is not available, xbanish recurses through the list of windows\nstarting at the root, and calls `XSelectInput()` on each window to receive\nnotification of mouse motion, button presses, and key presses.\n\nIn response to any available keyboard input events, the cursor is hidden.\nOn mouse movement or button events, the cursor is shown.\n\nxbanish initially hid the cursor by calling `XGrabPointer()` with a blank\ncursor image, similar to unclutter's -grab mode, but this had problematic\ninteractions with certain X applications.\nFor example, xlock could not grab the pointer and sometimes didn't lock,\nxwininfo wouldn't work at all, Firefox would quickly hide the Awesome Bar\ndropdown as soon as a key was pressed, and xterm required two middle-clicks to\npaste the clipboard contents.\n\nTo avoid these problems and simplify the implementation, xbanish now uses the\nmodern\n[`Xfixes` extension](http://cgit.freedesktop.org/xorg/proto/fixesproto/plain/fixesproto.txt)\nto easily hide and show the cursor with `XFixesHideCursor()` and\n`XFixesShowCursor()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcs%2Fxbanish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcs%2Fxbanish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcs%2Fxbanish/lists"}