Fedora Linux Support Community & Resources Center
  #1  
Old 31st March 2012, 02:34 AM
Badar Abbas Offline
Registered User
 
Join Date: Dec 2008
Location: Pakistan
Posts: 25
windows_xp_2003firefox
Exclamation Opening htm/html Files

When i double click a htm/html file, it opens a dialog box saying that the file is an executable file and give options. I have to choose display to open in Firefox. How can i override this to aviod this dialog box.
Reply With Quote
  #2  
Old 31st March 2012, 02:42 AM
BBQdave Offline
The Ubu-Grillmaster
 
Join Date: Aug 2011
Location: North Carolina
Age: 47
Posts: 1,994
linuxiceweasel
Re: Opening htm/html Files

Quote:
Originally Posted by Badar Abbas View Post
When i double click a htm/html file
Right click on htm/html file and select firefox (or preferred application) from drop down menu. In the same drop down menu you can select properties and set the application to open file.
__________________
On quest for blue smoke and red rings...
Reply With Quote
  #3  
Old 31st March 2012, 04:05 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,062
linuxfirefox
Re: Opening htm/html Files

Also, there's no good reason for any html files to be set executable, remove all "x" bits on their mode
Reply With Quote
  #4  
Old 2nd April 2012, 12:11 AM
Badar Abbas Offline
Registered User
 
Join Date: Dec 2008
Location: Pakistan
Posts: 25
windows_xp_2003firefox
Re: Opening htm/html Files

The htm/html file are on Windows partition. Ir does not allow to change permissions. There is no firefox or preferred application option. I think i have to live with this dialog box.
Reply With Quote
  #5  
Old 2nd April 2012, 02:10 AM
Gareth Jones Offline
Official Gnome 3 Sales Rep. (and Adminstrator)
 
Join Date: Jul 2011
Location: Birmingham, UK
Age: 32
Posts: 2,771
linuxfirefox
Re: Opening htm/html Files

Given that it's unlikely that you want to execute files from the Windows partition in Linux, you could add "noexec" to the Windows partition's mount options in /etc/fstab. Then the execute permissions will go away.
Reply With Quote
  #6  
Old 2nd April 2012, 08:21 AM
Doug G Offline
Registered User
 
Join Date: Jul 2005
Posts: 640
windows_7firefox
Re: Opening htm/html Files

fwiw with fedora 15, xfce and thunar there is no dialog popup when double-clicking an html file, it just opens firefox. Even with chmod 777 on the html file there isn't any dialog when double-clicked. selinux is disabled on my workstation.

Oops, this may not matter, I'm using an ext4 drive not ntfs.
__________________
======
Doug G
======
Reply With Quote
  #7  
Old 4th April 2012, 09:22 AM
Badar Abbas Offline
Registered User
 
Join Date: Dec 2008
Location: Pakistan
Posts: 25
windows_xp_2003firefox
Re: Opening htm/html Files

changed option in /etc/fstab. It worked. Thanks Gareth Jones.
Reply With Quote
Reply

Tags
files, htm or html, opening

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening .cab files SyntheticShield Using Fedora 1 15th January 2007 08:04 AM
Opening MS.doc files AliOop Linux Chat 15 17th February 2005 04:26 PM


Current GMT-time: 09:32 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Zajecar Photos on Instagram - Wuerzburg Travel Photos - Butterworth Photos