what is wrong with the shell/perl command xterm..-
what is wrong with the command
xterm -e perl /root/test.pl apart from this where can i add this command so that immediatel after the desktop is shown it should start xterm and also starts executing the perl file the same shell i tried putting the commad "perl /root/test.pl" in rc.local its not working at all the perl files executes even before login. i also tried putting perl /root/test/pl it into .bashrc . it executes after login but before showing the desktop . the aim of my program is as soon as the user logs in and desktop is shown. the xterm or anyother shell should open and start executiing the perl file. |
You can use .xinitrc to run things when starting X. Remember to use & to put persistant programs in the background, and then exec your window manager in the last line. Here's an example:
Code:
# ~/.xinitrc |
All times are GMT -5. The time now is 12:15 PM. |