Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How to configure Firefox mime type to open text files in gedit / external editor.

  • 2 antwurd
  • 0 hawwe dit probleem
  • 5 werjeftes
  • Lêste antwurd fan Tyranna

more options

OS: Ubuntu 20.04 Firefox 113.0(64 Bit )

I am building a website on my hard drive just using files. EX: file:///home/username/notes/main.html <a href="/home/username/folder/file.txt"></a>

I put an anchor link in the html source , and when I click on it I want it to open file.txt with gedit. I can get c files to do it , but .txt files open in Firefox.

OS: Ubuntu 20.04 Firefox 113.0(64 Bit ) I am building a website on my hard drive just using files. EX: file:///home/username/notes/main.html <a href="/home/username/folder/file.txt"><img class="icon" src="w/e"></a> I put an anchor link in the html source , and when I click on it I want it to open file.txt with gedit. I can get c files to do it , but .txt files open in Firefox.

Alle antwurden (2)

more options

Files that are send as text/plain or files with a .txt file extension are always opened in Firefox. You can check this thread:

more options

Quote: Files that are send as text/plain or files with a .txt file extension are always opened in Firefox.

Yes, thank you , that is the case , hence the: How to configure Firefox mime type to open text files in gedit / external editor.

Q: When we link to a file on the local filesystem , is there a 'server' sending a file type? Q: How are local files' mime-type discovered? Q: What system files does Firefox interrogate for preferred mime types? Q: What file defines the handler for .txt files?