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

Change Filedialog handler #699

Open
ghost opened this issue Jan 6, 2022 · 2 comments
Open

Change Filedialog handler #699

ghost opened this issue Jan 6, 2022 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Jan 6, 2022

First of all this is a really great project, I've been hacking around the last two days and got a pretty good workflow with this browser fitted to my needs. Thanks to the dev(s)!

But right now I'm stuck, I want to change the default handler for file-dialogs (GtkFileChooserDialog) to be ranger or lf (Terminal based file browser).
Is this possible with handler-add?

For example: On this site there is a button to open a filedialog https://convertio.co/png-ico/ it is used to select a local file.
Thanks!

@fanglingsu
Copy link
Owner

@Moempfred Interesting question. The handler are only used for different protocoll types like http, ftp, mailto, .... The file dialog seems to be hard wired into webkitgtk. I'm not sure if this could be changed in any way - might be possible with some setting in .config./gtk-3.0/gtkfilechooser.ini.
You could check if https://superuser.com/questions/944119/replace-gtk-file-dialog-with-alternative this would also allow to use ranger - but in my optionion these hacks are overkill.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had activity within the last 60 days.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant