[Splashy-devel] Re: A Splashy Configuration Tool

Vincent Amouret vincent.amouret at gmail.com
Wed Aug 17 18:48:09 UTC 2005


Hello,

i write you this mail to explain how i implemented the themes, same if
it isn't what you think( what you said on #splashy).


The program you find at
http://k0fman.t35.com/splashy-config/gsplashy/src/splashy-config
(really very bugged at this time)
work like that:
/et/splashy/config.xml is the config file used by splashy

/etc/splashy/themes is the directory which store th themes foldres

/etc/splashy/themes/default/config.xml is the config file of the theme
called "default"
All that it's ok.

I added a branch to the config.xml file, so (all) the config files are
like that:
<splashy>
  <Theme>
    <name></name>
    <description></description>
  </Theme>
<!-- and after naothing changed -->
.
.
......
</splashy>

When you select a theme that display in the different fields of the
GUI the parsing result of /etc/splashy/themes/default/config.xml (if
you selected the default theme)
Then when you click the apply button, the file :
/etc/splashy/config.xml is overwritten by the
/etc/splashy/theme/default/config.xml file.

To remember the themes which are installed, i used an index file
(/etc/splashy/themes/index.txt) which contain th result of an ls
command.

You can see the source code at:
http://k0fman.t35.com/splashy-config/gsplashy/src


Voilà, it was only to be clear.

I would like to know if that are appropriate to you, if it isn't
splashy compliant show me the way.

bye. 

I join a screenshot to summarize it.

2005/8/13, Luis M <lemsx1 at gmail.com>:
> Alioth seems to be down... I'll try to talk to them in the IRC channel
> to see what's up.
> 
> I wonder why you got the assertion failed error... but, we will talk
> about this later.
> 
> On 8/12/05, Vincent Amouret <vincent.amouret at gmail.com> wrote:
> > Hello
> >
> > Thank you for your response.
> >
> > I'm OK to use themes and if you want i could help you to implement it.
> >
> > About the XML parser the errors are about "assertion failed" but it
> > isn't a problem, i can to parse the file whith another parser.
> >
> > I'll join you to #splashy when you want to discuss of that.
> >
> > I CC the devel list, too.
> >
> > About Alioth, is the server down today ?
> >
> > Good bye
> >
> >
> > 2005/8/12, Luis M <lemsx1 at gmail.com>:
> > > Ce ici est trés bien!
> > >
> > > lol
> > >
> > > I find this very good! The only thing I'll like to suggest is that
> > > instead of choosing what images to use, it should use the themes.
> > >
> > > Now, the future plans for themes is that they will be self-contained
> > > in their own directories. /etc/splashy/config.xml will be the config
> > > file and /etc/splashy/themes/default/config.xml will be the config
> > > file for the particular theme called "default".
> > >
> > > We will be incorporating code to support this soon. So, if you want to
> > > help us doing this, please let me know.
> > >
> > > Now about the XML parser, if you need help using it, let me know.
> > > Perhaps you need to do something in particular... the parser is meant
> > > to be an application on itself (see the main() code in the bottom? I
> > > used this for testing it). Let's join minds and try to get this to
> > > work.
> > >
> > > We are usually on #splashy irc.freenode.net. Please join us there so
> > > that we can discuss the details of this with the rest of the crew.
> > >
> > > I have CC the -devel list so that we can archive this conversation better ;-)
> > >
> > > I'll try to put the image you sent me in splashy.alioth.debian.org and
> > > make a link to it from the wiki.
> > >
> > > On 8/11/05, Vincent Amouret <vincent.amouret at gmail.com> wrote:
> > > > Hello
> > > >
> > > > I use Splashy on my Ubuntu and I see there isn't any configuration
> > > > tool for Splashy.
> > > > So, I began to build one for Gnome using Anjuta and Glade.
> > > >
> > > > It's a simple window with the fields we can find in the config.xml file.
> > > > That creates the config.xml file and permits to see a preview whit the commands:
> > > > - splashy boot
> > > > - splashy shutdown
> > > >
> > > > I parse the /etc/splashy/config.xml file to fill the fields at start
> > > > of the program
> > > > using the libxml parser
> > > > (i see you made a xml parser but i had some errors using it,
> > > > and i haven't search any more nor why)
> > > >
> > > > I join you a screenshot.
> > > >
> > > > If that interest you or if you  want more information (source code,
> > > > ...), send me an e-mail.
> > > >
> > > > P.S.:  Afflicted for my English, I'm French.
> > > > --
> > > > - Vincent Amouret -
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > ----)(-----
> > > Luis M
> > > System Administrator
> > > Kiskeyix.org
> > >
> > > "We think basically you watch television to turn your brain off, and
> > > you work on your computer when you want to turn your brain on" --
> > > Steve Jobs in an interview for MacWorld Magazine 2004-Feb
> > >
> > > No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html
> > >
> >
> >
> > --
> > - Vincent Amouret -
> >
> 
> 
> --
> ----)(-----
> Luis M
> System Administrator
> Kiskeyix.org
> 
> "We think basically you watch television to turn your brain off, and
> you work on your computer when you want to turn your brain on" --
> Steve Jobs in an interview for MacWorld Magazine 2004-Feb
> 
> No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html
> 


-- 
- Vincent Amouret -



More information about the Splashy-devel mailing list