You are not logged in.
Pages: 1
Hi,
When I use firefox and uploading a file, there is a file manager for selecting file to upload. But instead of the non keyboard centric default file manager of firefox, I'd would like to use ranger.
Ok cool, how can I achieve that ?
$ xdg-mime query default inode/directory
$ xdg-mime default ~/.local/share/applications/ranger.desktop inode/directory
$ xdg-mime query default inode/directory
/home/MYUSER/.local/share/applications/ranger.desktop
Even with that, firefox continue to open his strange file manager (Or maybe I've installed one by mistake ?)
Last edited by Alaanor (2016-11-25 06:23:09)
Offline
When I use firefox and uploading a file, there is a file manager for selecting file to upload.
If I'm not mistaken, it's just GTK's file chooser dialog, not your file manager. So setting a default file manager will not change anything.
I'm not sure if you can configure Firefox to use something else for that, though...
Last edited by ayekat (2016-11-25 08:30:15)
Offline
Someone has some experience developing firefox addon ? Maybe can I change the file upload action and execute ranger ?
Offline
Alaanor wrote:When I use firefox and uploading a file, there is a file manager for selecting file to upload.
.
I dont think Ranger will do this, however
Here is a handy function for quickly uploading files to share ..
#Upload-file | Usage : share /path/to/file.foo
share() {
curl -F"file=@$*" https://0x0.st
}
Will be quicker than any browser extension.
Last edited by cirrus (2016-11-25 19:01:55)
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Pages: 1