I developed the "xinitrc" package to launch X clients automatically just as profile.d framework acts. If the "xinitrc" is introduced, users can take advantage of installed programs without modifying their ~/.xinitrc. The design follows:
* /sw/bin/xinitrc.sh is the core component. It prepairs some variables and sources /etc/xinitrc.d/*. * /sw/sbin/update-xinitrc replaces the system-wide xinitrc. * First the system-wide xinitrc tests if /sw/etc/xinitrc-override exists. If it exists then it is sourced from the system-wide xinitrc. Otherwise /sw/bin/xinitrc.sh is sourced. If xinitrc.sh is also missing then the system-wide xinitrc mimics the traditional xinitrc. * The "xinitrc" package has many customization knobs. For instance, /sw/etc/xinitrc-first-hook and /sw/etc/xinitrc-last-hook are sourced from /sw/bin/xinitrc.sh to allow administrators to run some programs or set environment variables. Sample xinitrc.d script "50kinput2.sh" follows: : ${xinitrc_kinput2_enable=YES} case "x$xinitrc_kinput2_enable" in x[Yy][Ee][Ss]) if test -x /sw/bin/kinput2; then /sw/bin/kinput2 -canna -xim & fi ;; esac The finkinfo and patch are here. No source tarball. http://www.j10n.org/files/xinitrc-0.2-1.info http://www.j10n.org/files/xinitrc-0.2-1.patch ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel