Active Topics

 


Reply
Thread Tools
Posts: 180 | Thanked: 5 times | Joined on Mar 2010
#1
When i open a webpage on the microb browser and save pag as complete web page to view the page offline later how come it saves it as a .php file and some webpages dont save it as that type of file?

If it saves it as a .php file then the only browser to open it offline is firefox on the n900, microb cant open these files up.

Also how do you enable file extensions on the n900 .xxx
 
Posts: 131 | Thanked: 62 times | Joined on Feb 2010
#2
hi
you probably need to edit

/usr/share/applications/default.list

as root, note i havn't tested this.

re. file extensions.

3chr file extensions are a windows/dos feature, this is linux. use whatever extensions make you happy.

short soln to webpage.php rename it to webpage.html

note. extensions have no inherent meaning in either windows or linux as to the actual content of the file.

rgds
 

The Following 2 Users Say Thank You to uTMY For This Useful Post:
Posts: 24 | Thanked: 2 times | Joined on Feb 2010
#3
However, on Maemo I ususally can not see file extensions. When saving a picture from a web page I would like to see if it's .png, .gif or .jpg. The system hides extensions as if it matters. I would prefer to see the whole filename whether it has extensions or not. I'm used to MacOS where extensions do not play significant role. But taking in account the Windows world it still matters...

It wouild be cool to just switch extensions on and off all over the device.
 

The Following User Says Thank You to atikin For This Useful Post:
Posts: 131 | Thanked: 62 times | Joined on Feb 2010
#4
Hi, yes I see what you mean, just tested and sure enough if the file has an extension it removes it from view during the save as option in the browser.

If you view it in file manager it hides it there also but when you 'ls' the file system the extension is still there.

weird

I think I might try to dig deeper.

rgds
 

The Following User Says Thank You to uTMY For This Useful Post:
Posts: 131 | Thanked: 62 times | Joined on Feb 2010
#5
It appears this is working as designed ... and is listed in bug fixes as WONTFIX.

This is brain dead if correct.

rgds

:-)

Last edited by uTMY; 2010-06-09 at 07:48.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#6
If you are talking and complaining about a spezific Bug it's almost useful to post also the Bug Number and a Link.

Sadly in the end you're correct. It works like the default settings from Microsoft Windows. But at Windows Explorer we are able to correct this bug be changing the setting.
 

The Following User Says Thank You to Helmuth For This Useful Post:
Posts: 131 | Thanked: 62 times | Joined on Feb 2010
#7
Actually I tire of rallying against brain dead decisions, have it all day long in the day job.

So didn't want to link to the bug since it is set to WONTFIX, I am pretty sure how far a complaint would get.

It was however a humorous attempt at heavily pointed sarcasm with a hint of derision.

:-)

rgds
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#8
The bug in question is probably Bug 430. Yes, it's a WONTFIX, but I don't think it hurts to vote for it.
 

The Following 2 Users Say Thank You to pelago For This Useful Post:
Posts: 56 | Thanked: 31 times | Joined on Jul 2008 @ Austria
#9
I added a comment on the bug report on where to find the place to change that it does show file extensions... I don't have time to do it now, maybe in a month or two...

May the source be with you, always :-)

Edit: ah, screw it, see function "_hildon_file_system_create_display_name" in "hildon-file-system-private.c".

There you find:

dot = _hildon_file_system_search_extension (str, only_known, is_folder);
if (dot && dot != str)
*dot = 0;

remove these (what they mean is: search for where the extension starts - dot - and then cut off there if there's anything BUT the extension in the name - because display name "" would be, err, bad).

As far as I understood there will be no Nokia updates for maemo5 anymore, so your custom version won't be auto-destroyed (err -updated) either :-)

Last edited by dannym; 2010-06-08 at 15:04.
 

The Following 3 Users Say Thank You to dannym For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#10
Many thanks for this, Danny. Anyone brave enough to compile this up and test it?
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:24.