Re: when leaving startx

2011-03-25 Thread Andras Simon
On 3/25/11, Patrick Dupre wrote: > Hello, > > When I leave the X session, how can I execute a shell command ? If you start it with startx, as the subject seems to suggest, then you could do startx ; your_shell_command or startx && your_shell_command and then your shell command will not be exe

Re: when leaving startx

2011-03-25 Thread Doll, Margaret Ann
If the command does not require graphics. ./command if the command is in your current directory /path to command/command if the command is not in your PATH command if the command is in your PATH To see your PATH printenv PATH On Fri, Mar 25, 2011 at 2:11 PM, Patrick Dupr

when leaving startx

2011-03-25 Thread Patrick Dupre
Hello, When I leave the X session, how can I execute a shell command ? Thank. -- --- == Patrick DUPRÉ | | Department of Chemistry| | Phone: (44)-(0)-1904-434384 The University of York