Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

TXT open

  Date: Dec 04    Category: Unix / Linux / Ubuntu    Views: 420
  

I am getting rather frustrated at the way Ubuntu asks me if I want to "run" .txt
files saying they are executable, how do I get it to open these text files as a
gedit document on a double click?

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 04    

The problem is that in Linux, the format determines the nature of the file
and the suffix is largely for convenience. You can have the same content in
myfile and myfile.txt. The txt suffix does nothing. Because of scripting in
Linux text files do not open up as you are used to. If the text file is a
script then you may want to edit it or run it as an executable.

The solution is to stop thinking like a Windows user and retrain yourself.
Right click on the file and then choose open with, gedit.

 
Answer #2    Answered On: Dec 04    

Who changed the mode of the files to executable, and why?

 
Didn't find what you were looking for? Find more on TXT open Or get search suggestion and latest updates.




Tagged: