https://bugs.kde.org/show_bug.cgi?id=482045

--- Comment #10 from Kevin R <bassist...@gmail.com> ---
I found the following file that points all sound themes to their respective
sound files:

/usr/share/knotifications6/plasma_workspace.notifyrc

Long story short, Settings > Notifications > <whatever you choose within the
list (e.g. Plasma Workspace)> will always need to point to their default sound
event name. For example:

Login will always need to point to 'desktop-login'
Logout will always need to point to 'desktop-logout'

These are all defined within the above file 'plasma_workspace.notifyrc', which
then directly correlates with the respective theme file that is currently
chosen. For example, /usr/share/sounds/ocean/index.theme.

The only way I was able to have my own "custom" sounds was to pretty much
create my own theme. However, what I did to test this out beforehand was to
copy a couple of my sound files over to an existing theme sound folder
(/usr/share/sounds/ocean/stereo), in this case a login and a logout sound file
(they also need to be OGA files). I then did the following to rename the files:

sudo mv desktop-login.oga OLD-desktop-login.oga
sudo mv desktop-logout.oga OLD-desktop-logout.oga

sudo mv my_login_sound_file.oga desktop-login.oga
sudo mv my_logout_sound_file.oga desktop-logout.oga

This essentially replaced the original files with my "custom" files. I tested
this out and was able to hear my custom logout sound (login still doesn't work,
but I believe that is a whole different issue).

So, very long story short, your custom sounds need to be named the exact names
that exist within the theme sound folder.

That being said, I really hope this isn't what the KDE team intended to happen,
relying only on the sound theme feature. It was a pretty long process renaming
all of the sound files I wanted to use. I hope a feature is added to once again
allow us to use Settings > Notifications like we have always used it in the
past,

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to