4 ms·
Kind of annoying that monitors are identified by UUID and not by the physical port they're connected to. Some layer of the system probably has that information
by jrockway 4y ago
Kind of annoying that monitors are identified by UUID and not by the physical port they're connected to. Some layer of the system probably has that information, but some other layer probably deletes it.
(Even more annoying is when the information isn't deleted, but it's ignored. The Nvidia control panel knows which port each monitor is connected to, and could store the monitor arrangement by port number. Also appreciated would be some way of saying "this monitor is going away for just a second, just keep sending a signal even though you know I can't see it". I have a monitor that likes to hard crash every so often and has to be unplugged, this results in seconds of software freaking out when I'd rather not tell the OS or the apps about the loss of a screen and a switch of "primary display" to some other monitor. Usually a reboot is necessary to get everything's state correct again.
Silly.)
- grishka 4y agoBut then it would get annoying if you have a laptop with multiple identical ports. You'd have to remember which port you need to plug each monitor into.
- yarg 4y agoKeys don't need to be defined by a single component - use the monitor reported value, and failover to something like (reported_value ^ connected_port) if there's a collision.
- taneq 4y agoExactly. USB devices do this (seem to identify the device by (port, uuid?)) and it's highly annoying having to rearrange everything so the USB-to-serial adapter can reach the correct USB port so I can keep calling it COM5 and not have to switch everything over to COM1 or COM13 or whatever. It also causes weirdness like "my scrollwheel scrolls in one direction when plugged into my laptop and the other direction if I plug it into the USB hub in my keyboard."
- grishka 4y ago*on Windows. On macOS USB serial devices use their serial (lol) numbers or models or whatever for /dev/usbserialXXX, definitely regardless of which port you plug it in.