At 2004-08-25T13:24:10+1200, Jim Cheetham wrote:
> My current ~/.Xsession file is just the name of the application I'm
> running (Opera, actually, in kiosk mode). Can I put other commands in
> there?

Sure.  You probably have something like this:

$ cat ~/.Xsession
exec /path/to/Opera --setting --etc

You can add additional commands before the 'exec'.  If the commands are
slow or don't detach from the session automatically, you'll need to
background them with '&'.

Once the 'exec' line is executed, the process executing the .Xsession is
replaced by Opera.  See exec(3) and the 'exec' entry in your shell's man
page for a full explanation.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to