[openbox] [RELEASE] Openbox 3.3.993 released

Dana Jansens danakj at orodu.net
Sat May 26 10:40:23 EDT 2007


On 5/26/07, artee at beer.cz <artee at beer.cz> wrote:
> On Sat, May 26, 2007 at 10:09:13AM -0400, Dana Jansens wrote:
> >  On 5/26/07, artee at beer.cz <artee at beer.cz> wrote:
> > > Hi,
> > >   For me it seems that even obconf 1.6.3 messes up my rc.xml...
> > >   I tried only to change themes and some lines in my rc.xml got
> > >   joined to one looong line. Is this a bug?
> >
> >  Perhaps, in your libXML (xmlSaveFormatFile function) but that seems
> >  unlikely. I guess something fishy is going on. I've tried toggling or
> >  changing every option in the program to make sure everything was ok,
> >  and all of them did what was expected, and xmlSaveFormatFile never had
> >  a problem writing back the file with the same format as it was read
> >  in.
>
> I have tried it again:
>
> [~/.config/openbox]> cat rc.xml | wc -l
> 789
> [~/.config/openbox]> obconf
> [~/.config/openbox]> cat rc.xml | wc -l
> 38
>
> Version of my libxml2 is 2.6.28. In strace of obconf I found:
>
> open("/home/ja/.config/openbox/rc.xml", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 4
> fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb705d000
> write(4, "<?xml version=\"1.0\" encoding=\"UT"..., 4096) = 4096
> write(4, "ktop>4</desktop></action></keybi"..., 4096) = 4096
> write(4, "sizeRelativeVert\"><delta>10</del"..., 4096) = 4096
> write(4, "ion name=\"Raise\"/></mousebind><m"..., 4096) = 4096
> write(4, "   windows when they appear. rol"..., 1801) = 1801
> close(4)                                = 0
>
> I don't know if this might help.

Maybe you have an error in your rc.xml?  Try with the default rc.xml,
and see if obconf is doing the same to it.  If not, then maybe you
could try your file with smaller sections at a time, to figure out
what is causing the problem.



More information about the openbox mailing list