When I'm using PCManFM, I sometimes do the following. I right-click in an empty place in ~/
, and choose Make new...
--> Empty File
. I type some text in it, like 'blabalballabl', and then I save it, e.g., as test
.
Now, I double-click this file. Leafpad won't open the file, but instead PCManFM will say that the file is executable. It then asks if I want to execute the file or not. I don't want this to happen, I just want Leafpad to open the file. Right-clicking the file, then changing the default application to open this type of files doesn't help.
Is there any way to force PCManFM to open files like these with Leafpad by default?
I'm using Lubuntu 11.10 32 bit.
PCManFM asks to execute the file
Changing the default program to open the file doesn't help.
mimeapps.list
looks OK; text/plain
should be opened by Leafpad.