Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-02-10 23:43:41

coldbeer
Member
Registered: 2012-02-10
Posts: 2

[Solved] Launcher Icon with multiple commands

I have frequently made launchers with other WMs that have multiple commands.

example:

/usr/bin/xcalc;/usr/bin/xclock

I can't figure out how to do this in xfce. I've tried checking the run in terminal box
and /usr/bin/xcalc & /usr/bin/xclock &

but no luck

To be clear, I'm trying to make one icon that will launch 2 apps, not an icon that's a launcher menu.
Thanks.

Last edited by coldbeer (2012-02-10 23:58:16)

Offline

#2 2012-02-11 00:31:57

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,258

Re: [Solved] Launcher Icon with multiple commands

This launcher command seems to work:

bash -c "(/usr/bin/xcalc&);(/usr/bin/xclock&)"

Offline

#3 2012-02-11 02:02:26

coldbeer
Member
Registered: 2012-02-10
Posts: 2

Re: [Solved] Launcher Icon with multiple commands

That does it.

Thanks!  :-)

Offline

#4 2013-01-26 03:02:32

Math.
Member
Registered: 2012-04-26
Posts: 3

Re: [Solved] Launcher Icon with multiple commands

How to do this with Steam, and SDL_AUDIODRIVER=alsa?
Starting up in my terminal with this works fine:

SDL_AUDIODRIVER=alsa steam

But to make a launcher this isn't working:
bash -c "(SDL_AUDIODRIVER=alsa&);(steam&)"

What am I doing wrong here?

Offline

#5 2013-01-26 14:32:27

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,258

Re: [Solved] Launcher Icon with multiple commands

SDL_AUDIODRIVER=alsa is not a program but rather a variable that is being set prior to starting steam. Try this:

bash -c "SDL_AUDIODRIVER=alsa steam"

Offline

#6 2013-01-26 17:04:12

Math.
Member
Registered: 2012-04-26
Posts: 3

Re: [Solved] Launcher Icon with multiple commands

ToZ wrote:

SDL_AUDIODRIVER=alsa is not a program but rather a variable that is being set prior to starting steam. Try this:

bash -c "SDL_AUDIODRIVER=alsa steam"

Thanks, this works!

Only too bad this isn't working with AWN.

Last edited by Math. (2013-01-26 17:04:29)

Offline

Board footer

Powered by FluxBB