I know this is to be done by creating a .contract file in /usr/share/contractor.For example, one like this will add a menu option to open a folder as root.[Contractor Entry]Name=Open folder as rootIcon=gksu-root-terminalDescription=Open folder as rootMimeType=inode;application/x-sh;application/x-executable;Exec=gksudo pantheon-files -d %UGettext-Domain=pantheon-filesHow to adjust such a contractor file for the 'make executable' option? What about a 'Run' option for the executable files?
How to add 'Make executable' and 'Run' entries to Elementary OS file manager context menu?
executable;elementary os;file manager;menu;pantheon
sudo gedit /usr/share/contractor/make_executable.contractAdd this content and save:[Contractor Entry]Name=Make executableIcon=name.of.icon.wantedDescription=Make a file executableMimeType=inode;application/x-sh;application/x-executable;Exec=gksudo chmod +x %UShould do the trick.But it is possible that in elementaryOS a file that was made executable may still lack the option of being run from context menu or click: it may open instead in a text editor, etc.To add a 'Run' menu entry to run such a file create a new contractor entry sudo gedit /usr/share/contractor/run.contractlike this:[Contractor Entry]Name=Run Icon=runDescription=RunMimeType=inode;application/x-sh;application/x-executable;Exec=sh %U