Arduino Bluetooth (HC-05) Programming on Linux Ubuntu

I am having issues connecting to the bluetooth module as a serial port on Ubuntu. I was recently working on a project with my arduino and the HC-05 where I use the HC-05 module to connect to an arduino wirelessly and upload code as seen in this tutorial: Arduino Project Hub

The act of starting a connection with the HC-05 module causes an output pin to reset the arduino. This reset is essential for the code to go onto the board. I was able to get a connection using the blueman bluetooth manager, but this method maintained a constant connection. I need for the connection to only start when I press the upload button on the Arduino IDE.

I know the hardware connections are correct since I was successful in uploading a code with a Windows computer. So I do have a working solution, but I'd rather use Linux/Ubuntu if possible.

I would appreciate any input. I am more familiar with hardware than software so I could really use some help on this project.

Thanks in advance.

neither, Arduino Web editor.
No creat system.

Takao