You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, June 9th 2008, 11:03pm

System events and their corresponding sounds

I used Kcontrol to customize what sounds KDE played at startup, when I logged off, etc, but, while doing so, I thought of going one step further and do something (as far as I am aware) new:
I would basically like to let users choose personalized greetings for each time of the day, e.g, "Good morning", "Good afternoon", "Good night".
As of today users can only choose one startup sound, so I thought I needed to change that. The issue, though, is that, after going through the source code repository for KDE I couldn't really understand how it assigned sounds to certain events.
What I'm basically looking for is information regarding the location of that code. How sounds are assigned to specific events and where the code for such events (especially startup) is located.
Thank you very much in advance.

OhReally

Beginner

Posts: 52

Location: Den Haag, NL

  • Send private message

2

Wednesday, June 18th 2008, 9:06pm

Hi Ishikawa,

In stead of playing a sound, you can also execute a command. So you could write a shell script, and execute that.

Rob

Similar threads