← Back to team overview

zim-wiki team mailing list archive

Re: Disabling/Enabling plugins per Notebook

 

On Fri, Mar 9, 2012 at 10:49 AM, Jaap Karssenberg
<jaap.karssenberg@xxxxxxxxx> wrote:
> I would suggest a separate file in ~/.config/zim. E.g.
> ~/config/zim/profiles/myprofile.conf . That way a profile can be
> shared by multiple notebooks. This was my original intention for
> profiles.
>

Hi,

I just pushed my branch to Launchpad:
https://code.launchpad.net/~chaghi/zim/zim-profiles

I'd like to do a little bit more testing, but all the bits and pieces
are there, and it's working.

There are 2 "formats" tests failing, but they are failing for me also in trunk.

I added a "profile" setting to notebooks to store the profile name,
but there's no UI for manipulating that atm, so it must be configured
by hand in the notebook.zim file.

Example:
[Notebook]
name=Notes
version=0.4
endofline=unix
profile=foo

... will store the preferences in XDG_CONFIG_HOME/zim/profiles/foo.conf

Any feedback would be much appreciated! It's been a long time since
the last time I used Python for anything more serious than ad-hoc
scripts ;-)


--
Mariano


Follow ups

References