Meta Post - Linux tips, tricks & solutions to common problems

I’ll keep a running list of tips, tricks and common problems here.

If you found a great tool or have a nifty trick for using Obsidian in Linux post below!

How to



Solutions to common problems

1 Like

Common “too many open files” related issues:

  1. ENOSPC: System limit for number of file watchers reached happens if you have too many files open on a system. By default this limit is set very low (65535) but it’s trivial to increase it:
    Obsidian starts with blank screen

  2. Error: EMFILE: too many open files might happen if you have a very large Obsidian vault with a lot of files inside. You can raise this limit by adding relevant entries in your /etc/security/limits.conf as mentioned in this post:

1 Like

How to use the Obsidian AppImage

After downloading the AppImage, and make it executable chmod +x Obsidian-0.8.14.AppImage, you should place it somewhere in your PATH as described here, e.g. in ~/bin/.

To add a desktop entry, you can create an obsidian.desktop file and place it in either /usr/share/applications/ or /usr/local/share/applications/ for applications installed system-wide, or ~/.local/share/applications/. The contents should look something like this:

[Desktop Entry]
Comment=Markdown Notetaking App
GenericName=Text Editor
Exec=/path/to/appimage/Obsidian-0.8.14.AppImage %U

Note that for the Application icon to work, the following line is important:

If all else fails, you can manually download and save the icon to ~/.icons/obsidian.png

In case you prefer a tool that can manage that for you, you can look into AppImageLauncher.

1 Like

I used the AppImageLauncher and it worked great! It comes up as Obsidian(1) for some reason but I’ll take it for now :slight_smile:

1 Like

I could not have the icon for the .desktop & there was no .icons folder in home. what should I do?
I didn’t use AppImageLauncher and want to do it manually if there is a way.

Thank you

You can create the folder yourself!