← Back to team overview

zim-wiki team mailing list archive

Re: New Plugin: BookmarksBar


That did it, thank you for the help and the plugin!

I have a few notes.

* As expected, 0.60 did not work, I had to use the PPA 0.63 on Linux
Mint 17.

* My work machine does not display the Toolbar, so I installed the
plugin, restarted, checked "Edit > Prefs > Plugins > BookmarksBar"
and...nothing happened.  I had to turn on my toolbar so I could then
turn on the bookmarks bar.  That's already pretty clear in the docs, I
mention it only because it took me a moment to figure out why it "didn't
work" after I enabled it.

* This is awesome!  It is something I've been faking by using "View >
Pathbar > Recent pages" but obviously that is dynamic.  What I really
wanted was...this!  I've been meaning to get around to asking for it...

* +1 for an *option* to display only the page name without the full path
(like "View > Pathbar > Recent pages" does).

Jaap, PLEASE consider making this an official (perhaps core?) plugin!
At the very least, Pl, please consider moving it in to
https://github.com/jaap-karssenberg/zim-wiki/wiki so more folks can find it.

Meanwhile, for the record, here is what I did to get the Bookmark plugin
to work on Linux Mint 17:
$ sudo add-apt-repository ppa:jaap.karssenberg/zim
$ sudo aptitude update
$ sudo aptitude install zim
$ wget
$ wget
$ wget
$ [ -d /usr/share/zim/plugins ] || sudo mkdir /usr/share/zim/plugins
$ sudo mv -v bookmarksbar.py  /usr/share/zim/plugins
$ sudo mv -v add-bookmark.png /usr/share/zim/pixmaps
$ sudo mv -v BookmarksBar.txt /usr/share/zim/manual/Plugins/

Thanks again to Pl, and as always to Jaap.

On 09/05/2015 04:27 AM, Pl wrote:
> As far as Zim 0.60 is concerned I didn't tried it but as I know it uses
> different API for plugins so it is unlikely that you can launch the
> plugin in 0.60.
> In case of Linux Mint you should use another directory for plugin and
> icon: '/usr/share/zim/plugins' and '/usr/share/zim/pixmaps' (and there
> is no need to change line-endings in the plugin file).
> So I tried to launch the plugin on Linux Mint 17 (Zim 0.63 from ppa) and
> it worked.
> By the way, there is a new version available. 
> Regards, Pl
> 2015-09-05 9:21 GMT+04:00 JP Vossen <jp@xxxxxxxxxxxxx
> <mailto:jp@xxxxxxxxxxxxx>>:
>     I can't get this working on Linux Mint 17 using either Zim 0.60 (stock)
>     or 0.63 (from PPA).
>     /usr/share/pyshared/zim/plugins$ ll
>     ...
>     -rw-r--r-- 1 root root 4.3K Jun 14 15:17 backlinkpane.py
>     drwxr-xr-x 2 root root 4.0K Sep  5 00:51 base/
>     -rw-r--r-- 1 root root 8.9K Sep  2 10:22 bookmarksbar.py
>     -rw-r--r-- 1 root root  16K Jun 14 15:17 calendar.py
>     ...
>     /usr/share/zim/pixmaps$ ll
>     total 48K
>     -rw-r--r-- 1 root root 1.6K Sep  2 10:22 add-bookmark.png
>     -rw-r--r-- 1 root root  978 Jun 14 15:17 attachment.png
>     -rw-r--r-- 1 root root  648 Jun 14 15:17 calendar.png
>     ...
>     I see nothing using in `zim -V` or `zim -D` output.  I do not see the
>     plugin in "Zim > Edit > Preferences > Plugins" nor do I see any changes
>     to the toolbar.
>     I did notice that the "bookmarksbar.py" file I downloaded had CRLF
>     line-endings and I know that makes Perl barf, so I converted the file to
>     LF only, but no change.
>     Clues?

JP Vossen, CISSP            |:::======|      http://bashcookbook.com/
My Account, My Opinions     |=========|      http://www.jpsdomain.org/
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.