You can add actions to one or more .desktop files and paste the Exec= command from whichever packages you want to launch. I made a post here about adding actions to .desktop files.
This would be how to make a folder-like .desktop file:
-
Create
.desktopfile in~/.local/share/applications/touch ~/.local/share/applications/folder.desktop -
Open
.desktopfile in a text editor like gedit and add this:
[Desktop Entry]
Name=Folder
Type=Application
Icon=/PATH/TO/ICON/
Exec=DEFAULT APPLICATION OR COMMAND
Categories=Utility;
##Define Actions (as many as you want)
Actions=app_1;app_2;app_3;
[Desktop Action app_1]
Name=APPLICATION NAME (or whatever you want)
Exec=
[Desktop Action app_2]
Name=APPLICATION NAME (or whatever you want)
Exec=
[Desktop Action app_3]
Name=APPLICATION NAME (or whatever you want)
Exec=
-
For the packages that you want to add, open the
.desktopfile in/usr/share/applications/and copy/paste theExec=line into your new.desktopfile for one of the actions. -
To run one of the commands, tap and hold on the
.desktopicon (or right-click it if you have a mouse connected) and tap (or click) the action on the popup menu.
This is how I handle my Librem 5, and I also have custom scripts for useful things.