fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 99 forks source link

Change Filedialog handler #699

Open ghost opened 2 years ago

ghost commented 2 years ago

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 commented 2 years ago

@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[bot] commented 2 years ago

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