How to open desktop Obsidian maximized in Linux?

What I’m trying to do

I’m brand new to Obsidian, and am using version 1.12.4 on Linux Mint. I want the program to open maximized every time on my computer, which it does not do.

Things I have tried

Of course I manually maximize the application every time I open it. But when I close it and open it next time, it only opens in a smaller window again. Is there a solution to this?

I’m running the flatpak version on Debian (KDE Plasma). I tried changing Obsidian .desktop file by adding --start-maximized without success:

Exec=... md.obsidian.Obsidian @@u %U @@ --start-maximized

Here’s what worked for me

  1. Right-click on Obsidian’s window title bar
  2. Open Special Window Settings
  3. Add 2 properties: Maximized horizontally and Maximized vertically

Note: if you’re using Gnome or another Desktop Environment, you might find a similar solution.

That’s an interesting option in KDE Plasma. No such option exists in Cinnamon in Linux Mint when right-clicking on the window title bar. As a matter of fact I believe I have discovered a bug in Obsidian (.deb file) as a result of trying this. When I right-click on the window title bar the little box that has minimize, maximize, move, resize etc gets stuck on screen and cannot be interacted with unless one closes Obsidian.

Assuming this is the Flatpak version you are talking about, set the width and height property in (what I assume to be) a randomly numbered json file located at ~.var/app/md.obsidian.Obsidian/config/obsidian. Then set the file to read-only. Obsidian should always open with those settings from then on.

There is also a method utilising devilspie that maximises Obsidian after it opens.