{"id":20582840,"url":"https://github.com/malted/monitor-manager","last_synced_at":"2026-04-14T00:32:15.116Z","repository":{"id":111912461,"uuid":"341965212","full_name":"malted/Monitor-Manager","owner":"malted","description":"A bash script to quickly change the orientation of a monitor using mouse buttons.","archived":false,"fork":false,"pushed_at":"2022-07-18T23:34:21.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-06T12:46:54.714Z","etag":null,"topics":["xorg"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/malted.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}},"created_at":"2021-02-24T16:37:18.000Z","updated_at":"2022-07-18T23:33:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"99c8fb8d-38bf-4e04-9b17-bc5c7251b8cf","html_url":"https://github.com/malted/Monitor-Manager","commit_stats":null,"previous_names":["malted/monitor-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/malted/Monitor-Manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malted%2FMonitor-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malted%2FMonitor-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malted%2FMonitor-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malted%2FMonitor-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malted","download_url":"https://codeload.github.com/malted/Monitor-Manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malted%2FMonitor-Manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31776926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["xorg"],"created_at":"2024-11-16T06:37:18.229Z","updated_at":"2026-04-14T00:32:15.086Z","avatar_url":"https://github.com/malted.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitor-Manager\n\n## A bash script to quickly change the orientation of an external monitor using extra mouse buttons.\n\n\n### Setup\n```\nsudo pacman -S xorg-xrandr xorg-xinput xorg-xev\ngit clone https://github.com/ma1ted/Monitor-Manager.git\ncd Monitor-Manager\nchmod +x ./rotate-monitor.sh\n```\n* Then set the script to run on startup.\n---\n* `xinput --list`\n  * Find the ID corresponding to your mouse and change the value of `MOUSE_ID` accordingly.\n---\n* `xev`\n  * Gets the button ID's for the mouse buttons you intend to use.\n  * The logitech G203 has two side buttons with (in my case) ID's 8 \u0026 9, which have been used here.\n---\n* `xrandr`\n  * Gets the names of the displays you want to control.\n  * `SECONDARY_MONITOR` is the name of the display you intend to rotate.\n---\n#### Note;\n* Using key press events instead of mouse button press events require changing the `xinput` query ID (`MOUSE_ID`).\n  * Swap the mouse device ID with the correct keyboard device ID.\n  * Swap the mouse button ID's with the correct keys ID's.\n  \n  \n### Only tested for KDE Plasma on Arch Linux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalted%2Fmonitor-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalted%2Fmonitor-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalted%2Fmonitor-manager/lists"}