Summary: | disable system notification for all applications should be possible (as in kde 3.5.x) (disable sounds for all apps) | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Ismail Khoffi <Ismail_k> |
Component: | kcm_notify | Assignee: | Olivier Goffart <ogoffart> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | amantia, andresbajotierra, bkorb, bluelightning, caionnew, cute.zachriel, faure, jan_braun, kde-2011.08, kde-bugs, mklapetek, nate, pascal, roberth.sjonoy, tiposchi, victor.varvariuc |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=407397 | ||
Latest Commit: | http://commits.kde.org/plasma-desktop/49eec39d11e7f689a763e837bc82869bb08db4df | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | missing "Schnell-Kontrollen" from 3.5 in 4.2 |
Description
Ismail Khoffi
2008-02-06 18:48:31 UTC
Sorry... Maybe I reported this in the wrong way... The Product must be systemsettings and the component is kcmnotify... I confirm this bug for KDE 4.0.3 (Ubuntu Packages) *** Bug 162978 has been marked as a duplicate of this bug. *** Confirmed in 4.1beta1 and trunk *** Bug 165281 has been marked as a duplicate of this bug. *** In KDE4.2, in the Notification KCModule, in the "Player Settings" tab you can select "No audio output". Do you think it's OK with that option ? Or do you want to propose anything else ? Thanks :) No, that is only for sounds and is a global setting. Check kcontrol from KDE3: you can turn off any type of notification and that setting is valid (by default, but changeable with a checkbox) for one application. So you can turn off just the systems sounds, or just kopete sounds, or just kopete messages, but not the sounds and so on. I agree with Andras, there should be a button that lets the user configure "Turn off all sounds for this application". Created attachment 30791 [details]
missing "Schnell-Kontrollen" from 3.5 in 4.2
I also miss this handy functions from KDE 3.5 in 4.2 called - in german - "Schnell-Kontrollen".
*** Bug 211754 has been marked as a duplicate of this bug. *** (re-explained from Bug 211754) "No audio output" is a serious downgrade from "remove all notifications", and it complicates the interface for many users. Here's an example of why: I don't want audio notifications anywhere in the system, except for one application, Kopete. In order to do that with the current setup I have to manually go through 18 applications with multiple audio notifications and turn them off one by one. With the previous (KDE 3) setup I could remove them all with one click and then manually add them for the one application where I wanted them, which in total resulted in way less clicks than the current setup. Confirmed in KDE SC 4.4.2! *** Bug 251308 has been marked as a duplicate of this bug. *** *** Bug 165434 has been marked as a duplicate of this bug. *** *** Bug 206070 has been marked as a duplicate of this bug. *** *** Bug 349807 has been marked as a duplicate of this bug. *** It would be really nice to be able to again disable all audio notifications in one obvious place, the corresponding system settings panel. Especially when not alone in a room, the ability to silence notifications without the need to use the mute button would be appreciated. Thanks for all the great work! This would be a nice feature for the 5.x desktop-experience to be even better. *** Bug 354622 has been marked as a duplicate of this bug. *** Fwiw, PulseAudio has the Event Sounds stream channel through which the notifications are routed. So you can just mute that one channel either in kmix or pavucontrol and all notification sounds will be gone. But I understand that it doesn't work with phonon-vlc backend because the vlc devs refuse to add some support for it, so phonon-gstreamer is recommended. I don't use pulseaudio. It solves a problem that I don't have, and creates several other problems. Yeah, thanks for the pulseaudio input, but I consent to the previous commenter's opinion. :-) I'm much annoyed by the amount of clicks it takes to disable all sounds, too, so I finally implemented a button for disabling all sounds for the current app, at least. https://git.reviewboard.kde.org/r/127926/ Yes the KDE3 solution was more flexible, but also much harder to understand/use. I'd like to cover the main use case, disabling all sounds. If someone wants to disable all kopete messages, that's still N clicks (N = number of events). But at least now disabling all sounds for all apps (a common use case) is M clicks (M = number of apps), as opposed to N*M before this fix ;-) Thanks David, this will make fighting the state of art a lot easier! But I have a question/remark: So this button will only disable currently activated sounds? It will not disable sound-output for the application in general? This means, if a new event gets defined and has a default sound configured, then it will not be disabled? I want to make a statement for a general solution to silence notifications, as there are situations when you do want to be able to play sounds, but do generally not want your applications to be noisy. In my special use case this covers every situation -- granted, others might be more selective. And every now and then, I do notice in the worst possible circumstances, that a new audio notification was created and enabled by default, which I have to search for manually to be able to disable it. Therefore, disabling all sounds with a button makes working against the mechanism easier, but it is not a solution if sound notifications are generally not acceptable (e.g., in offices or conference rooms with other people) and muting the whole system is neither a solution. I understand, that the current setup does not allow to suppress all audio notifications at once? Would one have to patch every single application? I would have assumed, that all KDE applications use the same API for notifications, so that a global enable/disable flag should be possible. Does someone already know where to look? Cheers, Jan Git commit 9d5440c14cf9e8107f2cb270ad69cec98ab9303c by David Faure. Committed on 28/06/2016 at 07:56. Pushed by dfaure into branch 'master'. KNotifyConfigWidget: add disableAllSounds() method This saves a lot of clicking compared to selecting each event in the list and unchecking the "Play sound" checkbox, something I have to do any time I set up a new computer (for me or around the office). REVIEW: 127926 M +11 -0 src/knotifyconfigwidget.cpp M +6 -0 src/knotifyconfigwidget.h M +20 -0 src/knotifyeventlist.cpp M +2 -0 src/knotifyeventlist.h http://commits.kde.org/knotifyconfig/9d5440c14cf9e8107f2cb270ad69cec98ab9303c Thank you David! Git commit 49eec39d11e7f689a763e837bc82869bb08db4df by David Faure. Committed on 14/07/2016 at 13:54. Pushed by dfaure into branch 'master'. Add button "Disable sounds for all of these events". Requires KF 5.24 for knotifyconfig commit 9d5440c. M +17 -3 kcms/knotify/knotify.cpp M +1 -0 kcms/knotify/knotify.h http://commits.kde.org/plasma-desktop/49eec39d11e7f689a763e837bc82869bb08db4df Sooo... sorry for going against the line here, but I do not think, that this button resolves the issue, just follows the suggestion from comment 8. As new events pop up from time from time, and some have a default sound set, this does not "disable system notification for all applications". Such an option would hopefully suppress all sounds set in new events, too. Probably not by removing the configured sound, but by just never playing any sounds for notifications. My opinion. Still thanks for the button! Jan I don't disagree. It would be an additional fix at another layer, which some people suggested. Which version will the fix appear in? I couldn't go to Plasma 5.7 due to the KF-5.24 requirement, so this will be in Plasma 5.8 (October) https://community.kde.org/Schedules/Plasma_5 I forgot to reopen the issue after my comment 28. This feature is implemented on the Audio System Settings page, on the Applications tab. From there, you can mute all notification sounds systemwide, or control their volume. However due to Bug 407397, all notification sounds are muted by default and can only be un-muted using the `pavucontrol` app. Once that's fixed, this should all finally work properly. |