I am using Xubuntu and trying to customize my Panel with new Launchers. I want to make a launcher that will start two applications. In this case, Chrome and Minecraft (aka lazytime launcher). I've tried:

java -jar /usr/share/minecraft/minecraft.jar && /usr/bin/google-chrome-stable %U


java -jar /usr/share/minecraft/minecraft.jar; /usr/bin/google-chrome-stable %U

in the "Command" box. But it only launches Minecraft. If I reverse it, only Chrome. Any ideas how ot make it work?

  • Sorry for waiting, I posted this and then got a little busy. Thank you it works perfectly! – Republican31 Mar 23 '16 at 17:29
  • Glad it works, you're welcome:) – Jacob Vlijm Mar 23 '16 at 17:32

On the edge of being a dupe of this question, also on Xubuntu, in a .desktop file, you can combine the two like:

/bin/bash -c "java -jar /usr/share/minecraft/minecraft.jar & /usr/bin/google-chrome-stable"
  • You have to use /bin/bash -c to combine the two in a .desktop file
  • If you use && or ; instead of a single &, the application ('s command) waits for the first application to terminate
  • Thank you so much!! I'm still a noob when it comes to linux but I'm understanding more and more each day! – Republican31 Mar 23 '16 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.