{"id":51542909,"url":"https://github.com/deranjer/monitor-switcher","last_synced_at":"2026-07-09T15:30:47.848Z","repository":{"id":369152642,"uuid":"1288629224","full_name":"deranjer/monitor-switcher","owner":"deranjer","description":"Hotkey tool that switches monitor inputs.","archived":false,"fork":false,"pushed_at":"2026-07-03T20:00:42.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-03T22:05:18.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/deranjer.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-03T19:49:52.000Z","updated_at":"2026-07-03T20:00:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deranjer/monitor-switcher","commit_stats":null,"previous_names":["deranjer/monitor-switcher"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deranjer/monitor-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deranjer%2Fmonitor-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deranjer%2Fmonitor-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deranjer%2Fmonitor-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deranjer%2Fmonitor-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deranjer","download_url":"https://codeload.github.com/deranjer/monitor-switcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deranjer%2Fmonitor-switcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35304874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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":"2026-07-09T15:30:47.236Z","updated_at":"2026-07-09T15:30:47.838Z","avatar_url":"https://github.com/deranjer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monitor Switcher\n\nA lightweight Windows tray app that switches your monitors' active input (DisplayPort/HDMI/DVI/etc.) via DDC/CI, triggered by global hotkeys or the tray menu. Useful if you have monitors shared between multiple PCs and want a one-key/one-click way to flip all of them to the same source at once (\"profiles\").\n\nNative Win32 GUI (no Electron/webview, no GPU rendering context) — idles around 16MB working set / ~2.6MB committed memory.\n\n## Features\n\n- **Profiles**: define named groups of per-monitor input assignments (e.g. \"Gaming PC\" -\u003e Monitor 1: DP-1, Monitor 2: HDMI-2) and apply them all in one action.\n- **Global hotkeys**: bind a hotkey to each profile to switch inputs from anywhere, without opening the window.\n- **Tray icon**: left-click to open the window; right-click for a menu listing all profiles plus Settings/Quit.\n- **Identify Monitors**: shows a numbered overlay badge on each monitor so you can tell which is which in the Monitors tab.\n- **Switch verification**: after sending a DDC/CI input-switch command, reads back the monitor's state to confirm it actually switched (not just that the command was acknowledged). Can be disabled per-monitor for monitors whose read-back is unreliable.\n- **Manual VCP override**: lets you enter a raw VCP input code by hand, for monitors whose advertised capability list doesn't match reality.\n- **Autostart**: optional launch at Windows login.\n- **Single-instance guarded**: launching a second copy just exits instead of creating a duplicate tray icon.\n\n## Requirements\n\n- Windows 10/11\n- Monitor(s) that support DDC/CI input switching (must be enabled in the monitor's own OSD menu, if it has a toggle for it)\n\n## Installing\n\nDownload the latest `monitor-switcher.exe` (or the zip) from the [Releases](../../releases) page and run it — no installer needed.\n\n## Building from source\n\nRequires a recent stable Rust toolchain.\n\n```\ncargo build --release\n```\n\nThe binary is produced at `target/release/monitor-switcher.exe`.\n\n## Usage\n\n1. Launch the app. It starts minimized to the tray by default.\n2. Open the window from the tray icon (left-click, or right-click -\u003e Open Settings).\n3. **Monitors tab**: click \"Detect\" to enumerate connected DDC/CI monitors. Use \"Identify\" to show which physical monitor is which.\n4. **Profiles tab**: add a profile, assign an input source per monitor, and optionally bind a hotkey.\n5. Apply a profile via its hotkey, or via the tray menu / Profiles tab.\n\nConfiguration is stored at `%APPDATA%\\monitor-switcher\\config\\config.json`.\n\n### Command-line flags\n\n- `--tray` — start minimized to the tray regardless of the saved setting.\n- `--debug-monitors` — print all detected monitors, their VCP 0x60 input capabilities, and any EDID hardware info to the console (no GUI). Useful for diagnosing \"monitor not detected\" issues.\n- `--debug-set-input \u003cindex\u003e \u003chex\u003e` — directly set one monitor (by the index shown in `--debug-monitors`) to a raw VCP input code, e.g. `--debug-set-input 0 0x0F`.\n\n## Troubleshooting\n\n- **A monitor doesn't respond to switching, or switches to the wrong input**: some monitors advertise inaccurate VCP capability codes in their firmware. Use a tool like [ControlMyMonitor](https://www.nirsoft.net/utils/control_my_monitor.html) to find the VCP code that actually works, then enter it via the \"Manual override\" checkbox on that monitor's assignment row in the Profiles tab.\n- **A monitor reports \"FAILED\" after switching but the switch actually worked**: its DDC read-back doesn't reliably reflect its true state. Disable \"Verify switches\" for that monitor in the Monitors tab.\n- DDC/CI must be enabled in the monitor's on-screen menu — some monitors ship with it off.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderanjer%2Fmonitor-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderanjer%2Fmonitor-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderanjer%2Fmonitor-switcher/lists"}