Skip to content

Instantly share code, notes, and snippets.

@gundamew
Created January 20, 2022 10:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gundamew/2256184b1189844bc597de64915aafca to your computer and use it in GitHub Desktop.
Save gundamew/2256184b1189844bc597de64915aafca to your computer and use it in GitHub Desktop.
Installing Obsidian (AppImage) on Ubuntu 20.04

1. Move the AppImage to /opt

$ sudo mkdir -p /opt/Obsidian
$ mv ~/Downloads/Obsidian-0.13.19.AppImage /opt/Obsidian

2. Create the desktop entry

$ sudo vim /usr/share/applications/obsidian.desktop
[Desktop Entry]
Name=Obsidian
Exec=/opt/Obsidian/Obsidian-0.13.19.AppImage
Terminal=false
Type=Application
Icon=obsidian

3. Create the icon

$ copy /path/to/obsidian.png /opt/Obsidian
$ sudo ln -s /opt/Obsidian/obsidian.png /usr/share/pixmaps

Tip: Get the resource files

You can extract the icon and the desktop entry files from the AppImage.

$ /path/to/Obsidian.AppImage --appimage-mount
/tmp/.mount_ObsidiXXXXXX

Just search the files in /tmp/.mount_ObsidiXXXXXX.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment