Files manager force file extension

Petter Adsen petter at nillabs.com
Sat May 13 14:03:13 UTC 2017


On 13/05/17 20:55, Yubin Ruan wrote:
> On Sat, May 13, 2017 at 08:43:07AM +0100, Colin Law wrote:
>> On 13 May 2017 5:34 a.m., "Yubin Ruan" <ablacktshirt at gmail.com> wrote:
>>> By default, I get `Yahoo.html' as the filename to save. I can change the
>>> `Yahoo.html' to any name like `this-is-yahoo.html'. But I CANNOT save it to
>>> something like `Yahoo.webpage' because the file manager will automatically
>>> add a "html" file extension for me, thus making it `Yahoo.webpaeg.html'
>>> eventually.
>>
>> I don't think that is the file manager (Nautilus), I think it is the
>> browser. Which browser are you using? Using Firefox (on Ubuntu 16.10) I see
>> more than two options and do not get the forced extension.
> 
> I see. That's Chrome's problem.

With Chromium I see the behavior you describe, it's using a standard GTK
file chooser dialog with those two alternatives. I can still change the
actual filename and extension by editing it in the field at the top of
the dialog, and I would expect Chrome to behave in the same way.

Petter




More information about the ubuntu-users mailing list