50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
From 516a3642796563bcc7a13cd02795de3077a861b7 Mon Sep 17 00:00:00 2001
|
|
From: Nate Graham <nate@kde.org>
|
|
Date: Tue, 5 Aug 2025 09:27:36 -0600
|
|
Subject: [PATCH] Turn on popups for device notifications
|
|
|
|
Part of https://invent.kde.org/plasma/plasma-desktop/-/issues/149
|
|
|
|
These notifications are a useful way to communicate to the user that
|
|
their device isn't dead and was actuallt detected. Currently we have
|
|
only sounds turned on, and no popups. This problematic for
|
|
accessibility because deaf people won't hear the sound.
|
|
|
|
For this reason, EU Directive 2019/882 requires that all sound-based
|
|
notifications be accompanied by something visual as well.
|
|
|
|
Let's turn on popups to comply with that. We did some work to make the
|
|
popups not annoying, including:
|
|
- Not appearing in the history
|
|
- Removing the connection notification when disconnected (and vice
|
|
versa)
|
|
- Removing the notification when it's for a USB disk and the Disks &
|
|
Devices widget appears automatically.
|
|
---
|
|
plasma_workspace.notifyrc | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/plasma_workspace.notifyrc b/plasma_workspace.notifyrc
|
|
index 7b9311d..4394192 100644
|
|
--- a/plasma_workspace.notifyrc
|
|
+++ b/plasma_workspace.notifyrc
|
|
@@ -2380,7 +2380,7 @@ Comment[uk]=Було з'єднано пристрій
|
|
Comment[x-test]=xxA device was plugged inxx
|
|
Comment[zh_CN]=已插入一个设备
|
|
Comment[zh_TW]=有裝置剛被插入
|
|
-Action=Sound
|
|
+Action=Popup|Sound
|
|
Sound=device-added
|
|
Urgency=Low
|
|
|
|
@@ -2465,6 +2465,6 @@ Comment[uk]=Було від'єднано пристрій
|
|
Comment[x-test]=xxA device was unpluggedxx
|
|
Comment[zh_CN]=已拔出一个设备
|
|
Comment[zh_TW]=有裝置剛被拔出
|
|
-Action=Sound
|
|
+Action=Popup|Sound
|
|
Sound=device-removed
|
|
Urgency=Low
|
|
--
|
|
GitLab
|
|
|