Gentoo Archives: gentoo-desktop

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: purpose of /etc/X11/xinit/xinitrc.d/
Date: Wed, 20 May 2009 06:50:20
Message-Id: gv081n$ccf$1@ger.gmane.org
In Reply to: [gentoo-desktop] purpose of /etc/X11/xinit/xinitrc.d/ by Maciej Mrozowski
1 Maciej Mrozowski wrote:
2 > Hi
3 >
4 > Reporter of https://bugs.gentoo.org/270250 suggests (via his patch), that
5 > /etc/X11/xinit/xinitrc.d/ should be utilized like "autorun" and that
6 > xinitrc.d/* should be sourced by startkde script (and presumably any other DE
7 > initialization script as well).
8 > Judging by location it should belong rather to xinit (and be sourced somewhere
9 > in initrc maybe), yet, this directory is provided by dbus and at least on my
10 > box only contains script to launch dbus session instance (in user mode, so
11 > possibly could be utilized by KDE - I have no idea whether there is any point
12 > in launching user dbus session for any other DE).
13 > So the questions are still valid for me:
14 > - what's the purpose of /etc/X11/xinit/xinitrc.d/
15 > - what kind of applications are supposed to use it
16 > - what else (apart from mentioned dbus launch) is expected to land there
17
18 Everything that needs to run scripts at X start-up puts those scripts in
19 /etc/X11/xinit/xinitrc.d/. Also, ConsoleKit places files there too, but
20 makes them non-executable and the files claim they will be sourced
21 rather than executed (/etc/X11/xinit/xinitrc.d/90-consolekit).
22
23 Maybe you should ask an X.Org list about this.