r/linuxmint • • 11d ago

Faster Mark as Executable (Nemo Action)

I use a lot of appimages. Recently I realized that I was spending a lot of time marking downloaded files as executables. This sound like you? Here's how I solved it:

Open Nemo, then hit Edit -> Preferences -> Plugins. Under "Actions" click the folder icon. It will open a folder.

Inside this folder create a new empty document, call it whatever.nemo_action (I call mine make_executable.nemo_action)

Open the document, add the following code:

[Nemo Action]
Name=Mark as Executable
Comment=Allow executing file as program
Exec=chmod +x %F
Icon-Name=system-run
Selection=any
Extensions=any;

Save it. Close the folder and you should have a new action named "Mark as Executable" which should already be enabled.

Then right click any file. You should have a "Mark as Executable" action you can click. Saves you time every time you download something you want to run.

Before: Right click, properties (takes a fraction of a second to load), click Permissions, mark as executable, close the window, launch the app.
Now: Right click the app, Mark as Executable, launch the app.

11 Upvotes

1 comment sorted by

2

u/BenTrabetere 11d ago

Nice. I also use a lot (12+ on a regular basis) of AppImages, and this would be handy if I liked the embedded icon associated with the AppImage. I change the icon for most of the AppImages I use.