Jump to content
Artificial Intelligence

What's wrong with this line?

Recommended Posts

Made this launcher. The idea is that it replace compiz with kwin, then launch the game. When exiting the game it should turn compiz back on.

But the problem is it turn compiz on right after the game is launched.

 

kwin --replace & sh -c "cd ~/.Games/TitanAttacks && javaws titanattacks.jnlp" & compiz --replace &

Share this post


Link to post
Share on other sites

Might be too simple an idea, but.... shouldn't you have two ampersands && before your call to compiz --replace ? Otherwise they'll just run in parallel.

Share this post


Link to post
Share on other sites

You've tried replacing the second one? How about both?

 

kwin --replace && sh -c "cd ~/.Games/TitanAttacks && javaws titanattacks.jnlp" && compiz --replace &

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...