0

I'm working with lubuntu 22.04. When I insert an USB device into one of the USB port of the system the device is automatically mounted and a files browse window is open on the screen.

I need to maintain the automount of the device but I need to stop the opening of the files browse window.

I have tried to use:

gsettings set org.gnome.desktop.media-handling automount false

My intentions were to disable the automount and after that to define a new script (based on this link) that mounts the USB device without open the browse window, but the previous command disables the automount of all devices (keyboard, mouse and so on).

I have searched a lot and read many post (for example this and this other about the same topic), but none give me a satisfactory answer.

So how can I disable the opening of the browse window when a USB device is automounted?

2 Answers2

2

It's the third option to uncheck to achieve what you like. Check also the option of the "mount" widget in the panel. All of "volume" is also about USB.

enter image description here

1

If you had gnome instead of lubuntu this would work. You have to make it in filemanager.

pcmanfm-qt --show-pref general

Sorry for german text in image.

filemanager

Where my mouse corser is it have to be untickt.

nobody
  • 5,437