throttle linkage cable Q

I cant get this camera to connect to my new computer. what I'm thinking (at the moment it can change) is to cut the small ball at the pedal end then pull the inner steel cable out at the carb end then cut the sheath at the pedal end to the length I need then drill out to clean the sheath debris in that pedal metal fitting then superglue the corrected length sheath back into the metal piece then insert the inner cable at the carb end & shorten it at the pedal end as needed & clamp it with the cable knarp mini cable clamp(s) on the way from Ebay.
I bet that'll work out just fine.