Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Get Tomboy Notes into Conky

  1. #31
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Get Tomboy Notes into Conky

    It shouldn't be hard because php has a function that can execute shell functions like the ones used in the my scripts.

    If you are look for a wiki you can try zim wiki.

  2. #32
    Join Date
    Feb 2008
    Beans
    100

    Re: Get Tomboy Notes into Conky

    thanks actually I just left mediawiki and started using tomboy, in fact I am desperatly trying to get the content out of my old mediawiki that i stupidly didnt export. Zim seems like tomboy with a few extra features like tree organization of notes and formulaes. Tomboy works fine for me. But neither of them from what I can tell have the ability to host your notebooks through a webserver, which is what I am looking for. Basicly I want read/write access to my tomboy notes from anywhere on the internet. But I dont want anything as bulky and complicated as mediawiki. I want the simplicity of tomboy brought into an online wiki interface.

    It surprises me that no one has written a script to host your tomboy files directly as an online wiki. Even the makers of tomboy, it seems like such an obvious way to improve the software. They currently have webdav and ways to synchronize files. But IMO synchronizing is a pain and doesnt really work well in two directions. Plus theres just no need to keep two copies of the files if tomboy is on the same machine as your webserver.

    Maybe I am just a small demographic, being someone with my own domain and webserver.

    Anyway I didnt mean to threadjack, I just thought you might know something about it.

  3. #33
    Join Date
    May 2009
    Location
    Sri Lanka
    Beans
    82
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Get Tomboy Notes into Conky

    hello this tutorial seems interesting but when i made the python script and ran it i would get and error saying
    Code:
    python exporttom.py
    Traceback (most recent call last):
      File "exporttom.py", line 17, in <module>
        file.write(note)  # write the file
    UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 6: ordinal not in range(128)
    and this is my python script
    Code:
    #!/usr/bin/env python
    import sys, dbus, gobject, dbus.glib
    
    #Varibale you need to assign values to
    noteName = "Tasks"  #enter the name of your tomboy note
    exportFileName = '/home/kmaster/Documents/tasks.txt' # the export file
    
    #Read the tomboy note
    bus = dbus.SessionBus()
    obj = bus.get_object("org.gnome.Tomboy", "/org/gnome/Tomboy/RemoteControl")
    tomboy = dbus.Interface(obj, "org.gnome.Tomboy.RemoteControl")
    
    note = tomboy.GetNoteContents(tomboy.FindNote(noteName))
    
    #export the note
    file = open(exportFileName, 'w')
    file.write(note)  # write the file
    file.close() # close it
    windows crumbles under the power of the almighty linux the penguin

  4. #34
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Get Tomboy Notes into Conky

    what sort encoding (UTF, ASCII) is your text file using?

    more info
    http://www.pyzine.com/Issue008/Secti...Encodings.html

  5. #35
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Re: Get Tomboy Notes into Conky

    The unicode error is from using a bulletpoint in Tomboy
    The easiest solution is to not use them!

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •