MicroUSB cables are extremely finnicky when it comes to having all connectors having contact inside the microUSB female port on the phone. Every time my phone moves even slightly when developing Android apps, my phone disconnects then reconnects, opening up a new gnome window or two. Believe it or not, this is not an issue with the phone, as it happens with multiple phones. It also happens with multiple microUSB cords. The hardware's disconnect/reconnect is not an Ubuntu issue, but the fact that there is an annoying pop-up of the disk contents every time it happens is an Ubuntu issue, especially since unlike a USB drive, I don't need to ever use a GUI for an android phone connection. I only need it to use with command line software like adb
or third-party guis like android-studio
I still want my device to mount automatically, I just don't want gnome to issue a pop-up with its contents. Is there any way I can prevent myself from having to close 100 gnome windows after an hour of Android development?
The window is the usual file explorer, like what comes up when you run gnome-open ./