settings-profiles-obsidian-plugin icon indicating copy to clipboard operation
settings-profiles-obsidian-plugin copied to clipboard

[FEAT]: Launch Obsidian with Profile from URI?

Open mattsigal opened this issue 3 months ago • 1 comments

Description of the unfavorable solution

I trying to set up device specific profiles by creating profiles on my various machines and then launching Obsidian using a machine-specific URI shortcut. I was really hoping that this would work:

obsidian://advanced-uri?vault=TheNetwork&pluginid=settings-profiles&action=loadProfile&profilename=Home

The parameters are being passed on launch, but the profile is not being loaded (I'm assuming because Obsidian isn't be relaunched with the profile request):

Image

Is there any way to get this to work?

Describe the feature you would like to have

I would love it if Obsidian launched directly into the chosen profile using the shortcut.

Additional context

I've also tried setting this via Commander plug-in, but that can only see the main "choose a profile" modal, not the one that actually has the profiles listed.

mattsigal avatar Oct 10 '25 23:10 mattsigal

How did you came up with this method I am not aware it is possible to do something like that?

In addition if you are using the same vault on different devices this would cause problems at the moment see #37

I've also tried setting this via Commander plug-in, but that can only see the main "choose a profile" modal, not the one that actually has the profiles listed.

I'm not sure which modals you mean.

4Source avatar Oct 11 '25 09:10 4Source