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

How to open external app detached? #596

Open
domeniczz opened this issue Jan 22, 2025 · 2 comments
Open

How to open external app detached? #596

domeniczz opened this issue Jan 22, 2025 · 2 comments

Comments

@domeniczz
Copy link

For example, openning a pdf file, joshuto will launch e.g. zathura. But zathura is not launched in detached mode. When I quit joshuto, zathura will also quit.

Do joshuto support launch application in detached mode?

Below is part of my joshuto.toml:

numbered_command = false
mouse_support = true
focus_on_create = true
use_trash = true
watch_files = true
xdg_open = true
xdg_open_fork = true
case_insensitive_ext = false
zoxide_update = false
@kamiyaa
Copy link
Owner

kamiyaa commented Feb 11, 2025

You can take a look at some of the example configs here:
https://github.com/kamiyaa/joshuto/blob/main/config/mimetype.toml#L176

In particular, you can add the fork = true option and it will spawn zathura detached I believe

@domeniczz
Copy link
Author

domeniczz commented Feb 28, 2025

No, it's not. I don't know what is going wrong.

My mimetype.toml:
https://github.com/domeniczz/.dotfiles/blob/master/.config/joshuto/mimetype.toml

open a mp4 video with mpv; open pdf, epub with zathura; open image with... I have set fork = true but none is actually start detached. for example, I open a video in mpv, and then quit joshuto, mpv will also quit.

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

2 participants