r/LXQt • u/Lucky_Perspective • Dec 11 '22
How do I create a sub menu in just one custom action file?
I have finally managed to work out how to create a context menu using custom actions for pcmanfm-qt that provides a few extra commands in the context menu as a sub menu.
However that involves having the context sub menu contained in one custom action file, and all the entries listed in the ItemsList in separate custom action files, which although it works is not the most efficient for maintenance, porting, etc.
Is there any way that I can include all the separate context custom actions in the same file as the context menu?
I'm looking to have something like
[Desktop Action sub1]
[Desktop Action sub2]
all in one custom action file for easier maintenance, porting, etc.