Replies: 2 comments 2 replies
-
|
You need to setup a socket for remote control or get yazi to run the
commands connected to anactual tty device.
…On Fri, May 15, 2026 at 01:55:12PM -0700, CaesarSP wrote:
Hi, I am using the following entry in [yazi.toml](https://yazi-rs.github.io/docs/configuration/yazi) to try and do as the title says:
```
open = [
# { run = "xdg-open %s1", desc = "Open", for = "linux" },
{ run = "kitten @ launch --type tab 'xdg-open %s1'", desc = "Open", for = "linux" }, <--- This one!
{ run = "open %s", desc = "Open", for = "macos" },
{ run = 'start "" %s1', desc = "Open", for = "windows", orphan = true },
{ run = "termux-open %s1", desc = "Open", for = "android" },
```
Kitty.conf has the entry `remote-control yes`, as the wiki says.
When i try to open something it prints this error:
```
Error: open /dev/tty: no such device or address
Exited with status code: 1
Process failed
```
When opening the home folder, for example, this is the command that executes:
`kitten @ launch --type tab 'xdg-open /home/user'` as a "background command".
--
Reply to this email directly or view it on GitHub:
#10016
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
--
_____________________________________
Dr. Kovid Goyal
https://www.kovidgoyal.net
https://calibre-ebook.com
_____________________________________
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
On Fri, May 15, 2026 at 09:04:53PM -0700, CaesarSP wrote:
After running `kitty -o allow_remote_control=yes --listen-on unix:/tmp/yazi &` and starting yazi in the spawned terminal (as a test), while having `"kitten @ launch --to unix:/tmp/yazi --type tab 'xdg-open %d1` in the "reveal" options of yazi, trying to select that said option in the context menu spawns the following error:
```
Failed to launch child: xdg-open /home/nmonic
With error: No such file or directory
Press Enter or Esc to exit
```
You are trying to launch a program called "xdg-open /home/whatever"
instead of a program called xdg-open with an argument /home/whatever
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using the following entry in yazi.toml to try and do as the title says:
Where:
%sN: Path of the N-th selected file, e.g. %s1, %s2, etc.Kitty.conf has the entry
allow_remote_control yes, as the wiki says.When i try to open something it prints this error:
When opening the home folder, for example, this is the command that executes:
kitten @ launch --type tab 'xdg-open /home/user'as a "background command".Kitty.conf
Beta Was this translation helpful? Give feedback.
All reactions