Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

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

  • 2 답장
  • 0 이 문제를 만남
  • 3 보기
  • 최종 답변자: 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.

모든 댓글 (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?