On Friday 28 May 2004 12:04 pm, Chris Cannam wrote:
> ugh. Guess there's no way for Rosegarden to send a stern message to
> KDE telling it not to play any of those stupid system sounds? (see
qjackctl runs artsshell -q terminate by default at startup. Maybe we could do
that. It would not, however, stop sounds from playing if a user has
configured an external player.
There's really nothing for it but to dissociate the sounds from the events.
I don't think we *should* do that, but I guess we probably could. Look at
~/.kde/share/config/ Especially kwin.eventsrc
I can't find a forceful way to force the changes to be recognized, but sounds
can be disabled by s/presentation=1/presentation=0/g this file. I don't see
any way to use some kde-internal-daemon-modifier -syntax to force these
changes to be picked up sans kcontrol.
Here though. I hosed a user's ~/.kde, logged into TWM, ran RG, and I got, lo,
a ~/.kde/share/config/kwin.eventsrc by default. I removed this file,
restarted RG, and it stayed gone. I don't see any kdeinit: knotify process
running for this user either. (Caveat though, knotify and artsd crashed the
first time, and it might have just written some config files not to try
again. There may be more to the puzzle than this, but it can probably all be
dealt with via ~/.kde)
Anyway, *should* we do it proactively (disable it for the user, then re-enable
it upon closing)? Or perhaps we could instead detect if the user has sounds
on (easy enough) and provide an info box at startup like:
Rosegarden has detected that you have enabled system
notifications for the KDE Window System. This may cause
spurious and unwanted sounds triggered by system events
to interfere with Rosegarden's playback. We strongly
recommend that you turn off system sounds using the KDE
Control Center; Sound & Multimedia -> System Sounds ->
Turn Off All System Sounds. (Or remove
~/.kde/share/config/kwin.eventsrc and re-start
[x] Don't display this dialog in the future.
Michael McIntyre ---- Silvan <dmmcintyr@...>
Linux fanatic, and certified Geek; registered Linux user #243621
On Friday 28 May 2004 18:04, Chris Cannam wrote:
> ugh. =A0Guess there's no way for Rosegarden to send a stern message to
> KDE telling it not to play any of those stupid system sounds? =A0(see
Not easily, but I expect KDE to clean up its act on this matter (i.e. to=20
replace arts by something which doesn't suck).