Linux - How to start Tribler with script?

My VPN client (Torguard) has a feature that executes scripts after it connects and I would like to use this feature to start Tribler. I’ve tried several approaches that work sometimes, but for some reason none are reliable. In fact some methods just stop working completely.

What is the best way to launch Tribler from a script?