At 22:49 on 23 Mar 2007, Steve Searle <steve@xxxxxxxxxxxxxxx> wrote: > Around 10:43pm on Friday, March 23, 2007 (UK time), Nigel Henry > scrawled: > > 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 Or perhaps a slight improvement: #!/bin/bash play /path/to/some/file.wav & exec firefox -- Mark Knoop