Expanded EFM Actions only act on directories not files?
#15
Open
opened 1 year ago by AVLinux
·
2 comments
No Branch/Tag Specified
devs/asdfuser/comp-sounds
devs/bu5hm4n/bsd_build_fix
devs/bu5hm4n/bugfixing
devs/bu5hm4n/debug_code
devs/bu5hm4n/econfigure2
devs/bu5hm4n/fix
devs/bu5hm4n/fixes
devs/bu5hm4n/luncher_verbose
devs/bu5hm4n/meson_wip
devs/bu5hm4n/mixer-fix
devs/bu5hm4n/mixer_fix
devs/bu5hm4n/mixer_fix_range
devs/bu5hm4n/mixerfun
devs/bu5hm4n/netstart_fixes
devs/bu5hm4n/pointer-fix
devs/bu5hm4n/recognition
devs/bu5hm4n/sandbox_fix
devs/bu5hm4n/swipe_real
devs/bu5hm4n/systray
devs/captainigloo/eglfs
devs/captainigloo/eglfs_rpi
devs/derekf/for_derbyw
devs/derekf/wip2
devs/derekf/wip_viewporter
devs/devilhorns/drm_rotation
devs/devilhorns/e_comp_wl
devs/devilhorns/e_wayland
devs/devilhorns/ecore_drm2
devs/devilhorns/ecore_wl2
devs/devilhorns/output
devs/devilhorns/rotation
devs/devilhorns/wl_buffer
devs/devilhorns/xwayland
devs/discomfitor/action_route
devs/discomfitor/debug
devs/discomfitor/eo
devs/discomfitor/junk
devs/discomfitor/output_states
devs/discomfitor/quicklaunch
devs/discomfitor/xdg-shedsmanship
devs/illogict/signals_priority
devs/princeamd/enlightenment-0.17-elive
devs/sachiel/e19
devs/stanluk/a11y
devs/stefan/wl-session-recovery
devs/yoz/bryce
devs/yoz/imfos
enlightenment-0.17
enlightenment-0.18
enlightenment-0.19
enlightenment-0.20
enlightenment-0.21
enlightenment-0.22
enlightenment-0.23
enlightenment-0.24
f/fix_xlib_protocol_error
feature/quicklaunch
feature/wayland/multi-output
master
v-0.25.0
v0.17.0
v0.17.1
v0.17.2
v0.17.2.1
v0.17.3
v0.17.4
v0.17.5
v0.17.6
v0.18.0
v0.18.0-alpha1
v0.18.0-alpha3
v0.18.0-alpha4
v0.18.0-rc1
v0.18.0-rc2
v0.18.1
v0.18.2
v0.18.3
v0.18.4
v0.18.5
v0.18.6
v0.18.7
v0.18.8
v0.18.9
v0.19.0
v0.19.0-alpha1
v0.19.0-alpha2
v0.19.0-rc3
v0.19.1
v0.19.10
v0.19.11
v0.19.12
v0.19.14
v0.19.2
v0.19.3
v0.19.4
v0.19.5
v0.19.6
v0.19.7
v0.19.8
v0.19.9
v0.20.0
v0.20.0-alpha
v0.20.0-beta
v0.20.0-rc
v0.20.1
v0.20.2
v0.20.3
v0.20.4
v0.20.5
v0.20.6
v0.20.7
v0.20.8
v0.20.9
v0.21.0
v0.21.0-alpha
v0.21.0-beta
v0.21.0-rc
v0.21.1
v0.21.10
v0.21.11
v0.21.2
v0.21.3
v0.21.4
v0.21.5
v0.21.6
v0.21.7
v0.21.8
v0.21.9
v0.22.0
v0.22.0-alpha
v0.22.0-beta
v0.22.0-rc
v0.22.1
v0.22.2
v0.22.3
v0.22.4
v0.23.0
v0.23.0-alpha
v0.23.0-beta
v0.23.1
v0.24.0
v0.24.1
v0.24.2
v0.25.0
v0.25.1
v0.25.2
v0.25.3
v0.25.3-2
v0.25.4
Labels
Apply labels
Clear labels
No items
No Label
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
No due date set.
Dependencies
No dependencies set.
Reference: enlightenment/enlightenment#15
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
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