Xfce Forum

Sub domains
 

You are not logged in.

#1 2009-10-23 15:32:36

cdahmedeh
Member
Registered: 2009-10-16
Posts: 5

Want to run multiple commands without scripts for keyboard script

Hello,

I am trying to assign a keyboard shortcut in Xfce 4.6 to run multiple commands. The && and ; don't work, the commands don't get excuted at all. What to do ?

Thanks

Offline

#2 2009-10-31 07:04:35

Wapush
Member
Registered: 2006-12-14
Posts: 140

Re: Want to run multiple commands without scripts for keyboard script

Why not a bash script?

Offline

#3 2012-10-10 06:04:10

wlmeng11
Member
Registered: 2012-10-10
Posts: 1

Re: Want to run multiple commands without scripts for keyboard script

I know it's kinda late... (3 years late)
But the answer to your question is to run it as such:
sh -c "<command>"
Replace command with the commands you want, separated by &&.
For example,
sh -c "conky && thunar"

Found the answer here:
http://askubuntu.com/questions/138661/h … -is-locked

Offline

Board footer

Powered by FluxBB