a brand new volume manager

daniele favara danjele at gmail.com
Wed Jan 18 20:09:41 UTC 2006


On 1/18/06, Erik Harrison <erikharrison at xfce.org> wrote:
> On 1/18/06, daniele favara <danjele at gmail.com> wrote:
> > i'm sorry .... this web frontend doesn't reply automatically to CC
> >
> > ---------- Forwarded message ----------
> > From: daniele favara <danjele at gmail.com>
> > Date: Jan 18, 2006 2:05 PM
> > Subject: Re: a brand new volume manager
> > To: Jani Monoses <jani.monoses at gmail.com>
> >
> >
> > On 1/18/06, Jani Monoses <jani.monoses at gmail.com> wrote:
> > >
> > > >
> > > > if someyone would port it to c np, but i'm focusing on python ...
> > > > that's what i like to use at the moment and mainly it's really a long
> > > > time i don't use c. From what i see it's fast as ivman even if it has
> > > > more features.
> > > >
> > > > Why is it better for users to have it in C?
> > > >
> > >
> > > memory footprint reasons,  nothing else.
> > > And is XML really needed? A simple INI file like syntax would be better
> > > IMHO,
> > > unless you use a tree structured or otrherwise complicated config file
> > > format
> > > This is what I don't like about ivman either, a full page of brackets and
> > > tags
> > > to convey something which can simply be written (and more importantly read
> > > by a human) as key = value lines.
> > >
> > yes i get what you mean, but libxml2 are really cool and useful ...
> > mainly if you want to add a gui to configure you app :).
>
> You could consider looking at the Python bindings for Xfce (currently
> in Xfce SVN). They should be released for Xfce 4.4
>
> The Xfce bindings provide access to a really slick config system.
> It'll automatically determine the correct location for the config
> files (based on the XDG standard), and contains a config file parser
> that allows you to treat the config file as a set of typed key value
> pairs.


do you mean for the GUI or what ?

xml is useful for rules ...

<if key=  ...... then
  <if key=  ....... then
</if>
</if>
well maybe i've misunderstood something ...

df


> >
> > If you see i used same tags as hal and dbus rules, that was my guideline.
> >
> > The rules.xml files let me to translate it in if conditions within the code.
> >
> > It seems xml files for such stuff is a standard "de facto" :).
> >
> > i know even to promote that in main  could be hard, and to add such
> > improvement in ivman is better. I don't expect my volume manager will
> > be used in xubuntu for dapper .. but i think it's really powerful, and
> > with an app that could add desktop icons or a simple applet it could
> > improve the xfce usability (accessibilty too) very much.
> >
> > --
> > xubuntu-devel mailing list
> > xubuntu-devel at lists.ubuntu.com
> > http://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
> >
>
>
> --
> Erik
>
> "If Beethoven had been killed in a plane crash at the age of 22, it
> would have changed the history of music... and of aviation."
>




More information about the xubuntu-devel mailing list