{"id":37085686,"url":"https://github.com/eazar001/mousetrap","last_synced_at":"2026-01-14T10:32:30.101Z","repository":{"id":57443341,"uuid":"64520365","full_name":"eazar001/mousetrap","owner":"eazar001","description":"A utility that hides the mouse after a specified interval of time has elapsed without activity.","archived":false,"fork":false,"pushed_at":"2018-09-03T16:03:38.000Z","size":24,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-11-27T18:38:02.361Z","etag":null,"topics":["ergonomics","hide","linux","mouse","x11"],"latest_commit_sha":null,"homepage":null,"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/eazar001.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2016-07-30T01:45:31.000Z","updated_at":"2023-08-04T13:47:41.000Z","dependencies_parsed_at":"2022-09-05T09:41:01.854Z","dependency_job_id":null,"html_url":"https://github.com/eazar001/mousetrap","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/eazar001/mousetrap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eazar001%2Fmousetrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eazar001%2Fmousetrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eazar001%2Fmousetrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eazar001%2Fmousetrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eazar001","download_url":"https://codeload.github.com/eazar001/mousetrap/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eazar001%2Fmousetrap/sbom","scorecard":{"id":364426,"data":{"date":"2025-08-11","repo":{"name":"github.com/eazar001/mousetrap","commit":"bc797af6d876ffe332b3574b71acc9941ca337bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'"],"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"}}]},"last_synced_at":"2025-08-18T11:32:09.363Z","repository_id":57443341,"created_at":"2025-08-18T11:32:09.363Z","updated_at":"2025-08-18T11:32:09.363Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:25:19.714Z","status":"ssl_error","status_checked_at":"2026-01-14T10:22:49.371Z","response_time":107,"last_error":"SSL_read: 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":["ergonomics","hide","linux","mouse","x11"],"created_at":"2026-01-14T10:32:30.035Z","updated_at":"2026-01-14T10:32:30.093Z","avatar_url":"https://github.com/eazar001.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"mousetrap\n=========\n\nA utility that hides the mouse after a specified interval of time has elapsed\nwithout activity.\n\nWhat is this?\n-------------\n\nThis is a small utility for linux desktops that hides the mouse during periods of inactivity. When the user does need to use the mouse again, the mouse pointer will be unhidden so that normal use can resume. Some users tend to get distracted when reading or working with a mouse pointer that sits over the content. This is very similar to programs like `hhp`, `hhpc`, `unclutter`, etc.\n\nThe process flow of `mousetrap` is as follows:\n\n1. There is no activity for user-specified amount of time (i.e. 6 seconds)\n2. Mouse is hidden\n3. Mouse is used, and subsequently unhidden\n4. Go back to step 1\n\nIf there is activity (i.e. click or movement) before the amount of time has elapsed in step 1, then the timer is reset and control remains in step 1.\n\nWhat's wrong with the others?\n-----------------------------\n\nThe other programs I've encountered had one or more of the following issues:\n\n* Resets the timer on motion, but not on button presses\n* Resets the timer on button presses, but not on motion\n* Reactivates mouse on click, but does not register the click on the window\n* Program predictably fails after a short amount of time\n* Does not work on tiling window managers like mine (Xmonad WM)\n* Works on tiling window managers, but fails to hide when sitting in between windows\n\nThe mere presence of any of the above issues is sufficient for me not to use such a program.\n\nHow do I install this?\n----------------------\n\nDo you have Arch Linux? Great, if so you can skip the rest of the instructions at the bottom and install it directly from the AUR: https://aur.archlinux.org/packages/mousetrap/\n\nOtherwise, In order to build this application you need to install `Python` \u003e= 3.0 (https://www.python.org)\n\nAfter the installation, you may proceed to the first step below.\n\nFirst, install with::\n\n    $ python setup.py install\n\nThen, assuming that the path you installed `mousetrap` to is in your `$PATH`::\n\n    $ mousetrap -t 10\n\n\nThe `-t` flag specifies your preferred idle time, in seconds. All flag options are _absolutely_ mandatory.\n\nIssues\n------\n\nSome users have reported seeing an error of the form::\n\n    Xlib.error.DisplayConnectionError: Can't connect to display \":0\": b'Invalid MIT-MAGIC-COOKIE-1 key'\n\n\n@deepakshantilalshah claims that the example command below is a workaround for such issues::\n\n    DISPLAY=:0 mousetrap -t 10\n\n\nSee https://github.com/eazar001/mousetrap/issues/5 for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feazar001%2Fmousetrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feazar001%2Fmousetrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feazar001%2Fmousetrap/lists"}