Ubuntu 20.04: directory selector window doesn't work as expected

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  • On Ubuntu 20.04, from the “Manage Vaults” window open the directory selector popup by doing one of the following (neither of them works):
    • Create a new Vault → Location → Browse
    • Open folder as vault
    • Open vault from Obsidian Sync → Connect → Browse

Did you follow the troubleshooting guide? [Y/N]

I tried it both in the initial window after a fresh install from Ubuntu Snap Store, and by opening the “Manage Vaults” window from an already opened Vault

Expected result

The directory selector window should allow you to select a folder, however you cannot select a folder - it only allows you to select a single file.

Actual result

As described above the directory selector window doesn’t allow you to select a folder, hence none of the above operations can be completed (setting the location of an already existing or a new vault).

Environment

SYSTEM INFO:
    Obsidian version: v1.9.12
    Installer version: v1.9.12
    Operating system: #149~20.04.1-Ubuntu SMP Wed Apr 16 08:29:56 UTC 2025 5.15.0-139-generic
    Login status: logged in
    Language: en
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Base theme: adapt to system
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on

RECOMMENDATIONS:
    none

Additional information

The following post reports the same issue, but it’s in the Help forum, I have the same problem so I am reposting it as a bug: https://forum.obsidian.md/t/cannot-open-existing-vaults-nor-create-a-new-one-not-able-to-select-directories-as-input-v1-9-10-ubuntu/104320

2 Likes

I can confirm this issue on Ubuntu 20.04 as well.

When trying to open or create a vault, the directory picker does not allow selecting folders — only files can be chosen. This completely blocks key functionality.

I can also confirm this issue on Ubuntu 20.04. The folder selection works as expected in Obsidian v1.8.10, but not in v1.9.12.

It seems that is a problem only on older gnome installations.

Obsidian 1.9.x uses Electron 37. Electron 37 uses the gnome native file picker (instead of custom on). This is likely a bug in Electron or in the older version Gnome File Picker.

If you can, update to Ubuntu 24.04, or use Obsidian 1.8.10 appimage.

I can confirm this bug exists on 22.04 as well.

Unfortunately, we can’t downgrade to an earlier Obsidian package, since Obsidian phones home and auto-updates on launch, e.g.

./Obsidian-1.8.10.AppImage
2025-10-16 14:01:49 Loading main app package /tmp/.mount_ObsidiONXWK6/resources/obsidian.asar
Ignored: Error: ENOENT: no such file or directory, open '/home/myusername/.config/obsidian/obsidian.json'
2025-10-16 14:01:50 Checking for update using Github
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
2025-10-16 14:01:50 Success.
2025-10-16 14:01:50 Latest version is 1.9.14
2025-10-16 14:01:50 Downloading update from https://github.com/obsidianmd/obsidian-releases/releases/download/v1.9.14/obsidian-1.9.14.asar.gz
2025-10-16 14:01:50 Verifying hash & signature. Size= 9033685
2025-10-16 14:01:50 Saving file
2025-10-16 14:01:50 Update complete.

This a a bug of electron (or gnome), so it doesn’t matter which internal version obsidian updates to.

Using the 1.8.10 appimage and relying on the internal update to get to 1.9.14 will still work.

We have not had any reports of this problem happening in Ubuntu 22.x. Perhaps you have a different problem.