Expanded EFM Actions only act on directories not files? #15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
As of this commit
422c0b6765
it became possible to add other items to the EFM 'Actions' menu. I have created several action Desktop files and they now appear as expected in the Action menu:http://bandshed.net/images/screenshots/shot-2022-07-19_14-39-04.jpg
Here is an example of a Desktop file for an Action to install a Debian Package, note this Desktop file works as-is in other File Managers as a generic Custom Action so it is a valid working Desktop file:
If a Debian Package (.deb) file is selected within a directory and right-clicked on to show the 'Actions' menu and 'Install Debian Package' is selected as an Action then the file name and location is not passed to the install script, the directory name and location is which causes the script to fail because a valid file wasn't presented to be processed. The purpose of customized Actions in other File Managers is usually to process files not the directories themselves with the obvious exception of archiving a directory.
This is not limited to the Deb Installing Action, all Actions which involve selected files all fail with the same issue..
Can the recognition of file mimetypes and ability to select and process files within the directories be added to this EFM Action feature? This would really expand the usefulness and abilities of EFM!
After some discussion on IRC it was found Filetype detection could be attained by putting the appropriate mimetype as follows (wav file example):
X-Enlightenment-Action-Mime=audio/x-wav
However the issue of any selected files being passed to the command line remains... When individual files are selected for processing the folder location not the file location gets passed to the command line so individual files cannot be processed with the Action.
After git pull and building from
bea94314bd
I'm running into some issues, better explained in a screencast Video here:
http://bandshed.net/video/EFM.mp4