{"id":17427396,"url":"https://github.com/jmgorius/xinfo","last_synced_at":"2025-04-16T01:47:51.611Z","repository":{"id":135360647,"uuid":"391997190","full_name":"jmgorius/xinfo","owner":"jmgorius","description":"A command line tool with no external dependencies to print information about an X server instance.","archived":false,"fork":false,"pushed_at":"2022-12-14T18:21:17.000Z","size":196,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T03:41:32.670Z","etag":null,"topics":["dump","x11","xserver"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmgorius.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}},"created_at":"2021-08-02T15:15:59.000Z","updated_at":"2025-03-13T21:10:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc4ebbc6-a91b-4d15-9783-1595a9a56228","html_url":"https://github.com/jmgorius/xinfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmgorius%2Fxinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmgorius%2Fxinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmgorius%2Fxinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmgorius%2Fxinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmgorius","download_url":"https://codeload.github.com/jmgorius/xinfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182966,"owners_count":21226123,"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","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":["dump","x11","xserver"],"created_at":"2024-10-17T06:41:37.105Z","updated_at":"2025-04-16T01:47:51.605Z","avatar_url":"https://github.com/jmgorius.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xinfo\n\nA command line tool with no external dependencies to print information about an\nX server instance.\n\n## Building and running\n\nTo build the code in this repository, run\n```console\n$ make\n```\nThe latter command produces the `xinfo` executable, which can be run to get\ninformation about the X server running for the current session.\n```console\n$ ./xinfo\n```\nA different X display can be selected by setting the `DISPLAY` environment\nvariable such that\n```console\n$ DISPLAY=hostname:D.S ./xinfo\n```\nreturns information about display `D` and screen `S` on host `hostname`.\n\n## Sample output\n\nHere is an example of the output produced by `xinfo`.\n```\nxinfo - X server information printer\n\nVendor....................................... The X.Org Foundation\nVersion...................................... 11.0\nRelease number............................... 1.20.13\n\nResource ID base............................. 0x04000000\nResource ID mask............................. 0x001fffff\nMotion buffer size........................... 256\nMaximum request length....................... 16777212 bytes\nImage byte order............................. little endian\nBitmap format bit order...................... least significant first\nBitmap format scanline unit.................. 32\nBitmap format scanline pad................... 32\nMax keycode.................................. 255\nMin keycode.................................. 8\nNumber of pixmap formats..................... 7\nNumber of screens............................ 1\n\nPixmap formats:\n  * depth =  1, bits per pixel =  1, scanline pad = 32\n  * depth =  4, bits per pixel =  8, scanline pad = 32\n  * depth =  8, bits per pixel =  8, scanline pad = 32\n  * depth = 15, bits per pixel = 16, scanline pad = 32\n  * depth = 16, bits per pixel = 16, scanline pad = 32\n  * depth = 24, bits per pixel = 32, scanline pad = 32\n  * depth = 32, bits per pixel = 32, scanline pad = 32\n\nScreens:\n  Screen #0\n    Root..................................... 0x0000079f\n    Default colormap......................... 0x00000020\n    White pixel.............................. 0x00ffffff\n    Black pixel.............................. 0x00000000\n    Current input mask....................... 0x00fa8033\n      Key press.............................. yes\n      Key release............................ yes\n      Button press........................... no\n      Button release......................... no\n      Enter window........................... yes\n      Leave window........................... yes\n      Pointer motion......................... no\n      Pointer motion hint.................... no\n      Button 1 motion........................ no\n      Button 2 motion........................ no\n      Button 3 motion........................ no\n      Button 4 motion........................ no\n      Button 5 motion........................ no\n      Button motion.......................... no\n      Keymap state........................... no\n      Exposure............................... yes\n      Visibility change...................... no\n      Structure notify....................... yes\n      Resize redirect........................ no\n      Substructure notify.................... yes\n      Substructure redirect.................. yes\n      Focus change........................... yes\n      Property change........................ yes\n      Colormap change........................ yes\n      Owner grab button...................... no\n    Size..................................... 1920x1080 pixels (508x285 mm)\n    Installed maps........................... min = 1, max = 1\n    Root visual id........................... 0x00000021\n    Backing stores........................... when mapped\n    Save unders.............................. no\n    Root depth............................... 24\n    Number of allowed depths................. 7\n    Allowed depths:\n      * depth = 24, number of visuals: 576\n      * depth =  1, number of visuals: 0\n      * depth =  4, number of visuals: 0\n      * depth =  8, number of visuals: 0\n      * depth = 15, number of visuals: 0\n      * depth = 16, number of visuals: 0\n      * depth = 32, number of visuals: 24\n\nFont search paths:\n  * /usr/share/fonts/misc\n  * /usr/share/fonts/TTF\n  * /usr/share/fonts/100dpi\n  * /usr/share/fonts/75dpi\n  * built-ins\n\nSupported extensions: 28\n  * BIG-REQUESTS............................. v2.0\n  * Composite................................ v0.4\n  * DAMAGE................................... v1.1\n  * DOUBLE-BUFFER............................ v1.0\n  * DPMS..................................... v1.2\n  * DRI2..................................... v1.4\n  * DRI3..................................... v1.2\n  * GLX...................................... v1.4\n  * Generic Event Extension.................. v1.0\n  * MIT-SCREEN-SAVER......................... v1.1\n  * MIT-SHM.................................. v1.2\n  * Present.................................. v1.2\n  * RANDR.................................... v1.6\n  * RECORD................................... v1.13\n  * RENDER................................... v0.11\n  * SECURITY................................. v1.0\n  * SHAPE.................................... v1.1\n  * SYNC..................................... v3.1\n  * X-Resource............................... v1.0\n  * XC-MISC.................................. v1.1\n  * XFIXES................................... v5.0\n  * XFree86-DGA.............................. v2.0\n  * XFree86-VidModeExtension................. v2.2\n  * XINERAMA................................. v1.0\n  * XInputExtension.......................... v2.3\n  * XKEYBOARD................................ v1.0\n  * XTEST.................................... v2.2\n  * XVideo................................... v2.2\n```\n\n## Unknown extension version\n\nIf an extension version shows up as *unknown*, then the extension is not\nsupported by the current version of `xinfo`. Feel free to open a pull request to\nadd support for said extension.\n\n## Licensing\n\nThis is free and unencumbered software released into the public domain. See the\n[UNLICENSE](UNLICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmgorius%2Fxinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmgorius%2Fxinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmgorius%2Fxinfo/lists"}