On Thu, 2004-10-07 at 19:36 +0300, Marius Andreiana wrote: > A problem I noticed: I've set gnome-volume-manager to open k3b instead > of burn:// > When burning 1st CD it went ok. When inserting the 2nd CD, k3b is opened > again although it was already open. Could it check first if the > application specified by user is already running? > > Maybe this solves multiple burn:// folders too. > I don't know how to check in a reliable way if the application is > already running. ps aux|grep username|grep <application> works usually, > but it's ugly. It won't work for burn:// > There is locking code in hal now that an app can use to give advisory locks on a cd device. g-v-m respects this. k3b needs to be updated to set and unset these locks. -- John (J5) Palmieri Associate Software Engineer Desktop Group Red Hat, Inc. Blog: http://martianrock.com