Obsidian on Ubuntu no longer opens maximized (including new vault windows)

What I’m trying to do

Whenever I open new Obsidian window (regardless if it’s from launchbox or opening new vault from Obsidian app), I want the window to be fully maximized.

Things I have tried

  1. Open Obsidian.
  2. Maximize the window.
  3. Close Obsidian.
  4. Open Obsidian.
  5. The window is not fully maximized again and I need to maximize again.

Also, I have edited obsidian.json configs under ~/snap/obsidian/*/.config/obsidian/ and set "maximized": true, but it didn’t work.

Also, I have tried external window managers (wmctrl, devilspie2). They were inconsistent, and they don’t catch new vault windows.

Context

Operating system: Ubuntu 22.04.5 LTS

In the past, it was opening normally - as fully maximized. But since some time ago, it started to open as not fully maximized.

1 Like

I want to clarify that they weren’t inconsistent - they didn’t work at all. I used wrong words.

Same for me on KUbuntu 24.04 and Plasma.

I resolved this using Smart-Auto move extension on Ubuntu that auto maximizes window.

If anyone wants to use it too, ask some AI model to guide you through how to install it and use it to automatically maximize the Obsidian window.

I fixed it like this I’m on Linux minios I’m sure it will work for you

Here’s a super simple step-by-step for Devilspie2:

Step 1: Install it

sudo apt install devilspie2

Step 2: Create the config folder

mkdir -p ~/.config/devilspie2

Step 3: Create the Obsidian rule

nano ~/.config/devilspie2/obsidian.lua

Step 4: Add this content and save (Ctrl+X, then Y, then Enter)

if (get_application_name() == "obsidian") then
    maximize()
end

Step 5: Start devilspie2

devilspie2 &

Step 6: Test it
Open Obsidian - it should automatically maximize

Step 7: Make it start automatically

  • Open Applications Menu → Settings → Session and Startup
  • Go to “Application Autostart” tab
  • Click “Add”
  • Name: Devilspie2
  • Command: devilspie2
  • Click “OK”

That’s it! Now every time you boot up, devilspie2 will run in the background and automatically maximize Obsidian whenever you open it.

To stop it temporarily: killall devilspie2
To start it again: devilspie2 &

Same happens for me. Think there should be an option to open maximized.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.