Feature Request: Using portable or relative path to todo.txt and using file...
The Freeplane add-on that syncs a GTD mind map with a todo.txt file
Status: Beta
Brought to you by:
haaihenkie
Proposal
1. Relative path
../etc/MINE/ (Prefered)
2. Portable path
file:///X:/etc/MINE/
Automatic remove ":" on non-Windows
Automatic add ":" on Windows and convert "/" to "\"
Hi Evereasy,
I had a similar problem and I solved it by adding a small piece of Groovy code in the GTD mind map. I will write a short wiki page about it,so you can try of it works in your situation.
Cheers,
Henk
Hi Evereasy,
I have made a description of [Using a GTD mind map on multiple systems]. Can you check if this works for you and let me know? You could specify your linux path to the todo.txt file as your default path.
Could you also make some screen shots on adding the environment variable under Windows and attach them to the Wiki page? I do not have an English version of Windows.
Thanks in advance!
Henk
Related
Wiki: Using a GTD mind map on multiple systems
Hi Henk,
Added to my GTD/todo.txt list.
Evereasy
Hi Henk,
Thank you for providing the solution -
https://sourceforge.net/p/gtdsync/wiki/Using%20a%20GTD%20mind%20map%20on%20multiple%20systems/
It works very well!
With additional information from -
http://www.mkyong.com/java/how-to-detect-os-in-java-systemgetpropertyosname/
I use the following to test "GTD Sync with todo.txt" on Windows 7 and Linux -
= ((System.getProperty("os.name").toLowerCase().indexOf("win")>=0) ? "X:\tmp\": "/X/tmp/")
Now, I can mark this task "Done!" :-)
The attached files are:
TestDriveGTDSync.mm - Test file
os.name-Windows.png - Screen shot on Windows 7
os.name-Linux.png - Screen shot on Ubuntu 14.04LTS
If you need more screen shots, please don't hesitate to let me know.
BTW. I have used git to clone the project. I can use git to upload files to repository if needed.
Evereasy
Related
Tickets:
#17Hi Evereasy,
Nice solution! Could you edit the page [Using a GTD mind map on multiple systems] and add this?
I assume you work on an English Windows system. If so, could you add screenshots to steps 2, 4 and 6 of wiki page [Using a GTD mind map on multiple systems]? Thanks in advance.
With regard to git, I do not understand what you would like to upload in this case. In general, if you would like to cooperate in developing GTD Sync, you should make a fork first and clone that to your local repository. See Workflow for contributing to an open source project for an general idea and How to Co-work with Git on SourceForge and Github for some specific instructions with regard to Sourceforge.
Cheers,
Henk
Related
Wiki: Using a GTD mind map on multiple systems
Hi Henk,
Sure I will update the wiki page later this week.
Evereasy
Relative path will be supported by user story [#28] which is planned to be released with v0.7.8.
Related
Tickets: #28
Last edit: Henk van den Akker 2017-05-25