[openbox] Include another config file?
R. Mattes
rm at mh-freiburg.de
Sat Oct 9 05:51:55 EDT 2010
On Sat, 9 Oct 2010 00:49:02 -0400, Dana Jansens wrote
> On Fri, Oct 8, 2010 at 2:55 PM, Xyne <xyne at archlinux.ca> wrote:
> > Dana Jansens wrote:
> >>
> >> > I wanna split the "~/.config/openbox/rc.xml" to:
> >> >
> >> > *rc.xml
> >> > *keyboard-shortcuts-general.xml
> >> > *keyboard-shortcuts-pekwm.xml
> >> > *keyboard-shortcuts-windows.xml
> >> > *per-application-settings.xml
> >> >
> >> > Is there something like an <include> tag, to include other *.xml files?
> >> >
> >>
> >> Unfortunately, no. As Vlad pointed out you can for menu definitions, but
> >> not for other stuff.
> >
> > Would you consider adding such a tag? It could be very useful for sharing
> > configurations, e.g. shortcuts for tiling windows using GrowTo* etc.
>
> I would consider accepting a patch to do so, but probably won't write
> it myself.
This sounds like a severe case os reinventing-the-wheel :-)
Isn't openbox using libxml2 internally? Why not use the mechanics of XInclude
for the task? Just add _one_ line of code ( xmlXInclude(your_xml_doc_here); )
> However, one problem is ObConf would not know what to do
> with that either. I intend to make this situation better sometime,
> but with a more deep overhaul of how config works.
Doesn't obconf use libobt? By using XInclude everthing should work aut of the
openbox ...
HTH Ralf Mattes
> > Regards,
> > Xyne
> > _______________________________________________
> > openbox mailing list
> > openbox at icculus.org
> > http://icculus.org/mailman/listinfo/openbox
> >
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
--
R. Mattes -- Systemeinheitsstreichler
Hochschule fuer Musik Freiburg
rm at inm.mh-freiburg.de
More information about the openbox
mailing list