How to add startup sound on KDE

Hi.

I watched a video in youtube about adding sound on Linux but its in xmonad.

Is there a way to put an intro sound when I turn on/ wake up my machine?

Thank you.

Hi,

https://askubuntu.com/questions/790792/how-do-i-change-startup-sound-in-kde-plasma

1 Like

thank you for answering sir but it doesn’t work to my system. i don’t know if I change it wrong. here’s the screenshot:

Please see a previous thread and somewhat solution below:

1 Like

Thank you.
Now I know that this is still an ongoing bug on plasma.
but the solution provided doesn’t work with me. Maybe I replace pulseaudio with Pipewire. Maybe that’s why the line /usr/bin/paplay is not working.

I combine what the youtube video says and this link’s solution and it works.

Write a .desktop file in /etc/xdg/autostart/ like this:
touch /etc/xdg/autostart/org.kde.plasma_startup_sound.desktop
vi /etc/xdg/autostart/org.kde.plasma_startup_sound.desktop

[Desktop Entry]
Exec=mpv --no-video /usr/share/sounds/Oxygen-Sys-Log-In-Short.ogg
Name=Plasma Desktop Startup Sound
Type=Application
X-KDE-StartupNotify=false
OnlyShowIn=KDE;
Icon=plasma
NoDisplay=true
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.