Taitava / obsidian-shellcommands

Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
GNU General Public License v3.0
336 stars 11 forks source link

Linux: Display a warning if Obsidian is installed using Flatpak #368

Closed Taitava closed 6 months ago

Taitava commented 10 months ago

Flatpak isolates Obsidian from the rest of the operating system, preventing external programs from being executed. It's an understandable security choice, but it also prevents intentional access to external programs.

https://github.com/Taitava/obsidian-shellcommands/discussions/367#discussioncomment-6844635

I also asked for help in Discord so that the plugin could detect if Obsidian was installed using Flatpak. The plugin could then show a tiny notice in the settings modal, warning users that the shell commands might not work as expected when Flatpak is used. Will see if such a feature could be developed.

TODO:

Taitava commented 6 months ago

Done, but I did not create this guide:

Try to create a guide that tells how Flatpak can be configured to whitelist some external programs.

Will see if I get to do that later.

Taitava commented 6 months ago

Released.