Create a file "~/test.txt". Press Alt-F2 and type "~/test.txt" and enter. Actual: Error is shown Expected: Run "mousepad ~/test.txt" ".txt" is assigned to "text/plain" which is assigned to be opened by mousepad. Of course "~/test.txt" has to be first detected to be a non-executable file, i.e. shell-like tide expansion needed.
xfrun is an application launcher, it's not a file manager. Why would it need to know about file types to run applications?
Thunar could implement the xfrun interface and provide the requested functionality.
> xfrun is an application launcher, it's not a file manager. Why would it need to know about file types to run applications? Because you can pick almost any application launcher in both free and non-free world and find this functionality implemented, both this bug and bug 2504. > Thunar could implement the xfrun interface and provide the requested functionality. Perhaps a good idea. What does the "xfrun interface" mean? Do you mean thunar should implement the whole application?
(In reply to comment #3) > > Thunar could implement the xfrun interface and provide the requested > functionality. > Perhaps a good idea. What does the "xfrun interface" mean? Do you mean thunar > should implement the whole application? Yes.
What about simply letting xfrun call exo-open if it fails to open the executable? Then if exo-open cannot open the file either it can still show an error dialog.
Fixed in git master.