# Apps : Obsidian
## Files
#### ~/.config/obsidian/obsidian.json
```json
"vaults" :
"957f06f20aee80b0" :
"path" : "/home/ofer/vault1",
"ts" : 1734645362049,
"open" : true,
"5413848aa5ce9e66" :
"path" : "/home/ofer/vault2",
"ts" : 1734644077339
```
The folder name ("vault1") becomes the vault name.
#### New Vault
```
.
├── .obsidian
│ ├── appearance.json # empty JSON object
│ ├── app.json # empty JSON object
│ ├── core-plugins.json
│ ├── graph.json
│ └── workspace.json
└── Welcome.md
```
###### core-plugins.json
```json
{
"audio-recorder" : false,
"backlink" : true,
"bases" : true,
"bookmarks" : true,
"canvas" : true,
"command-palette" : true,
"daily-notes" : true,
"editor-status" : true,
"file-explorer" : true,
"file-recovery" : true,
"footnotes" : false,
"global-search" : true,
"graph" : true,
"markdown-importer" : false,
"note-composer" : true,
"outgoing-link" : true,
"outline" : true,
"page-preview" : true,
"properties" : true,
"publish" : false,
"random-note" : false,
"slash-command" : false,
"slides" : false,
"switcher" : true,
"sync" : true,
"tag-pane" : true,
"templates" : true,
"webviewer" : false,
"word-count" : true,
"workspaces" : false,
"zk-prefixer" : false
}
```
###### graph.json
```json
{
"centerStrength" : 0.518713248970312,
"close" : true,
"collapse-color-groups" : true,
"collapse-display" : true,
"collapse-filter" : true,
"collapse-forces" : true,
"colorGroups" : [],
"hideUnresolved" : false,
"lineSizeMultiplier" : 1,
"linkDistance" : 250,
"linkStrength" : 1,
"nodeSizeMultiplier" : 1,
"repelStrength" : 10,
"scale" : 1,
"search" : "",
"showArrow" : false,
"showAttachments" : false,
"showOrphans" : true,
"showTags" : false,
"textFadeMultiplier" : 0
}
```
## Opening Vaults
```
obsidian://open?vault=957f06f20aee80b0
obsidian://open?vault=vault1
$ open obsidian://open?vault=vault1
$ obsidian obsidian://open?vault=vault1
```
#### Firefox
1. open about:config
2. add `network.protocol-handler.external.obsidian: true`
#### Ubuntu
```
/usr/share/applications/obsidian.desktop
~/.local/share/applications/ # to override Obsidian desktop file, copy it here and modify it
```
###### obsidian.desktop
```desktop
[Desktop Entry]
Name=Obsidian
Exec=/opt/Obsidian/obsidian %U
Terminal=false
Type=Application
Icon=obsidian
StartupWMClass=obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;
Actions=vault1;
[Desktop Action vault1]
Name=vault1
Exec=/opt/Obsidian/obsidian obsidian://open?vault=vault1
```
## Settings (My)
#### General
| app.json | GUI |
| -------------------------------- | ----------------------------------------------------------------------------------- |
| "readableLineLength": false | Editor > Display > Readable line length : enabled -> disabled |
| "propertiesInDocument": "hidden" | Editor > Display > Properties in document : "Visible" -> "Hidden" |
| "useTab": false | Editor > Behavior > Indent using tabs : enabled -> disabled |
| "alwaysUpdateLinks": true | Files and links > Links > Automatically update internal links : disabled -> enabled |
| "promptDelete": false | Files and links > Trash > Confirm before deleting files : enabled -> disabled |
| "showInlineTitle": false | Appearance > Interface > Inline title : enabled -> disabled |
#### Hot Keys
```
app:go-back Alt ArrowLeft
app:go-forward Alt ArrowRight
editor:table-col-after Ctl + Shift + ArrowUp
editor:table-row-after Ctl + Shift + ArrowDown
editor:toggle-source Ctl + "U"
window:zoom-in Ctl + "+"
window:zoom-out Ctl + "-"
```
#### Plugins
- [Restore Tab Key](https://github.com/jrymk/restore-tab-key/)