I can't remember how i have made all .txt files on my external hard-drive with NTFS executable in Ubuntu, so that whenever i double-click any .txt file on that disk or open the right-click menu, it only appears to run the file instead of trying to open it with text editor applications.
I can see an option "allow executing file as a program" in the file properties is checked, but i can't uncheck it by click (it automatically gets checked again).
I have tried the following command but it doesn't work:
chmod -x *.txt
How can i revert my txt files configuration back to normal behaviour?