Use bolt i.e. boltctl to control thunderbolt foo from terminal

Hit up the terminal ctrl+alt+t then run this

sudo apt install -y bolt

After a reboot you should be able to use the thunderbolt settings, if this doesn't work for whatever reason enable it manually

sudo boltctl

Check out the refrences for further info

https://manned.org/boltctl

https://manpages.ubuntu.com/manpages/focal/man1/boltctl.1.html

https://www.systutorials.com/docs/linux/man/1-boltctl/

https://www.mankier.com/1/boltctl

A very good article which explain a lot about his technology i.e. thunderbolt and so on.

https://bytexd.com/using-thunderbolt-3-or-4-on-ubuntu/