Edited: Since the initial question was too general I will focus on only one program.
I am running the command libinput-gestures-setup start, which comes bundled with libinput-gestures and it seems to work but ps shows no record of the process started and libinput-gestures-setup status says that program hasn't been started. journalctl doesn't log anything on it. I would like to see everything that happens when I run the command so I can debug it and get it running.
I'm running Arch Linux on kernel 5.9.2, systemd 246.6, util-linux 2.35.2, xorg-server 1.20.9, herbstluftwm 0.8.3
strace <program>. This will tell you for example all files that program is opening, and more. (man strace) I guess you will get more advise on your query.