{"id":15042452,"url":"https://github.com/lu0/current-x-display-info","last_synced_at":"2026-02-10T11:38:08.802Z","repository":{"id":44443116,"uuid":"492368017","full_name":"lu0/current-x-display-info","owner":"lu0","description":"Get information from the current display on Linux-X11: pip3 install xdisplayinfo","archived":false,"fork":false,"pushed_at":"2022-07-14T23:31:47.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-16T20:50:30.663Z","etag":null,"topics":["bash-script","cli-utility","display-manager","displayinfo","linux-packages","pip","pip3","x11","xdisplayinfo","xdotool","xorg","xrandr","xserver"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/xdisplayinfo/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu0.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-05-15T02:21:28.000Z","updated_at":"2024-05-20T15:16:21.000Z","dependencies_parsed_at":"2022-07-15T15:30:41.083Z","dependency_job_id":null,"html_url":"https://github.com/lu0/current-x-display-info","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lu0/current-x-display-info","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu0%2Fcurrent-x-display-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu0%2Fcurrent-x-display-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu0%2Fcurrent-x-display-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu0%2Fcurrent-x-display-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu0","download_url":"https://codeload.github.com/lu0/current-x-display-info/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu0%2Fcurrent-x-display-info/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270082998,"owners_count":24523845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":["bash-script","cli-utility","display-manager","displayinfo","linux-packages","pip","pip3","x11","xdisplayinfo","xdotool","xorg","xrandr","xserver"],"created_at":"2024-09-24T20:47:20.180Z","updated_at":"2026-02-10T11:38:08.619Z","avatar_url":"https://github.com/lu0.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X Display Info\n\nLinux CLI utility to easily get information of the current display, the one the\nmouse is hovered over, in systems using X server.\n\n## Dependencies\n\nTested with the following dependencies, installed by default in most Linux\ndistributions using X:\n\n- `bash`: `4.3`+\n- `xdotool`: `3.20160805`+\n- `xrandr`: `1.5.0`+\n- `grep`: `3.4`+\n\n## Installation\n\n### Option A: Using `pip`\n\n```sh\npip3 install xdisplayinfo\n```\n\n### Option B: Adding source script to `$PATH`\n\n```sh\ngit clone https://github.com/lu0/current-x-display-info\ncd current-x-display-info/src/scripts/\nln -srf xdisplayinfo ~/.local/bin/xdisplayinfo\n```\n\n\n## Usage\n\nRun `xdisplayinfo -h` to see the list of available options.\n\n```txt\nGet information of the current display on systems using X.\n\nUSAGE:\n  xdisplayinfo   [OPTION]\n\nOPTIONS:\n  --window-id    ID of the active window (decimal).\n  --offset-y     Y coordinate of the top-left corner.\n  --offset-x     X coordinate of the top-left corner.\n  --resolution   Resolution as [width]x[height].\n  --height       Resolution along the Y axis.\n  --width        Resolution along the X axis.\n  --name         Name of the current display.\n  --all          All properties.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu0%2Fcurrent-x-display-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu0%2Fcurrent-x-display-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu0%2Fcurrent-x-display-info/lists"}