Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to open/maximize the background Obsidian vault from the terminal #49

Open
Torelli opened this issue Jun 3, 2024 · 3 comments

Comments

@Torelli
Copy link

Torelli commented Jun 3, 2024

I just wanted to create a shortcut to open from the system tray instead of clicking in the icon

@grossherr
Copy link

Set the shortcut in the settings or use the default

image

@ficcdaf
Copy link

ficcdaf commented Oct 20, 2024

If you're married to it being a terminal command, you could create a shell script that mimics user keystrokes using something like xdotool (if you're using Xorg on Linux) to trigger that hotkey. Then you can create an alias to that hotkey in your bashrc or zshrc, like oo (obsidian open) and badaboom, you've got a way to do it from your terminal. however this approach is needlessly complicated and you should probably just use the hotkey.

@cenk1cenk2
Copy link

This is not always possible to have since with some Wayland implementations you do not get global hotkeys.

Therefore a obsidian://?tray-toggle=true and similar for other commands would be very useful in this case, if that is even possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants