I have a 2017 MacBook Pro 13" without touchbar (2 usb-c ports) I am trying to install ubuntu from a usb to another usb, but my keyboard and trackpad is not working on the installation, or live ubuntu. I tried connecting a wireless mouse with a usb input, and it works. But then I am left with only 1 usb port available. Is there a way to use my MacBook's keyboard and trackpad instead? Because even if a buy like a usb-c to 3 usb-a adapter, I don't really want to use external keyboard and mouse all the time. Thank you..
The newest line of MacBook Pros is poorly supported by Ubuntu (and vice versa). While it is possible to get Ubuntu working, it will take some extra work until Ubuntu catches up with the hardware changes.
To get your builtin trackpad and keyboard working, use a USB keyboard and mouse for the installation (you'll likely run into NVMe SSD issues that you can learn more about here when selecting your partition setup)
When your install is complete, refer to this link to regain control of your builtin hardware.