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

Re: Xsession.d filename



On Sat, Feb 05, 2005 at 02:55:39PM +0800, Jianan wrote:
Hi,
those files in /etc/X11/Xsession.d have a number in front of them e.g. 30xfree.., 45xfree..., 90xfree, etc. What is the significance of those numbers?

Those numbers control the order in which the various scripts run. From man 5 Xsession:

CUSTOMIZING THE STARTUP PROCEDURE
  Of course, any of the existing files can be edited in place.

  Because  the  order in which the various scripts in /etc/X11/Xsession.d
  are executed is important, files to be added to this  directory  should
  have a well-formed name.  The following format is recommended:

  * a two-digit number denoting sequence;

  *  the  name  of  the  package  providing  the  script (or 'custom' for
  locally-created scripts);

  * an underscore;

  * a description of the script's basic function, using  only  characters
  allowed by run-parts.

--
Steve Block
http://ev-15.com/
http://www.steveblock.com/
scblock@ev-15.com



Reply to: