Can you click on a desktop icon and play a .wav as well as starting the app?

Steve Searle steve at stevesearle.com
Fri Mar 23 22:49:24 UTC 2007


Around 10:43pm on Friday, March 23, 2007 (UK time), Nigel Henry scrawled:

> The question is as in the subject line.
> 
> Is it possible to set more than one command on a desktop launcher? For 
> example, you have a music app and want to play a few bars of music as the app 
> is launching when you click on the icon. Is that possible? 


One way would be to create a short shell script to play a wav file with
the "play" command, then to launch the application that was required.

E.g.

#!/bin/bash
play /path/to/some/file.wav
firefox

Then setup a desktop icon to run this shell script.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 22:45:34 up 3 days,  3:03,  1 user,  load average: 0.03, 0.04, 0.00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070323/3d7c8838/attachment-0001.sig>


More information about the fedora-list mailing list