HD Install :: autostart an xshell command line?
Hey all ..Here's a quick q...
When I autostart an command line program, the actual xshell
does not open on the desktop - is there a way to force it to open? The command line program I am running requires input, and it's not catching the input because the actual window is not open.
Thanks in advance!
Brad
Try starting the command like this:
rxvt -e <command>
This will launch the program in rxvt so that you can use an interactive commandline program in X.
The rxvt window will close automatically when the program ends.
thanks mike ... i actually figured it out in the 20 minutes between my posting and your relpy.. what I didn't know was that the command rxvt existed!
Then i noticed it in the xshell right click menu. 
Anyway, here's what I did to autoboot this program in an rxvt window...
make a script file in /etc/init.d/ that changes to the program directory, then runs the program:
i.e.:
cd /path/to/program
./program_file_name
then, I edited .xinitrc in my home directory, and added:
sudo rxvt -e /etc/init.d/name_of_script_file &
right above the fluxbox command
thanks for replying so quickly mike... 'preciate it.
brad
original here.