vimb icon indicating copy to clipboard operation
vimb copied to clipboard

Change Filedialog handler

Open ghost opened this issue 3 years ago • 2 comments

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!

ghost avatar Jan 06 '22 20:01 ghost

@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.

fanglingsu avatar Jan 08 '22 20:01 fanglingsu

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

stale[bot] avatar Apr 16 '22 09:04 stale[bot]