Hello. I'm sorry I missread that. The programmer I'm using Is a original Arduino M0 pro board turned into a SWD programmer by removing the two zero ohms jumper and using the SWD pins as a programmer to the clone board that my friend designed.
This is how i have it setup in the IDE. Under under
boards i have Arduino M0 Pro(programming Port)
Ports it is /dev/ttyacm0(arduino zero programming M0 pro(programming port))
and the programmer is atmel EDBG
This is how i have it setup on the windows laptop linus the com port is different but other then that it is the same. On my laptop it works i can bootload it and upload sketches with no problem.
The second part the CMSIS-DAP i didn't see that until i just normally upload a sketch after you replyed to my post. I didn't even think of doing a normal upload i was only trying to do a bootloading.
Joseph