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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 23 March 2007 23:49, Steve Searle wrote:
> 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

I'll come back to you tomorrow on this, as it's getting a bit late. Playing 
the .wav/.ogg works ok using play, but I'm not sure how to set up the 
shellscript to start playing the .wav, then launch the app.

Nigel.


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux