Setup Obsidian
First add Flathub repository. Then run:
flatpak install md.obsidian.Obsidian
Wayland support
Wayland support can be enabled by setting the environment variable OBSIDIAN_USE_WAYLAND=1
either
using Flatseal, or the command line, like so:
flatpak override --user --env=OBSIDIAN_USE_WAYLAND=1 md.obsidian.Obsidian
Wayland support can also be temporarily enabled for a single run:
flatpak run --env=OBSIDIAN_USE_WAYLAND=1 md.obsidian.Obsidian
GPU acceleration
GPU acceleration may need to be disabled to avoid launching with a black window when using Nvidia GPUs:
flatpak override --user --env=OBSIDIAN_DISABLE_GPU=1 md.obsidian.Obsidian
Disabling the GPU sandbox may also be necessary:
flatpak override --user --env=OBSIDIAN_DISABLE_GPU_SANDBOX=1 md.obsidian.Obsidian