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

Yazi as default filepicker #2079

Closed
2 of 3 tasks
magdesign opened this issue Dec 21, 2024 · 6 comments
Closed
2 of 3 tasks

Yazi as default filepicker #2079

magdesign opened this issue Dec 21, 2024 · 6 comments
Labels
feature New feature request help wanted Extra attention is needed

Comments

@magdesign
Copy link

yazi --debug output

no debug. feature request.

Please describe the problem you're trying to solve

I'd love to use Yazi as my default, systemwide filepicker on postmarketOS/Alpine Linux with sway.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

I writeup/tutorial on how to make/use Yazi as the default XDG filepicker on systems without systemd/libc.

Additional context

So far I had no luck with editing /usr/share/xdg-desktop-portal/sway-portals.conf

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature
@magdesign magdesign added the feature New feature request label Dec 21, 2024
@magdesign
Copy link
Author

see:
#51 (comment)

#1128 (comment)

@sxyazi
Copy link
Owner

sxyazi commented Dec 22, 2024

Duplicate of #1119

Does https://github.com/boydaihungst/xdg-desktop-portal-termfilechooser not working for you?

@sxyazi sxyazi added the waiting on op Waiting for more information from the original poster label Dec 22, 2024
@magdesign
Copy link
Author

no, because xdg-desktop-portal-termfilechooser somehow relies on systemd. on alpine we have openrc which does not support dbus commands.

@github-actions github-actions bot removed the waiting on op Waiting for more information from the original poster label Dec 22, 2024
@magdesign
Copy link
Author

@sxyazi
Copy link
Owner

sxyazi commented Dec 22, 2024

Hmm I have no idea how xdg-desktop-portal-termfilechooser works and am not familiar with openrc - I never used them myself.

I'll tag this issue as "help wanted" to see if anyone familiar with them can offer any help.

@sxyazi sxyazi added the help wanted Extra attention is needed label Dec 22, 2024
@magdesign
Copy link
Author

magdesign commented Dec 22, 2024

got a bit further.... t
the issue was not missing systemd, but filechooser.c had an error for not supporting arm.

this error is fixed now

for anyone else searching to find a way to set yazi as filepicker default on postmarketos/arm, here is the writeup:

https://wiki.postmarketos.org/wiki/User:Magdesign#Filepicker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants