Choose a Primary Workspace

Hello everyone!

I have several workspaces but I wanted to assign my desired workspace as my "primary" that will show upon opening the app at all times. Currently, it only opens the first workspace by default.

Is there a way to choose a primary workspace to open by default?

Thanks in advance!

    Solution
    • alvorithm 1
      VIP Warrior

      Hi there,

      You can find your workspace path form a running SiYuan instance

      1. navigate to the menu (click on the button top right labeled with your workspace name, or press Alt-\ )
      2. select the workspace
      3. click on copy path, let's say the path was /home/user/SiYuan/my workspace (this is a Linux path, you may have something different on OSX or Windows)

      Armed with this, you can use the invocation siyuan --workspace="/home/user/SiYuan/my workspace".

      Graphical launcher (GNU/Linux)

      If you want to be able to launch the two different instances, on Linux you want to have two separate and differently named .desktop files. You can start by editing the one you currently have and adding the workspace path. Then you'd make a copy and change both the name and the workspace path. The .desktop files are usually located in /usr/share/applications/ or /usr/local/share/applications/ for applications installed system-wide, or ~/.local/share/applications/ for user-specific applications (refer to, e.g. Desktop entries - ArchWiki).

      Good luck!

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • 88250

      Here are two articles from the SiYuan Chinese Community:

      Please refer to them through translation software, thank you.

      1 Reply
    • MiscReply
    • alvorithm 1
      VIP Warrior

      Hi there,

      You can find your workspace path form a running SiYuan instance

      1. navigate to the menu (click on the button top right labeled with your workspace name, or press Alt-\ )
      2. select the workspace
      3. click on copy path, let's say the path was /home/user/SiYuan/my workspace (this is a Linux path, you may have something different on OSX or Windows)

      Armed with this, you can use the invocation siyuan --workspace="/home/user/SiYuan/my workspace".

      Graphical launcher (GNU/Linux)

      If you want to be able to launch the two different instances, on Linux you want to have two separate and differently named .desktop files. You can start by editing the one you currently have and adding the workspace path. Then you'd make a copy and change both the name and the workspace path. The .desktop files are usually located in /usr/share/applications/ or /usr/local/share/applications/ for applications installed system-wide, or ~/.local/share/applications/ for user-specific applications (refer to, e.g. Desktop entries - ArchWiki).

      Good luck!

      1 Reply
    • 88250 1 Comment

      Please refer to the User Guide - General Operations - Workspace - Switch workspace

      Yes, I did check that section. However, I didn't quite understand that part where it mentioned the startup parameter. If possible, I highly recommend creating a video tutorial for this one.
      Mon
    • Mon
      Author

      How do I determine the "absolute-path-of-the-workspace", the one after the "--workspace="? Where do i look for the port number? I really wanted to get this but that's the part where I struggle the most.

      1 Reply
      1 Operate
      Mon updated this reply at 2025-03-05 18:34:24
    • Visit all replies