From 46cbfcc3aaad6d881fdb0e198843a43271368002 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Thu, 4 Apr 2024 17:36:17 +0800 Subject: [PATCH] add doc for linux --- docs/linux.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 docs/linux.md diff --git a/docs/linux.md b/docs/linux.md new file mode 100644 index 0000000..7580029 --- /dev/null +++ b/docs/linux.md @@ -0,0 +1,56 @@ +# How to receive `obsidian://` in Linux + +## Background + +For example, when we are authorizing OneDrive, we have to jump back to Obsidian automatically using `obsidian://`. + +## Short Desc From Official Obsidian Doc + +Official doc has some explanation: + + + +# Long Desc + +Assuming the username is `somebody`, and the `.AppImage` file is downloaded to `~/Desktop`. + +1. Download and **extract** the app image file in terminal + + ```bash + cd /home/somebody/Desktop + chmod +x Obsidian-x.y.z.AppImage + ./Obsidian-x.y.z.AppImage --appimage-extract + + # you should have the folder squashfs-root + # we want to rename it + mv squashfs-root Obsidian + ``` + +2. Create a `.desktop` file + + ```bash + # copy and paste the follow MULTI LINE command + # you might need to input your password because it requires root privilege + # remember to adjust the path + cat > ~/Desktop/obsidian.desktop <