Artificial Intelligence Posted November 27, 2008 Share Posted November 27, 2008 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 & Link to comment Share on other sites More sharing options...
neddie Posted November 27, 2008 Share Posted November 27, 2008 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. Link to comment Share on other sites More sharing options...
Artificial Intelligence Posted November 27, 2008 Author Share Posted November 27, 2008 Tried that same result. :( Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 2, 2009 Share Posted February 2, 2009 You've tried replacing the second one? How about both? kwin --replace && sh -c "cd ~/.Games/TitanAttacks && javaws titanattacks.jnlp" && compiz --replace & Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now