Re: Exec programs on startup



Edit your .xinitrc file, which probably has something like this at the
moment:
exec gnome-session
Simply add the line:
exec WhateverProgram &
before the exec gnome-session.  In general, when you are editing this
file, you will
want everything you are executing to have an "&" except the last line in
this file.  That
way when you logout of gnome, it will shut everything down.  If you put
an "&" after the last line, when you logout of gnome, everything else
will still remain running and your
xserver won't shut down.

Example .xinitrc file, which starts an xterm, xmms, and windowmaker
every time I startx:
exec xterm &
exec xmms &
exec windowmaker

							--PaddyM
> 
> Hi
> 
> How can i exec a program everytime i start gnome?
> 
> Thanks
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]