Probably from the point of view of security and organization, nautilus does not anymore support executing a file by double clicking it. The idea is that applications should be started from an icon in the Application overview, or from a command in the Alt+F2 run dialog or the terminal.
Custom launchers therefore should reside in your ~/.local/share/applications
folder or in system wide folders. From there, they are automatically included in the application overview, and can be placed on the dock as a favourite, or arranged in folders in the application overview.
Still, you could configure your desktop to launch applications when double-clicking a .desktop
launcher in the file manager.
- Install
dex
. This is a command line tool that allows running any .desktop
file from the terminal. Install from the command line with sudo apt install dex
- Create a
.desktop
launcher for dex
in .local/share/applications
that launches dex
according to Exec=dex %U
(see example below).
- In your file manager, associate
.desktop
files with that launcher using Right-click, Properties, "Open with" tab.
Following is an example .local/share/applications/dex.desktop
file:
[Desktop Entry]
Name=Run desktop launcher
Comment=Runs .desktop files
Exec=dex %U
Terminal=false
Type=Application
Categories=Utility;
A more fundamental approach would be to move to a file manager that supports launching executables, or switch to a different desktop that supports this out of the box.