IssueRaiser

[Feature Request] run multiple instances of Joplin

## Applications - Desktop - Mobile - Terminal ## Summary: Scope instance to the profile, so multiple apps could run, each with different profiles. ## Specification Having the same app supports or load multiple profiles cannot be done without a massive refactoring, so it's unlikely to happen. Instead what we can do is provide a way to switch profiles from the app: - The user clicks on a menu and select change profile - The list of available profiles is displayed - User selects on of the profile - The app closes and re-open and load the selected profile ### Changing the structure of the profile directory Currently, the profile is organised like this: * ~/.config/joplin-desktop/ * resources/ * database.sqlite If we want to support multiple profiles, the config directory should be changed like so (in a way similar to Firefox or Thunderbird multi-profile support): * ~/.config/joplin-desktop/ * PROFILE_ID_1/ * PROFILE_ID_2/ * etc. * profiles.ini The PROFILE_ID_x directories will be named with a UUID and contain the same profile as above with the "resources" and "database.sqlite" file. `profile.ini` will tell what profiles are available. It's content will be like this (same as Firefox): ```ini [Profile1] Name=Personal IsRelative=1 Path=cdb4ar19.Personal [Profile0] Name=default IsRelative=1 Path=Profiles/ts6eud8o.default Default=1 [Profile2] Name=Work IsRelative=1 Path=Profiles/ts9akd8o.work [General] StartWithLastProfile=1 Version=1 ``` ### Swiching profiles

Posted by tessus on Jun 6, 2018, 2:45 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

support (SaaS)

[Feature Request] run multiple instances of Joplin

tessusJun 6, 2018, 2:45 PM

## Applications - Desktop - Mobile - Terminal ## Summary: Scope instance to the profile, so multiple apps could run, each with different profiles. ## Specification Having the same app supports or load multiple profiles cannot be done without a massive refactoring, so it's unlikely to happen. Instead what we can do is provide a way to switch profiles from the app: - The user clicks on a menu and select change profile - The list of available profiles is displayed - User selects on of the profile - The app closes and re-open and load the selected profile ### Changing the structure of the profile directory Currently, the profile is organised like this: * ~/.config/joplin-desktop/ * resources/ * database.sqlite If we want to support multiple profiles, the config directory should be changed like so (in a way similar to Firefox or Thunderbird multi-profile support): * ~/.config/joplin-desktop/ * PROFILE_ID_1/ * PROFILE_ID_2/ * etc. * profiles.ini The PROFILE_ID_x directories will be named with a UUID and contain the same profile as above with the "resources" and "database.sqlite" file. `profile.ini` will tell what profiles are available. It's content will be like this (same as Firefox): ```ini [Profile1] Name=Personal IsRelative=1 Path=cdb4ar19.Personal [Profile0] Name=default IsRelative=1 Path=Profiles/ts6eud8o.default Default=1 [Profile2] Name=Work IsRelative=1 Path=Profiles/ts9akd8o.work [General] StartWithLastProfile=1 Version=1 ``` ### Swiching profiles

Comments (0)

No comments yet. Start the discussion.

Comment on this issue