One other wrinkle - the resolution problem seems to be primarily when the monitor has fractional scaling. I am using the package from AUR, currently v1.9.14
This takes care of stuff in the moment. The following talks about why this happens and how to make a more permanent fix.
The Problem
Electron, the framework obsidian and discord are built on, does poorly at recognizing that it is in a wayland environment. This means that important visualizing tools aren’t called on when starting up. The above sets obsidian’s variable “OBSIDIAN_USE_WAYLAND“ to true, calls obsidian, and tells it to enable the OzonePlatform, electron’s compatibility tool for wayland.
Now it would suck to have to type all of that out into bash every time you want to use obsidian so here is the
Permanent Fix
Depending on how you installed can make this more difficult or easier. That said, I understand you installed via the AUR and must recommend you change that out for the version in pacman’s extra library as this reduces your risk of installing malware. In either case do the following:
navigate to /usr/share/applications and see if there is an obsidian.desktopfile there. If there isn’t one skip to step 3.
run the following in bash cp /usr/share/applicaitons/obsidian.desktop ~/.local/share/applications/ This makes a copy of obsidian.desktop in your local user space so this doesn’t break during updates.
open ~/.local/share/applications/obsidian.desktop in your text editor of choice and make it match the following:
I just want to jump in here to add a solution for those who installed Obsidian as a snap package as well. I used your response to guide me in the right direction - so thank you!
If you installed Obsidian via snapd, you won’t have a .desktop file in the normal location. Your desktop file is located in /var/lib/snapd/desktop/applications/obsidian_obsidian.desktop. The right way to go is to create a copy of this and edit the execution of the copy.
Once you have done this, search for obsidian via your launcher and open it. The resolution should be fixed. Since this is the desktop file that you just created, you will want to pin this one. Running obsidian via the terminal seems to run the snap version without the scaling fix.