open ~/.config/spacefm/session in your favorite text editor
search a string related to your change. In my case that was related to disabling Trash menu item if filesystem was not ext4, so I searched for "ext4". All the context filters for one menu item are on a single line, as your filter is the last added, it will be at he end of the line:
How i found this? I use the root account where I did not changed the filters. I made a copy of the session file, added the same filter, the compared the two files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I tried some contextual filters for a plugin. Unfortunately my last test
do not let me activate the menu item anymore, it is always greyed out.
My question is: how do I edit this menu item now as SpaceFM allows only
to do this on an highlighted item? (that is IMHO a stupid design....)
It is to late to revert to the last spacefm session, and I do no want to
delete my spacefm config folder
Thierry B.
Well, I found how to revert changes, here is how:
~/.config/spacefm/session
in your favorite text editorBefore:
cstm_4e316476-cxt=1%%%%%1%%%%%1%%%%%1%%%%%%%%%%2%%%%%7%%%%%/Trash/files%%%%%2%%%%%7%%%%%/Trash/info%%%%%19%%%%%0%%%%%ext4
Remove the characters after "Trash/info" :
After:
cstm_4e316476-cxt=1%%%%%1%%%%%1%%%%%1%%%%%%%%%%2%%%%%7%%%%%/Trash/files%%%%%2%%%%%7%%%%%/Trash/info
How i found this? I use the root account where I did not changed the filters. I made a copy of the session file, added the same filter, the compared the two files.
the answer here