Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3570  / 3 Years ago, fri, september 24, 2021, 12:26:36

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



PCManFM asks to execute the file



Changing the default program to open the file doesn't help.



Changing the default program to open the file doesn't help.



The Leafpad file associations look OK.



mimeapps.list looks OK; text/plain should be opened by Leafpad.


More From » lubuntu

 Answers
6

Its perhaps worth checking that if you have a mimetype list that its defined correctly:



enter image description here



In the same folder - try removing/renaming any custom leafpad.desktop file just in-case it is due to an error in that definition.



Logout and login for changes to take effect.


[#41177] Saturday, September 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
confiorc

Total Points: 42
Total Questions: 121
Total Answers: 123

Location: India
Member since Wed, Aug 26, 2020
4 Years ago
confiorc questions
Fri, Jul 23, 21, 18:21, 3 Years ago
Tue, Mar 22, 22, 14:25, 2 Years ago
Thu, Feb 17, 22, 22:43, 2 Years ago
;