GithubHelp home page GithubHelp logo

Comments (9)

blackhole89 avatar blackhole89 commented on May 24, 2024

That's definitively planned. I just need to figure out where to store the config.json file. Ideally, this file would store the location of the root folder, but it's currently inside the root folder.

In the meantime, you can add other locations as subfolders by putting a symlink to them into ./notesbase: e.g. ln -s ~/mynotes mynotes.

from notekit.

freemin7 avatar freemin7 commented on May 24, 2024

This feature could be emulated with simlinks as you said but it would be an ugly work around if it worked. I did a

ln -s ~ home 

and the link works in the file explorer but not in notekit. The same problem happens for folders which do not contain notebase too.

Another thought: Maybe you want multiple config.json for different work space?

from notekit.

blackhole89 avatar blackhole89 commented on May 24, 2024

How exactly does the not working in notekit manifest itself? I just checked, and symlinks below notesbase/ seem to work without a hitch on my end.

from notekit.

freemin7 avatar freemin7 commented on May 24, 2024

Well the symlinks are not detected in notekit but work with other programs.
Video here: https://cloud.tu-ilmenau.de/s/EqSPGwdREW3tSnx

from notekit.

blackhole89 avatar blackhole89 commented on May 24, 2024

Doing more or less the same thing makes the symlink work as a normal folder on my end. I wonder why. Would you be willing to try running a custom build with some additional debug output to see what exactly is happening in the enumeration?

from notekit.

freemin7 avatar freemin7 commented on May 24, 2024

Yes

from notekit.

blackhole89 avatar blackhole89 commented on May 24, 2024

Thanks! Could you paste me the console output from the binary
notekit-debug-folder-contents.tar.gz (run in the root folder of the binary distribution), when notesbase contains a valid symlink to a folder? (This should simply dump all files that it sees together with the numeric type that Gio reports for them, which would tell me whether it fails to treat symlinked folders as folders.)

from notekit.

freemin7 avatar freemin7 commented on May 24, 2024

It works with this binary
https://cloud.tu-ilmenau.de/s/75aStt6MySPNzQm

from notekit.

blackhole89 avatar blackhole89 commented on May 24, 2024

Well, huh. I guess I know what the problem is, then. I also had the relevant call to enumerate_children explicitly pass FILE_QUERY_INFO_NONE in the copy I sent you as a random experiment (which is supposed to be the default value according to the documentation), and it turns out that your copy of glibmm does not actually treat it as the default value. I'll commit the fix into the mainline repo; in the meantime, if you're not bothered by the additional console output, you can keep using the above binary.

from notekit.

Related Issues (20)

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.