System fails to play a sound for the login event

Hi,

I have just upgraded form 42.1 to 42.2 and everything is working fine except for one little detail:

As I always do when configuring a new openSUSE version, I setup a log in and a log out sounds to play when starting and ending a section. The sound for closing a section (Event/exitkde) is playing OK, but the sound for starting a section (Event/startkde) refuses to play. My ~/.config/plasma_workspace.notifyrc is shown bellow.

I hope someone can help me to solve this problem.

Thanks in advance.


[Event/exitkde]
Action=Sound
Execute=
Logfile=
Sound=/home/berredo/Audio/ST6 exit windows.mp3
TTS=

[Event/plasmoidInstallationFailed]
Execute=
Logfile=
Sound=
TTS=

[Event/startkde]
Action=Sound
Execute=
Logfile=
Sound=/home/berredo/Audio/startrek_openning.mp3
TTS=

[Event/warning]
Action=Sound|Popup
Execute=
Logfile=
TTS=

Yep

Change gtreamer back end for vlc back end in KDE

Install phonon4qt5-backend-vlc

Change in Configure Desktop - Multimedia - Audio and Vidio - backend

Worked for me

What also works is to add a “file://” in front of the file name, i.e.:

Sound=file:///home/berredo/Audio/startrek_openning.mp3

(apparently the gstreamer backend needs this, although it shouldn’t I think)

Or copy the file to ~/.local/share/sounds/ or /usr/share/sounds/ and omit the path alltogether (specify only the file name).

](https://forums.opensuse.org/member.php/37208-gogalthorp)gogalthorp and wolfi323

Thanks for your help!!!

I had some dependency problems while installing phonon4qt5-backend-vlc because I am using vlc-beta (I suppose…). Anyway, the solution proposed by wolfi323 worked fine.

I am curious because the log out sound plays fine without the “file://”.

Thanks again!

Yes, phonon4qt5-backend-vlc (and the KDE4/Qt4 version phonon-backend-vlc) needs the stable vlc.

I am curious because the log out sound plays fine without the “file://”.

The logout sound is played via knotify, like used by most other applications.

The login sound uses Phonon directly, to avoid possible delays/hangs on login.