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 ...
    • Mon 1 2 Comment
      Author

      It worked when I added the double quotations marks enclosing the path, which is not mentioned in the user guide, hence the roadblock. To the devs, please I highly suggest adding some screenshots or a short video/gif in the user guide as I find it a bit lacking on the details.

      Thank you @alvorithm for your detailed instructions albeit in linux. Really appreciate it! 😊

      image.png

      It is understandable - at least in Linux, the path would work unquoted if it does not contain any spaces. It seems safer to always quote, especially in the documentation, what do you think @88250?
      alvorithm 1
      @alvorithm Thanks for pointing this out, will update the user guide later :)
      88250
    • MiscReply
    • 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
    • 88250

      Here are two articles from the SiYuan Chinese Community:

      Please refer to them through translation software, thank you.

      1 Reply
    • 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
    • Visit all replies