hide browser agent in Qubes-Whonix

How can I make sure my user-agent is not being shown

You should not. Would make you stand out more. Instead just use Tor Browser.

Why? See here:

If you still want to change the browser agent, it can be done as per:

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]