Results 1 to 4 of 4
Ok, so I want to get a Gnome panel button to open 2 programs at once (audacious and rhythmbox). Is there a way I can make that happen in one ...
- 08-30-2008 #1
Launching 2 programs at once
Ok, so I want to get a Gnome panel button to open 2 programs at once (audacious and rhythmbox). Is there a way I can make that happen in one command, or do I have to deal with bash scripting? I tried a bash script, but a) I don't think my syntax is right and b) when i try to run it, I get
Could not launch application
Failed to execute child process "/home/david/DJ.sh" (Permission denied)
My bash script is as follows:
#!/bin/bash
audacious
rhythmbox
Any suggestions?
- 08-30-2008 #2
Your script would wait for audacious to finish before it started rythmbox.
Write:
#!/bin/bash
audacious &
rhythmbox &
in order to have them run in the background.
Also, execute
chmod +x DJ.sh
in order to grant your script execution rights.
- 09-01-2008 #3
i tried that, but nothing happens... (i did do the entire filepath for DJ.sh)
- 09-01-2008 #4
oo haha... i was just toying w/ it more and I got it to work : D
my syntax for accessing DJ.sh in the button was fine (just "/home/david/DJ.sh") it was just the missing ampersands in my .sh file
Thanks : )


Reply With Quote