Re: Creating custom sound events in gnome, and tracking them in Control Center
- From: Elliot Lee <sopwith redhat com>
- To: Pat Smith <psmith imrm com>
- Cc: gnome developers <gnome-devel-list gnome org>, Rick Copley <rcopley imrm com>
- Subject: Re: Creating custom sound events in gnome, and tracking them in Control Center
- Date: Mon, 6 Jan 2003 12:03:19 -0500 (EST)
On 6 Jan 2003, Pat Smith wrote:
> I realize that I am supposed to add some code to the existing
> application, namely, an include <gnome.h> and then the gnome_trigger_do
> () function with appropriate options. So here are my
> questions/concerns...
>
> 1. For every sound event that I want to add do I have to re-write and
> re-compile the application in question? This seems like a very scary,
> hands on task for Joe Average User. It is definitely not high on the
> ease of use list, which I thought was a priority for the gnome desktop.
There is no other way to do it.
> 2. Where is the documentation.
Sounds like it's waiting for someone to write it :)
> 3. OK, enuff rant. Is there someway I could develop a kicker program,
> maybe something that would execute before the desired application was
> called. Like if I wanted to call gnome-terminal. Maybe I could have a
> small script aliased that first did the trigger and then executed the
> gnome-terminal eg:
>
> <psuedocode>
> #Kicker file pseudo code
> include <gnome.h>;
> gnome_trigger_do ("", "program", "gnome-terminal", "startup", NULL);
> exec gnome-terminal
> </end psuedocode>
It sounds like what you are wanting is a special sound event for each
particular application that could be started. That pseudo code is the
right idea, but having a sound event per application is probably not
important to most people, so you may have to first convince people of that
first.
-- Elliot
"Sometimes I lie awake at night, and I ask, 'Where have I gone wrong?'
Then a voice says to me, 'This is going to take more than one night.'"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]