DEV Community

Discussion on: How to Install Obsidian On Linux | Set it's $PATH variable

Collapse
 
jonathanzollinger profile image
Jonathan Zollinger

it's worth noting that if you want obsidian to show up in application launcher like Rofi you'll need to create a .desktop file in your user's ~/.local/share/applications directory. As an example, this is what I have for my Apache Directory Studio:

[Desktop Entry]
Version=1.0
Type=Application
Name=Apache Directory Studio
Exec=/home/trivir/ApacheDirectoryStudio/ApacheDirectoryStudio
Icon=/home/trivir/ApacheDirectoryStudio/icon.xpm
Enter fullscreen mode Exit fullscreen mode

I'm still installing obsidian otherwise I'd post that example lol

Collapse
 
kaushit profile image
Kaushit • Edited

here is the one I have created using

kaushit@ubuntu:~/Downloads$ nano ~/.local/share/applications/obsidian.desktop

Now please paste the below content and have fun.

[Desktop Entry]
Name=Obsidian
Comment=A powerful knowledge base that works on top of a local folder of plain text Markdown files
Exec=/usr/bin/obsidian/obsidian
Icon=/usr/bin/obsidian/obsidian-logo-gradient.svg
Terminal=false
Type=Application
Version=1.5.11
Categories=Office;Utility;
MimeType=x-scheme-handler/obsidian;text/html;
Enter fullscreen mode Exit fullscreen mode

download the logo from official host
obsidian.md/images/obsidian-logo-g...