RE : Re: Program launch at startup



Absolutely, my question is "how can specify a script that is executed every time gnome starts ?"
Thanks

Stefano Sabatini <stefano.sabatini-lala@xxxxxxxx> a écrit :
On date Tuesday 2007-12-11 16:48:30 +0100, Rachid KHAZAZ gnomed:
Hi all,

I am using Java Desktop System under Solaris and I would JDS to launch a
defined program each time I log in. In which script should i add my
program path ?

Hi, the best way to define your PATH environment variable is by
sourcing the corresponding profile script in ~/.xinitrc.

For example you may put this line in your ~/.xinitrc:

. ~/.config/fish/profile

before exec gnome-session.

Or (if your profile script is a bash profile):
. ~/.profile

Note that in order to be able to *source* a profile script (defining
between the other things the PATH), the .xinitrc need to be written in
the same profile script language, for example it has to be a bash
script.

Not sure about how does JDS work though, also not sure that was the
question you was asking for, maybe you meant to ask instead "how can I
execute a certain script every time gnome starts?".

HTH, regards.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list


Relevant Pages

  • Re: Program launch at startup
    ... I am using Java Desktop System under Solaris and I would JDS to launch a ... In which script should i add my ... Or (if your profile script is a bash profile): ... Not sure about how does JDS work though, also not sure that was the ...
    (GNOME)
  • Re: Program launch at startup
    ... In which script should i add my ... Or (if your profile script is a bash profile): ... Not sure about how does JDS work though, also not sure that was the ...
    (GNOME)
  • Re: GPO - User Logon Script
    ... I find a profile script and GPO script applied ... If we are to run "Logon Script A" (via file name within the User ...
    (microsoft.public.windows.server.active_directory)
  • How to correctly test for existence of pseudo tty?
    ... a perl script that fails. ... A calling shell script does an su to an account that assumes ownership ... It turns out that cron attaches a pty to the process it runs (unlike ... how can I correctly check in the .profile script if there is an ...
    (comp.sys.hp.hpux)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)