Nice workaround. I will probably use the same for PC (with OneDrive) and use Obsidian Sync for mobile/tablets. For the latter, I also use FolderSync to sync once the config folder to mobile so I don’t have to start the config from scratch.

And I created a feature request as I do think that syncing some aspects of one’s configuration would be useful!

1 Like

Awesome, yeah I like your feature request, that’d be really useful

Interesting. But how can you disable sync on 1 machine? Isn’t that setting stored in the .Obsidian folder?

1 Like

You are actually right. It’s not necessarily a great solution yet, since when I’m in computer 2 I have to manually pause obsidian sync every-time. And only have it running in computer 1.

But you are right Dropbox also syncs the settings in .obsidian

I just found a solution which seems to work (on macOS); deeper testing required:

  1. Move .obsidian-folder to desired Cloud Service for syncing.
  2. Create a symbolic link to that folder on both machines
  3. Remove .obsidian-folder from synced vault. on both machines
  4. Move the created symlink into vault folder on both machines

Done. Settings, CSS and Plugins sync via cloud service of your choice (in my case, iCloud Drive). Obsidian uses the .obsidian-symlink for reading these settings. All your notes and files are stored in your vault folder and being synced via obsidian sync.

Of course, this does not work for mobile (iOS).

1 Like

Hey @david.lohner that’s really interesting. I think you are on to something!


I was just a bit confused by the term you used .obsidian-folder do you mean the folder that contains the obsidian notes (aka the Obsidian vault) or do you mean just the .obsidian folder?

This seems to be a genius idea, if I get a better understanding of it I can test it on Linux to see if it works.


If it’s not too much trouble a couple of screenshots would be amazing to understand the process a bit better

Thanks a lot!

Yep, I meant the .obsidian folder (this hyphen-thing is usual in german…)

I used this macOS Service for creating the symlink easily: GitHub - nickzman/symboliclinker: A contextual menu plugin & service for Mac OS X that allows users to make symbolic links in the Finder

So in my vault, the .obsidian folder is a symlink pointing to another folder on my iCloud drive containing all necessary data for obsidian. Since Obsidian Sync does not sync the .obsidan folder but all other files in my vault, there is no trouble.

I hope this helps.

2 Likes

Hey @david.lohner thank you so much for the epic screenshot. That made it perfectly clear. I think this is a genius idea and I’ll definitely be testing it!

Thanks for sharing this great approach, until Obsidian sync can easily sync the .obsidian folder without issues.

Truly appreciate it!

1 Like

Very interesting. I think sync.json is identical between PCs in this case. I don’t know well how Obsidian sync works, but doesn’t it matter?

Uh, I may have run into a problem: Obsidian synchronises all settings; so also the name of the respective device via this symlink. For some time now, I’ve noticed that notes are almost always duplicated (i.e. the same content is twice in one note) - which is quite annoying.

I might test disabling this symlink-workaround and go into further testing…

It might be nice if sync.json was instead named sync-DEVICE.json, since it is currently device specific. That way the UI could give you the option to ‘import’ settings from another device. The current solution forces you to exclude sync.json if you use other syncing services.

3 Likes

that’s a great idea. the sync.json file tends to have a conflicted copy all the time when used with Dropbox

Or conversely, rework the internal data structure of sync.json to segment by device.

Hello guys, how are you? I found this discussion here and I’m wondering if you can help me, since I use some similar solutions, but with some specifics.

I’m using Elementary Os and its native sync system, Vgriver. I put my box directly on my drive, via Vgriver. However, I noticed that some notes are now appearing the way they appear in the image. Accessing the notes through the drive through the browser, I believe they are correct (now I don’t remember what my last edition was on them, but it seems to be ok).

However, I can’t access them through Obsidian. What I am using as an alternative was to access them through a markdown extension available through docs, directly through the browser, while I need to access them. I couldn’t say if the issue is with O Obsidian or if with Vgriver.

[image]

That’s a client for Google Drive. Are you also using Obsidian Sync?

I’m not using Obsidian sync, but I save obsidian folders directly in vgriver, which would be the corresponding google desktop drive for elementary os

Does VGrive have some kind of ‘download files on demand’ setting? If so, try turning that off.

I believe it doesn’t have… that’s all I can access from settings. I’m looking for some other cloud solution in this regard, while I can’t get out of the gmail drive. Sad.

Honestly, Dropbox is the best in my experience. You might try contacting the author of VGrive to see if they have any ideas.

1 Like

I believe!
I am using it for now because it is the college drive and there I have unlimited space without paying, so it has been an alternative for me at the moment, which is a little complicated in relation to money. But I will carefully research the dropbox, because from what I saw in the plans, it is even more interesting! In addition and have better integration with Linux. Thanks for your attention!