Git Product home page Git Product logo

Comments (6)

ironhak avatar ironhak commented on July 3, 2024 1

Thank's for your kind availability to answer my questions. Will let you know!

from pter.

vonshednob avatar vonshednob commented on July 3, 2024

With pter you can attach notes to tasks, i.e more complex files with additional information.

To do that you would add a note:extra_file.txt to the task.

However, you have to tell pter where you want your notes stored! To do that, either create a configuration file (by default expected in $HOME/.config/pter/pter.conf) with this content:

    [Genera]
    notes = path/to/your/notes

You may also provide multiple paths to notes, like this:

    [General]
    notes =
        first/path/to/notes/
        other/notes/location

You can find more information about this in the help on notes or here, about the configuration file.

Hope this helps!

from pter.

ironhak avatar ironhak commented on July 3, 2024

Sorry but how do I open/see content of a note?

from pter.

vonshednob avatar vonshednob commented on July 3, 2024

I mean, usually you'd use your editor, i.e. whatever you have set up in the environment variables $EDITOR or $VISUAL to open the note for editing. You can also use the configuration option in [General] called editor to set the editor of your choice. If none of these are set, pter will try to use the editor nano.

If you however just want to view a note, you'll have to be a bit patient. With issue #42 fixed, the next version of pter will have a separate command to view notes, too.

Not sure I was actually able to answer your question…

from pter.

ironhak avatar ironhak commented on July 3, 2024

I mean, usually you'd use your editor, i.e. whatever you have set up in the environment variables $EDITOR or $VISUAL to open the note for editing. You can also use the configuration option in [General] called editor to set the editor of your choice. If none of these are set, pter will try to use the editor nano.

If you however just want to view a note, you'll have to be a bit patient. With issue #42 fixed, the next version of pter will have a separate command to view notes, too.

Not sure I was actually able to answer your question…

Hello, thank's! I mean, if I attached like a png image as a note, how could I view it?

from pter.

vonshednob avatar vonshednob commented on July 3, 2024

Oh! That's interesting, I had never consideren having just a picture as a note. I'm using markdown files as the notes; these might have pictures then.

My immediate reaction would be to set up xdg-open (or rifle, if you use ranger) as the note editor and then set up programs that you want the respective files to be opened in.
With the next version of pter, I'd probably use a separate script pter_note_editor.sh that does the file type based dispatching of edit actions, and use xdg-open as the note viewer.

Let me know how you solve this, it's an interesting use case!

from pter.

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.