-
Notifications
You must be signed in to change notification settings - Fork 337
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
Wrong 'reveal' config for Linux #896
Comments
Hi, I think this is expected behavior, since I didn't find a universal way to add "Reveal" for Linux, so I decided not to add it. Instead, I want to encourage users to customize it according to their needs and installed tools. I set the description for this |
I also found "Show EXIF" confusing until I went source diving and read the In the absence of a script to intelligently handle various GUI file managers, I'd suggest |
If it's at all useful, some quick research:
|
I agree with @callahad, without a better general solution just using |
IIRC, I think these are different, and it only works for directories. If it's a file, it won't open the GUI file manager, because the file will be opened directly in the corresponding application, such as mpv for video files. |
Yes, this is correct. That's why I think it would make sense to explicitly use |
Ah I see, will create a PR to add it |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
kitty 0.30.1
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputDescribe the bug
The last default
reveal
action at https://github.com/sxyazi/yazi/blob/latest/yazi-config/preset/yazi.toml#L41 seems to be incorrect, it tries to show the EXIF info instead of revealing the file in a GUI file manager. The EXIF action would probably only make sense for images.The best "reveal" action I've found for Linux is this:
Unfortunately this only works if
gtk-launch
is installed, which probably isn't always the case. There are some alternatives listed here but it would probably require a dedicated shell script or plugin to pick the right one for the current system.Expected Behavior
List a "Reveal" action for Linux
To Reproduce
Try to reveal a file on Linux
Configuration
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: