From 60ce1f57b9d4144979939d48d1f363ee55ee59c9 Mon Sep 17 00:00:00 2001 From: Q Date: Wed, 21 Sep 2022 14:12:05 -0400 Subject: [PATCH 1/2] Add how to rename Windows monitor_id --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 63cb628..bcbb55f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,10 @@ on_usb_connect = "hdmi2" `LEN P27u-10 S/N 1144206897` monitor ID. If more than one section has a match, a first one will be used. `on_usb_connect` and `on_usb_disconnect`, if defined, take precedence over global defaults. +_Tips for Windows_: monitors can be renamed at +`\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\DISPLAY\{MODEL_ID}\{CONNECTION_ID}\DeviceDesc` after the last semicolon +in case they are all just "Generic PnP Monitor". + ### Running external commands `display-switch` supports running external commands upon connection or disconnection of USB devices. This configuration can be global (runs every time a configured USB device is connected or disconnected) or per-monitor (runs only when From d296c1755584d13ce69dc69706f54e43064c8c44 Mon Sep 17 00:00:00 2001 From: Haim Gelfenbeyn Date: Sat, 11 Feb 2023 11:59:50 -0500 Subject: [PATCH 2/2] Further clarify the steps and the rationale. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bcbb55f..399a4f8 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,8 @@ on_usb_connect = "hdmi2" `LEN P27u-10 S/N 1144206897` monitor ID. If more than one section has a match, a first one will be used. `on_usb_connect` and `on_usb_disconnect`, if defined, take precedence over global defaults. -_Tips for Windows_: monitors can be renamed at -`\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\DISPLAY\{MODEL_ID}\{CONNECTION_ID}\DeviceDesc` after the last semicolon -in case they are all just "Generic PnP Monitor". +_Tips for Windows_: monitors can be renamed in the Registry at +`\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\{MODEL_ID}\{CONNECTION_ID}`. Edit the `DeviceDesc` value and change the name after the last semicolon. This is especially helpful in case they are all just "Generic PnP Monitor". ### Running external commands `display-switch` supports running external commands upon connection or disconnection of USB devices. This configuration