SCIENTIFIC-LINUX-USERS Archives

February 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Fri, 9 Feb 2007 13:58:11 +0100
MIME-version:
1.0
Reply-To:
Stephan Wiesand <[log in to unmask]>
Content-type:
TEXT/PLAIN; format=flowed; charset=US-ASCII
Subject:
From:
Stephan Wiesand <[log in to unmask]>
In-Reply-To:
Comments:
To: Scientific Linux Users mailing list <[log in to unmask]>
Parts/Attachments:
TEXT/PLAIN (27 lines)
Answer #3 (maybe indicating that the questions wasn't exactly precise ;-):

On Thu, 8 Feb 2007, Ioannis Vranos wrote:

> How can I make a given script or an executable to run during start up, 
> system-wide? I am using GNOME and I suppose I can place it on the "Startup 
> Programs" in "Sessions" for every user, but I suppose there is a more elegant 
> approach to this.

If "during start up" means "at the beginning of every GNOME session, 
before GNOME is actually launched", just add a bash script in
/etc/X11/xinit/xinitrc.d. From my notes:

# Call chain:
#  gdm
#   runs     /etc/X11/xdm/Xsession
#   sources  /etc/X11/xinit/xinitrc-common
#   sources  /etc/X11/xinit/xinitrc.d/*.sh
#
# Note: These are NOT sourced in failsafe sessions.

-- 
Stephan Wiesand
   DESY - DV -
   Platanenallee 6
   15738 Zeuthen, Germany

ATOM RSS1 RSS2