How to add custom launcher to Qubes Domains?

Hi,

I would like to add custom shortcut (launcher) to the qui-domains menu, e.g. an easy way to start a root terminal (for qubes which don’t have passwordless sudo) or something else.

How can this be done?

You do not need to (on Qubes OS r4.3). Just hold down shift key and hover mouse to Run Terminal item. It will be morphed to Run Root Terminal.

Also the last two items will be morphed to Force Shutdown and Force Restart if you hold down shift key.

But to answer the original question, I have to say that it is only possible to do it programmatically (in Python). You have to read its source.

@alimirjamali

Thank you! So, I will just wait for 4.3 official release.