Unwanted MTP drives in a Go DRIVEBUTTONS button

I've got a toolbar button using "Go DRIVEBUTTONS=+xy,noletters,iconlettersoff" which is only supposed to show drives mapped to either X: or Y:, but whenever I plug my phone in, Opus generates a button for the phone's MTP connection. I'd rather it didn't show this, as the drive button is sitting next to a more general drive button which also shows the MTP drive.

I've tried adding the switch "-mtp" to the button, as shown in this old thread, but it doesn't make a difference (and isn't that just telling the button not to show drive letters M, T and P?).

I've also tested a few simpler versions: Go DRIVEBUTTONS (shows all drives, as expected, plus the MTP), Go DRIVEBUTTONS=mtp (shows only the MTP) and Go DRIVEBUTTONS=-mtp (seems functionally identical to Go DRIVEBUTTONS).

Am I missing something, or is this a bug?

The way MTP drives don't have drive letters may mean the drive-letter filtering is ignoring them, although it should probably exclude them when using something like +xy.

In the meantime, give this a try:

Go DRIVEBUTTONS=+xy,fixed,network,cdrom,removable

If that doesn't work, try without "removable" (in case that includes mtp, although I don't think it does):

Go DRIVEBUTTONS=+xy,fixed,network,cdrom

First one does it, thanks. Also, are you ever not online? That was a very fast response.

1 Like