Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Recently i changed to lxde on Ubuntu. And after switching it changed my x-terminal-emulator to lxterm.

My script was doing the following:

Go through a for loop and open a new terminal window and then run a script in that terminal. It would open multiple terminals at the same time running that script in all the different windows.

After switching to lxde it will loop through and wait for each terminal window to finish the script before the next terminal window launches. I want it to do what it was doing.

I fixed this issue by changing my x-terminal-emulator back to the gnome-terminal. Now it works fine. HOWEVER, this is a script system that a few people use and they are all using different environments and terminal emulators. How can i make sure this works for all the different terminal emulators or at least for xterm or whatever the one EVERYONE would have.


Code snippet:

for blah in something
    x-terminal-emulator -e bash
share|improve this question
See this question. – terdon Sep 21 '13 at 4:45
up vote 6 down vote accepted

This should do

for blah in something
    x-terminal-emulator -e bash &
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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