I have a similar problem as in this thread: Monitor/Display notification sounds
But not the solution. He had a monitor powered USB hub. I do not.
Whenever I wake my monitors & the lock screen, a sound effect plays that sounds like new hardware found. Or it might be the hardware disconnected sound immediately followed by hardware connected sound. I’m not sure where to turn this off. Anyone know? My monitors are connected via DisplayPort to an AMD GPU using opensource drivers and Kwin Wayland
KDE Plasma 6.3.6
I found the notification and the kernel udev event. It is the System Notification for “Device plugged in” and for “Device unplugged”. That is the sound that plays. I would like to keep that enabled but not for monitors. I wonder if I could filter out just monitors somehow.
The kernel event from udevadm monitor for unplugging looks like this:
KERNEL[9751.310] change /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 (drm)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0
SUBSYSTEM=drm
HOTPLUG=1
CONNECTOR=107
DEVNAME=/dev/dri/card0
DEVTYPE=drm_minor
SEQNUM=5511
MAJOR=226
MINOR=0
UDEV [9751.436] change /devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0 (drm)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:03.1/0000:09:00.0/0000:0a:00.0/0000:0b:00.0/drm/card0
SUBSYSTEM=drm
HOTPLUG=1
CONNECTOR=107
DEVNAME=/dev/dri/card0
DEVTYPE=drm_minor
SEQNUM=5511
USEC_INITIALIZED=8909391
ID_PATH=pci-0000:0b:00.0
ID_PATH_TAG=pci-0000_0b_00_0
ID_FOR_SEAT=drm-pci-0000_0b_00_0
MAJOR=226
MINOR=0
DEVLINKS=/dev/dri/by-path/pci-0000:0b:00.0-card
TAGS=:seat:uaccess:master-of-seat:
CURRENT_TAGS=:seat:uaccess:master-of-seat:
Looks like it isn’t possible to differentiate this from other kinds of hardware in Plasma. I will make a feature request.