{"id":13439080,"url":"https://github.com/jordansissel/xdotool","last_synced_at":"2026-10-18T20:23:04.993Z","repository":{"id":37431615,"uuid":"1372254","full_name":"jordansissel/xdotool","owner":"jordansissel","description":"fake keyboard/mouse input, window management, and more ","archived":false,"fork":false,"pushed_at":"2026-09-20T16:35:04.000Z","size":1176,"stargazers_count":3857,"open_issues_count":326,"forks_count":346,"subscribers_count":60,"default_branch":"main","last_synced_at":"2026-10-13T01:26:41.872Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jordansissel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELIST","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":"COPYRIGHT","agents":null,"dco":null,"cla":null}},"created_at":"2011-02-16T02:41:01.000Z","updated_at":"2026-10-11T19:43:04.000Z","dependencies_parsed_at":"2026-03-03T19:04:14.824Z","dependency_job_id":null,"html_url":"https://github.com/jordansissel/xdotool","commit_stats":{"total_commits":611,"total_committers":63,"mean_commits":9.698412698412698,"dds":0.1963993453355155,"last_synced_commit":"33092d8a74d60c9ad3ab39c4f05b90e047ea51d8"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jordansissel/xdotool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordansissel%2Fxdotool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordansissel%2Fxdotool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordansissel%2Fxdotool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordansissel%2Fxdotool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordansissel","download_url":"https://codeload.github.com/jordansissel/xdotool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordansissel%2Fxdotool/sbom","scorecard":{"id":532717,"data":{"date":"2025-08-11","repo":{"name":"github.com/jordansissel/xdotool","commit":"33092d8a74d60c9ad3ab39c4f05b90e047ea51d8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":5,"reason":"Found 14/24 approved changesets -- score normalized to 5","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":"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":2,"reason":"0 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"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: COPYRIGHT: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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v3.20211022.1 not signed: https://api.github.com/repos/jordansissel/xdotool/releases/51839439","Warn: release artifact v3.20210903.1 not signed: https://api.github.com/repos/jordansissel/xdotool/releases/48998069","Warn: release artifact v3.20210804.2 not signed: https://api.github.com/repos/jordansissel/xdotool/releases/47307119","Warn: release artifact v3.20210804.1 not signed: https://api.github.com/repos/jordansissel/xdotool/releases/47269906","Warn: release artifact v3.20160805.1 not signed: https://api.github.com/repos/jordansissel/xdotool/releases/3824599","Warn: release artifact v3.20211022.1 does not have provenance: https://api.github.com/repos/jordansissel/xdotool/releases/51839439","Warn: release artifact v3.20210903.1 does not have provenance: https://api.github.com/repos/jordansissel/xdotool/releases/48998069","Warn: release artifact v3.20210804.2 does not have provenance: https://api.github.com/repos/jordansissel/xdotool/releases/47307119","Warn: release artifact v3.20210804.1 does not have provenance: https://api.github.com/repos/jordansissel/xdotool/releases/47269906","Warn: release artifact v3.20160805.1 does not have provenance: https://api.github.com/repos/jordansissel/xdotool/releases/3824599"],"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 23 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-20T06:07:16.894Z","repository_id":37431615,"created_at":"2025-08-20T06:07:16.894Z","updated_at":"2025-08-20T06:07:16.894Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38341187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"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-07-31T03:01:10.951Z","updated_at":"2026-10-18T20:23:04.988Z","avatar_url":"https://github.com/jordansissel.png","language":"C","funding_links":[],"categories":["Tools \u0026 Software","C","Other"],"sub_categories":["Quality Assurance","Scientific Computing"],"readme":"# `xdotool` - x11 automation tool\n\n`xdotool` lets you simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11’s XTEST extension and other Xlib functions.\n\n⚠ Note: If you are using Wayland, please be aware this software will not work correctly. See the 'Wayland' section below for more detail.\n\nWith xdotool, you can search for windows and move, resize, hide, and modify\nwindow properties like the title. If your window manager supports it, you can\nuse xdotool to switch desktops, move windows between desktops, and change the\nnumber of desktops.\n\nAlso in this repository is `libxdo`, a C library for doing the same.\n\nYou may view the user documentation in [`xdotool.pod`](https://github.com/jordansissel/xdotool/blob/master/xdotool.pod)\n\n## Installation\n\nYou may find xdotool in your distribution packaging:\n\n* Debian and Ubuntu: `apt-get install xdotool`\n* Fedora: `dnf install xdotool`\n* FreeBSD: `pkg install xdotool`\n* macOS: `brew install xdotool` or `sudo port install xdotool`\n* OpenSUSE: `zypper install xdotool`\n* Arch Linux: `pacman -S xdotool`\n\n## Basic Usage\n\n### Typing\n\nFrom your terminal, run:\n\n```\nxdotool type \"Hello world\"\n```\n\n### Sending keys\n\n```\nxdotool key ctrl+l\n```\n\nThe above will simulate the keystrokes as if you pressed the control key, then the \"L\" key, and then released both. This is useful for simulating hotkeys.\n\n### Closing a window\n\n```\nxdotool selectwindow windowclose\n```\n\nThis will close the first window you click on.\n\n## Cool Tricks\n\n### Bring up Firefox and focus the URL bar\n\n```\nxdotool search \"Mozilla Firefox\" windowactivate --sync key --clearmodifiers ctrl+l\n```\n\n### Resize all visible gnome-terminal windows\n\n```\nxdotool search --onlyvisible --classname \"gnome-terminal\" windowsize %@ 500\n500\n```\n\n## Wayland\n\nWayland is a very different graphics system than X11 (which you might know as Xorg or X). Wayland has some X11 compatibility, but for the purposes of xdotool, many things do not work correctly. Typing, window searching, and many other functions of xdotool do not work, and it is unclear if they could ever work.\n\nSome other tools that might help you if you use Wayland are:\n\n* [ydotool](https://github.com/ReimuNotMoe/ydotool) - a tool for sending mouse and keyboard events using Linux's uinput sytem\n* [dotool](https://git.sr.ht/~geb/dotool) - a tool for sending mouse and keyboard events using Linux's uinput sytem\n\n## Building / Compiling\n\nPrerequisites:\n* X11 libraries: xlib, xtst, xi, xkbcommon, xinerama\n\nHow to compile and install:\n\n* Compile: make\n* Install: make install\n* Remove: make uninstall\n\nYou may have to set 'PREFIX' to the location you want to install to. \nThe default PREFIX is /usr/local\n\nFor packagers, there's also support for DESTDIR for staged install.\n\nAlso, see the manpage, which you can generate by running:\n\n```\n  make showman\n```\n\nNote: the manpage will be installed during 'make install'\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordansissel%2Fxdotool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordansissel%2Fxdotool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordansissel%2Fxdotool/lists"}