Code Monkey home page Code Monkey logo

zimsearch's People

Contributors

achadwick avatar dsboger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vantu5z thislight

zimsearch's Issues

Help on Debian 9

I just found out about this plugin as I switched to Gnome from Xfce a week ago.
If I can make it work, this would be one of the greatest addition to my setup so far; so I really hope you can help!
I tried installing with the two ways you described (with and without "--system" in the command), and of course, I did try logging in and out, even restarting.
In both cases,

  • I have a successful install message from terminal,
  • Gnome shell search appears in the zim plugin list, and I can enable it.
  • There is an entry "Zim Desktop Wiki" in Gnome System/Settings/Search list, it is enabled.

Unfortunately, when I click on "Activities" the search does not show any results from Zim pages.

There is one thing I am not sure of, after popping the "Activities" overview panel should I press the "Meta" key, and then my search string, or, do you refer to this "meta" key as the keyboard shortcut to switch to the overview panel?
I anyway tried disabling the keyboard shortcut so that the "meta" key does not toggle the overview panel off to see if some Zim search would show up with no success.

For information, I am on Debian 9 stable, Gnome 3.22 and Zim 0.65 installed through apt.
So I am wondering if I am missing something here, but I do not know how to debug or investigate further, I would really appreciate any help.
Thank you for your time.

Compatibilty with Zim 0.67-rc2

It seems, that Zimsearch is currently not compatible with the 0.67-rc2 version of Zim, that was released recently.

I've followed your instructions, the installation process went well, but don't received any results in the Gnome-Shell. Of course I've enabled both the Gnome-Shell search plugin and the Zim one. Restarted, but without any effect. Happens with Ubuntu Gnome 17.04.

All files seem to be on their place:

$ find /usr -iname '*zim*search*' -ls
  5773136      4 -rwxr-xr-x   1 root     root          444 Jun 15 19:38 /usr/local/bin/zim-gnomeshellsearch
  5799999      4 drwxr-sr-x   2 root     staff        4096 Jun 15 19:38 /usr/local/lib/python2.7/dist-packages/zimsearch-0.0.1.egg-info
  5773131      4 -rw-r--r--   1 root     root          180 Jun 15 19:38 /usr/local/share/gnome-shell/search-providers/zim.plugins.gnomeshellsearch.provider.ini
  5773130      4 -rw-r--r--   1 root     root          114 Jun 15 19:38 /usr/local/share/dbus-1/services/zim.plugins.gnomeshellsearch.provider.service
  5799972      4 drwxr-xr-x   5 root     root         4096 Jun 15 19:38 /usr/local/src/zimsearch
  5773124      4 -rw-r--r--   1 root     root          121 Jun 15 19:38 /usr/local/src/zimsearch/data/zim.plugins.gnomeshellsearch.provider.service.in
  5773123      4 -rw-r--r--   1 root     root          180 Jun 15 19:38 /usr/local/src/zimsearch/data/zim.plugins.gnomeshellsearch.provider.ini.in
  5773128      4 -rwxr-xr-x   1 root     root          449 Jun 15 19:38 /usr/local/src/zimsearch/zim-gnomeshellsearch

Improving ZimSearch

Hey Davi,

I had a look on the install.sh and found out, that

# plugin file
install -D -m644 gnomeshellsearch.py "${rootdir}/usr/lib/python2.7/site-packages/zim/plugins/gnomeshellsearch.py"

was the cause. After manually copying gnomeshellsearch.py to /home/sojusnik/.local/share/zim/plugins/gnomeshellsearch.py your plugin finally worked!

Would it be possible to adapt your install script in a further release, so that it will run OOTB with Ubuntu Gnome?

When using your plugin, I've realized that it takes some time for the results to show up in the Gnome Shell Overview. Do you thought about speeding this process up? ATM, it takes about 6 to 7 seconds to show up, whereas search results from nautilus and other plugins appear nearly instantly.

One way to speed this process up is to use Strg+J (go to page) instead of Strg+Shift+F (search all notes) in your plugin. I think that the delay is caused by the search process, the Strg+J results however should appear nearly instantly, because the Zim pages are already indexed, so that there shouldn't be any search delay. Additionally, the Strg+Shift+F is a little bit over the top for the Gnome Shell Overview, since you want to open a certain Zim page and not perform a search through the whole notebook.

What do you think?

Best wishes!

Improve readability

If "search all notebooks, instead of only the default" is disabled in the plugin's settings, then the notebook name in the Gnome Shell overview (marked with an "#") should be hidden. This would make the results easier to read.

Installation problems on Ubuntu

Hey,

after

cd ~/<path to extracted zimsearch-master.zip>
chmod +x autogen.sh
sh ./autogen.sh

I'm stuck, because I don't know the proper path to python on my system. Any ideas about the right path on Ubuntu Gnome 15.04?

$ whereis python
python: /usr/bin/python /usr/bin/python3.4 /usr/bin/python2.7 /usr/bin/python3.4m /usr/lib/python3.4 /usr/lib/python2.7 /etc/python /etc/python3.4 /etc/python2.7 /usr/local/lib/python3.4 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/include/python3.4m /usr/share/python /usr/share/man/man1/python.1.gz
er

Do you thought about improving the install process for not so experienced Linux users? I can imagine, that the current approach discourages a lot of people from installing this plugin.

PS: To run autogen.sh properly, the version 1.15 of automake is requiered, but Ubuntu's repositories only provide 1.14. Gladly, it's possible to install the 1.15 version from a .deb file packaged for Ubuntu 15.10.

Does not work in Gnome 3.32

This plug-in used to work perfectly in previous versions of Gnome.
Could you please be so kind and fix it?
Thanks in advance!

Transfer of dsboger/zimsearch โ†’ achadwick/zimsearch

@dsboger
Thanks for transferring ownership of this repository to me. It seems to be working correctly now, and I've inherited all the old issue reports too. I'm happy to look after your code for you, since I'm a regular user of this awesome plugin ๐Ÿ˜ƒ

You still have commit access, and I intend to keep that open.

Just some legal/attribution questions for form's sake...

  1. How do you want to continue to be attributed? Should I keep your email masked in AUTHORS and related documentation? I consider you the original author, want to keep you listed.

  2. How do you want to be attributed in code? I intend to add myself there for new commits, and assign date ranges for the โ’ธ lines based on the commit log. Hope that's OK.

  3. Is it your intent that the license is "GPLv2", or "GPLv2 or any later version"?

Search for title, not content

I really think, that it's absolutely sufficient to search only for the page title, not the content itself, like it was before. People (will) use this plugin primarily as a launcher, and not as a search tool, because Zim's search is already intuitive, fast and even shows a ranking for quick orientation.

In that case you would significantly speed up the searching process. In case of need, I also can imagine separating the results for the page titles and the content. This could be configured in zim > options > plugins > zimsearch.

So the results of the page titles would appear nearly instantly in the first section in Gnome's activities overview, and after some seconds, underneath, another section with the content results would appear. By this we would have the best of both worlds: instant title results with additional in-depth content results.

Improve loading time of results

Although I have a quite fast PC, the new approach feels very sluggish to me. It takes about 5 seconds for the results to appear. At the beginning I even thought, that this plugin doesn't work at all, because the previous versions showed the results instantly. Only by accident I saw the new results, when the Gnome-Shell stayed open a little longer than usual. IMHO, the current approach is too slow to have a practical value.

Searching only through titles and not the note's content, would certainly speed things up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.