https://bugs.kde.org/show_bug.cgi?id=435509

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/a44a666dd12a863ebfecd720c
                   |                            |9b020dcd33674b8

--- Comment #5 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit a44a666dd12a863ebfecd720c9b020dcd33674b8 by Kai Uwe Broulik.
Committed on 17/07/2023 at 12:07.
Pushed by broulik into branch 'master'.

Play notification sound when a USB device is plugged in or unplugged

This adds a kded module which will monitor Udev's "usb" subsystem
for any USB devices being added/removed and emits a notification
as a result.

Compared to device notifier, this reacts on any kind of USB device
(e.g. mouse, headset), not just storage devices. It also reacts
more quickly, for example with an external hard drive, which needs
to spin up first before device notifier scans the partitions.

It checks the sysfs `removable` property to avoid playing a sound
when an internal device that is technically a USB device (e.g.
fingerprint reader, bluetooth adapter, etc) gets enabled/disabled.

M  +9    -0    CMakeLists.txt
A  +10   -0    devicenotifications/CMakeLists.txt
A  +2    -0    devicenotifications/Messages.sh
A  +306  -0    devicenotifications/devicenotifications.cpp     [License:
GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +87   -0    devicenotifications/devicenotifications.h     [License:
GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +7    -0    devicenotifications/devicenotifications.json

https://invent.kde.org/plasma/plasma-workspace/-/commit/a44a666dd12a863ebfecd720c9b020dcd33674b8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to