TiddlyDesktop -- Portability Difficulties

197 views
Skip to first unread message

@TiddlyTweeter

unread,
Apr 2, 2018, 6:09:53 AM4/2/18
to TiddlyWiki
I would like to be able to configure TiddlyDesktop to be portable.

By "portability" I mean here both being able to get the settings into a subdirectory of the app. (achieved) AND the wikis addressed using RELATIVE addressing (failed).

I tried several ways to do that modifying files in "user-config-tiddlywiki" with relative paths. None worked.

Is there a way to do this?

Best wishes
Josiah

Robin

unread,
Apr 30, 2018, 6:51:17 PM4/30/18
to TiddlyWiki
Don't know if u are using windows, but if u do it doesn't support relative paths

2 ways to get around that are
  • Give your USB a dedicated drive name like Q or Z
  • Use a .bat file to reference to that file

@echo off
start
"" "%~dp0\\ProgramFolder\program.exe"




Op maandag 2 april 2018 12:09:53 UTC+2 schreef @TiddlyTweeter:

@TiddlyTweeter

unread,
May 1, 2018, 7:47:00 AM5/1/18
to TiddlyWiki
Ciao Robin

Unfortunately, though it would make a USB install work on ONE machine it would not be portable. For two reasons...

1 - The settings would get written to a user settings directory that is not portable on the main drive (it IS possible to enforce a sub-dir for settings but the settings it holds aren't themselves portable)

2 - The paths of the wikis (as far as I tested) would be absolute. In other words if you unplugged that USB & plugged it into another computer, even with a fixed drive letter with all the TWikis on it, it would not work. It could work IF you ONLY wanted to run from the USB assigned to a drive letter AND you enforced settings writing to a sub-dir of the app.

Too complicated for easy portability I think.

@TiddlyTweeter

BurningTreeC

unread,
May 1, 2018, 8:03:28 AM5/1/18
to TiddlyWiki
Hi @TiddlyTweeter 

So the goal would be to have everything on that USB stick - wikies, tiddlydesktop, user settings ... and nothing on the laptop/pc/whatever?

Because that sounds great and I'd like to try my best to make such an install possible

@TiddlyTweeter

unread,
May 1, 2018, 8:21:46 AM5/1/18
to TiddlyWiki
Ciao BurningTreeC wrote:
So the goal would be to have everything on that USB stick - wikies, tiddlydesktop, user settings ... and nothing on the laptop/pc/whatever?

No. Not exactly.

The aim would be a PROPERLY PORTABLE install (on main PC OR stick). [I think THAT is what you meant, actually?] Meaning that the structure set could be moved between hard disk, USB & a new system and it would work without any modification exactly the same.

You can only do that if all addressing is relative. At the moment it won't work.

As far as I understand it, currently TiddlyDesktop will accept settings via a relatively addressed (to the app) config file, but the addresses it holds are absolute.

J, x

Robin

unread,
May 1, 2018, 8:38:17 AM5/1/18
to TiddlyWiki
Try this one I tested it (not on second pc yet but cofident)

Install portable apps on your USB
Add chrome portable 
(chrome portable only would probably work too didnt test it)
Set your chrome download folder on that same USB
Follow these instructions for the chrome plugin https://github.com/buggyj/savetiddlers
remember the folder (tiddlywikilocations) goes in the new download location

Start using

Only thing to remember is not to disable the extension

Robin

unread,
May 1, 2018, 8:52:27 AM5/1/18
to TiddlyWiki
I forgot 1 thing.

You can (if using portable apps) use touchan to auto sync a specific folder to your PC
Gives a nice backup system for your tiddlywiki files
Message has been deleted

@TiddlyTweeter

unread,
May 1, 2018, 10:44:42 AM5/1/18
to TiddlyWiki
Ciao Robin

EEK I posted to email/group a nonsense post :-)

But, my point remains, are you talking specifically about TiddlyDesktop (the application = https://tiddlywiki.com/#TiddlyDesktop)?

Best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages