Monday, January 27, 2014

SOLVED File Not Opening On Click

While working on a website I had problem of file not opening when I double click them or choose open from right click menu. I had set the default opener for .html file geany, but no matter what I do it wouldnt open. I tried changing it to text editor (gedit) but none of the file would open with the default program.

After investigating the problem was the text file had +x (execute) permission on them. And I had set preference in nautilus to run executable text files when they are opened. So every time I was trying to open the text file it was running instead of opening.




The solution is simple:
  1. Either remove the execute permission of the text files
  2. Or In Nautilus-Preference-Behavior-Executable Text Files Change option to view executable text files when they are opened
download
alternative link download

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.