tnote: Simple is good

Simple is good. Simple takes up little space, simple requires very little external support, and simple implies speed. There are always exceptions here and there, but those three points — sometimes more — are usually implied.

For a console note-taker, tnote is extremely simple. It weighs all of about 19Kb when packed, untars into a space smaller than your fingernail, and when installed runs no slower than your machine can spit things out on to the screen.

“Cool,” you say, “but what’s it do?”

This is the delicate part. Without getting entangled in that whole Mono discussion, tnote basically does the same thing as Tomboy, gnote or even xpad — in the sense that it gives you something like sticky notes for the terminal.

Don’t suddenly imagine floating yellow sticky notes on your terminal screen: You won’t get that effect unless you combine tnote with something like twin, or run it in an emulator on the desktop. And even then it won’t feel quite the same.

But it’s quick to access and needs only Python to run. Trigger it with tnote, use the -a flag to add a note, -m to modify, and notes are indexed with numbers. So picking out a note and rereading it is quick and painless.

One of the best parts is that you determine the editor you want to use with tnote, so not only can I hopefully dodge the whole Mono discussion, but I can also throw sand in the eyes of the vi-emacs-nano-ed debate. :twisted: Check out the ~/.tnote/tnoterc file for more tweaks, and the help page for ideas.

I’ve mentioned a lot of other “note-taking” applications in the past — things like hnb, or even vimwiki — and I still keep those on hand because of the particular way they arrange notes, whether it’s in a hierarchical style, or in a wiki fashion.

But for a flat, direct, and easy way to jot down a memo or paste in a string of text, tnote is probably the quickest and simplest one I’ve found. And simple is good. :D

About these ads

13 Responses to “tnote: Simple is good”

  1. 1 G 2009/11/10 at 10:21 AM

    I’ve been playing around with it for a bit. Great app, thanks for suggesting!

  2. 2 Jarek 2009/11/10 at 12:41 PM

    Whats wrong with old fashioned flat text files? if the notes are all separate with no links to each other, wouldn’t it actually be harder to use numerically indexed notes than just text files? Maybe I misunderstand this app (haven’t actually installed it) but it seems like
    vim notes/todo.txt
    is better than
    tnotes -m todo

    (except for vim. REAL programmers use a magnetized needle and a steady hand)

    • 3 K.Mandla 2009/11/10 at 5:25 PM

      To each his own of course, but take a look and see if it appeals. I like that I don’t have to cue vim any time I want to read a note, or edit it for that matter. And if you assign aliases for the modify or add functions, you might make it a little more intuitive.

      No harm done if you don’t care for it. I find it useful in that it will also show a brief summary of all the notes you’ve made thus far, which might be a trick with straight vim.

      Then again if you want to link pages, you might look at vimwiki, if you haven’t already. :)

      • 4 Rickard 2009/11/10 at 7:07 PM

        For a while I’ve used: alias todo=’nano ~/documents/todo-list’ to handle all the notes. Perhaps it’s a little to simple, but it get the work done.

        Although it would not be lot of trouble to write a little script to handle arguments like -a to add -v to view and -r to remove.
        I think this could be a great way for you to start learning bash. =)

  3. 5 IceBrain 2009/11/10 at 9:01 PM


    alias tadd='echo $* >> ~/todofile'

    Then you can just do “tadd my note text” to add a new note. For removing, sed is your friend:

    alias trem='sed -i -v "$*" ~/todofile'

    Then you just have to give some identifiable word or substring (read: only present in that note) to remove the note.

  4. 6 n2j3 2009/11/10 at 9:56 PM

    I’ve been using taskwarrior for a couple of weeks now and although not as small (it’s around a megabyte) it’s still as simple and definitely more versatile than tnote (it even supports GTD stuff if you’re so inclined). oh i almost forgot; it supports colours for different event priorities/tags !
    get it here:

  5. 8 IceBrain 2009/11/11 at 6:33 AM

    Another simple app is Todo.txt:

    It’s only a simple bash script which uses common utilities (grep, sed, wc) to manage a simple todo in a text file.

  6. 9 Ali Gündüz 2009/11/11 at 12:02 PM

    I’ve put together a quick AUR package for tnote:

    (Not that the manual installation is much complicated.)

  7. 10 pescobar 2009/11/20 at 8:03 AM

    simple note function inside my .bashrc

    nn() {
        local NOTE_FILE=$HOME/.notes
        #if file doesn't exist, create it
        [[ -f $NOTE_FILE ]] || touch $NOTE_FILE
        #no arguments, print file
        if [[ $# == 0 ]]; then
           cat -n $NOTE_FILE | less
        #clear file
        elif [[ $1 == "-c" ]]; then
            > $NOTE_FILE
            #   for i in ; do
            #   sed -i -e "$i d" $NOTE_FILE
            #   done
        #edit file
        elif [[ $1 == "-e" ]]; then
            vim $NOTE_FILE
        elif [[ $1 == "-s" ]]; then
            tail -"$2" $NOTE_FILE
        elif [[ $1 == "-h" || $1 == "--help" ]]; then
            printf "Make quick notes\nUsage:   nn [options|note]\n\t\t show notes from ${NOTE_FILE}\n\t-c\t clear ${NOTE_FILE}\n\t-e\t edit ${NOTE_FILE}\n\t-s  show last  lines\n"
        #add all arguments to file
            echo ">> $@" >> $NOTE_FILE

  1. 1 Links 10/11/2009: Mandriva Tops Distrowatch, Oracle/Sun Blocked | Boycott Novell Trackback on 2009/11/10 at 9:50 PM
  2. 2 Vimwiki lag « Motho ke motho ka botho Trackback on 2009/11/17 at 10:05 PM
  3. 3 Task managers for the console « Motho ke motho ka botho Trackback on 2010/01/02 at 12:02 PM

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,958,391 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: