You are not logged in.

#26 2012-01-22 11:46:36

whaler
Member
From: Oslo, Norway
Registered: 2008-03-25
Posts: 324

Re: No sound in kde notifications [SOLVED]

whaler wrote:
AnnS wrote:

(...) In case this is useful to anyone:
(...)
~/.kde4/share/config/kde.notifyrc

Problem here is that the file mentioned does not exist in my '~/.kde4/share/config/' catalog.

I will try creating the file, copying your posted content, and see what happens...

---

Yes, it seems it did the trick. At least KDE now plays its startup sound. Thank you!

I wonder how this file can 'accidentally' (?) disappear from a KDE upgrade, and also why my Pulse Audio system sound button has been disabled over the last two KDE upgrades. It still is, btw, after I included '~/.kde4/share/config/kde.notifyrc'.

Last edited by whaler (2012-01-22 11:47:59)

Offline

#27 2012-01-29 13:19:19

qwer1234
Member
Registered: 2010-06-16
Posts: 10

Re: No sound in kde notifications [SOLVED]

My solution:

1. Copy /usr/share/apps/kde/kde.notifyrc to ~/.kde4/share/config/kde.notifyrc
2. In a text editor replace all "Sound=" with "Sound=file:///usr/share/sounds/"
3. Reboot

Offline

#28 2012-01-31 01:35:47

Desade
Member
Registered: 2012-01-31
Posts: 7

Re: No sound in kde notifications [SOLVED]

As root, using bash:

for x in $( find /usr/share/apps -name '*.notifyrc' -exec grep -l "^Sound=[^\/]" {} \; )
do
  sed "s/^Sound=\([^\/].*\)$/Sound=\/usr\/share\/sounds\/\1/" $x > /tmp/$(basename $x)
  mv /tmp/$(basename $x) $x
  echo "Fixed $x"
done

Enjoy.

Offline

#29 2012-01-31 07:30:33

birdflesh
Member
From: Greece
Registered: 2010-08-04
Posts: 97

Re: No sound in kde notifications [SOLVED]

This should be fixed in qt 4.8.0-4 in [testing].

Offline

Board footer

Powered by FluxBB