Configure Firefox save and open dialogs

74 views
Skip to first unread message

veavi...@gmail.com

unread,
Apr 26, 2013, 1:31:24 PM4/26/13
to webc-...@googlegroups.com
Do you know how to configure the dialog that pops up when you go to save or open a file? 

I'm trying to allow users to download files to a directory and attach them to emails. I've gotten FF to save to a directory and I have permissions set correctly so the users can't save anywhere but one folder that gets cleared whenever they log out. Or they can save to a USB stick they insert.

But I can't figure out how to get the default entries out of the Places sidebar (or disable the sidebar completely) and get rid of the bread-crumbs at the top.

If this was gnome based, I could configure it using dconf-editor or gsettings, where you can disable all of those features and you just get a save window.

Is webconverger running anything besides X?

Kai Hendry

unread,
Apr 29, 2013, 5:53:39 AM4/29/13
to webc-...@googlegroups.com
On 26 April 2013 18:31, <veavi...@gmail.com> wrote:
> Do you know how to configure the dialog that pops up when you go to save or
> open a file?

Yes, I think it is a GTK thing.

> I'm trying to allow users to download files to a directory and attach them
> to emails. I've gotten FF to save to a directory and I have permissions set
> correctly so the users can't save anywhere but one folder that gets cleared
> whenever they log out. Or they can save to a USB stick they insert.

That's interesting. Do you mind sharing your branch somewhere?

So you've managed to remove elements like:
https://github.com/Webconverger/iceweasel-webconverger/blob/master/components/fileBlockService.js

In the Webconverger extension, to make this possible?

> But I can't figure out how to get the default entries out of the Places
> sidebar (or disable the sidebar completely) and get rid of the bread-crumbs
> at the top.

I'm pretty sure this is a GTK issue. Try ask on their mailing list?
Last time I asked I got the wrong answer.
WRONG: https://mail.gnome.org/archives/gtk-list/2013-March/msg00025.html
RIGHT: https://github.com/Webconverger/webc/commit/d17320b157e9aa70114de378b41a0978778b7ec8

> If this was gnome based, I could configure it using dconf-editor or
> gsettings, where you can disable all of those features and you just get a
> save window.

Well those gconf* things are front end tools with a crap load of
dependencies. :/ You need to find the magic cryptic XML or however GTK
configure things to change the dialog. Which is seriously non-trivial.
I would be very interested to know if you figure it out.

> Is webconverger running anything besides X?

No.. There is also a feature of Webconverger that you might not be
aware of, whereby we try make sure it downloads to noexec tmpfs for
added protection. i.e. folks can't run binaries. I hope you are still
using that construct!

Kind regards,
Reply all
Reply to author
Forward
0 new messages