You are not logged in.
This is probably something I have missed but here goes.
The window environment is xfce4 and I have a few things I want to start from the menu. Because I like to see them running I have checked the "run in terminal" check box.
Problem is that the xterm window appears and then disappears immeadiatly and the program doesnt run. I cant see any messages in the messages log or the .xsession-errors. When I start the script from an xterm window its fine, but if I run it from the run dialog box with run in terminal selected again no xterm window, but the script does run
The program I am trying to run looks like
sudo /home/alanh/script/some_script
Thanx in advance
Alan
Offline
Well...instead of selecting "Run in terminal" you COULD just make the command be:
xterm -e command
Where "command" is the command you want to run. This will spawn an instance of xterm that will launch the app.
Does this work for you?
--- EDIT --- I just tried this myself and I now realize that the term launched doesn't print the output of the command run...WTF? --- /EDIT ---
Offline
I just tried this myself and I now realize that the term launched doesn't print the output of the command run.
It does, it just dissapears after program exits and you don't see anything. Use this:
xterm -hold -e "ls"
Offline
Yeah, micro's solution works! Cool.
Offline
Yep works for me also Thanks A lot
Offline