I would like to build a bunch of little custom actions in Thunar, but I can't get to organise them properly since I don't know how to make 'child menus' (like that Create Document and in the screenshot below). Anyway, if I were to right-click somewhere empty in a folder in Thunar, a little menu pops up:

root menu

It would be nice if I could add there something like:

Create new:
    - Python script
    - bash script
    - ...
git:
    - some_automated_process
    - another_automated_process
    - ...

...etc. I'm sure you can see what I mean. I've tried googling for the issue and some post mentions <submenu> syntax, I've tried various forms of the syntax but to no avail.

How can I create child menus (like 'Create Document' in the screenshot above)?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.