LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2011, 07:41 AM   #1
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,189
Blog Entries: 21

Rep: Reputation: 151Reputation: 151
How to open in Firefox?


Occasionally I will get some text file that causes Firefox to prompt me to download or open in some program. Instead, I want Firefox to display the file (it is a text file). How can this be done ... or why did they leave that ability out?

Example: http://connie.slackware.com/~alien/t...are-current.sh
 
Old 01-11-2011, 07:55 AM   #2
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 89
How do other browsers behave on the same link?

What does your firefox do on a different text file link, like http://wordpress.org/extend/plugins/about/readme.txt ?

(First search result for "readme.txt")


It could be a server-side misconfiguration.
 
Old 01-11-2011, 08:03 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Firefox opens text files only if the remote server sends them with the type text/plain specification. You can easily verify it opening a remote text file (e.g. http://download.opensuse.org/distrib...epo/oss/README) and clicking on Tools -> Page Info (see attachment). Otherwise you can try the Open in Browser add-on to manage unspecified types. Hope this helps.
Attached Thumbnails
Click image for larger version

Name:	pageinfo.png
Views:	7
Size:	45.0 KB
ID:	5819  
 
1 members found this post helpful.
Old 01-11-2011, 09:10 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by colucix View Post
...Otherwise you can try the Open in Browser add-on to manage unspecified types. Hope this helps.
Thank you very much, I tried it, it works.

Markus
 
Old 02-10-2011, 09:12 AM   #5
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,189

Original Poster
Blog Entries: 21

Rep: Reputation: 151Reputation: 151
Quote:
Originally Posted by colucix View Post
Firefox opens text files only if the remote server sends them with the type text/plain specification. You can easily verify it opening a remote text file (e.g. http://download.opensuse.org/distrib...epo/oss/README) and clicking on Tools -> Page Info (see attachment). Otherwise you can try the Open in Browser add-on to manage unspecified types. Hope this helps.
That kind of thing should not need to be an add-on. It should be in the browser itself. It would require very little logic in the browser to just force a specific file type when the server fails to send the correct one. "Open as text" and "Open as HTML" and maybe a few others should always be there as options.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Open With ? dnr_ron Linux - Newbie 4 09-30-2010 02:20 PM
Can't minimize open windows. They disappear. the firefox 3.0 title bar shows 9 open rangerpresto Linux - Desktop 5 08-10-2008 02:30 PM
Firefox 3 won't open. popatopalous Mandriva 1 07-07-2008 01:24 AM
Firefox will not open at all mmsprinter Linux - Newbie 2 12-06-2007 05:40 PM
gnome-open won't open new firefox windows ror Ubuntu 1 06-13-2007 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration