Sliding Canopy
Most people use an air cylinder to make functional canopys. Either Sliding or the hinged type. You will need one that has a long throw. For the sliding type you can attach it to a cable, pull /pull style and that should get the job done for you.