Score:0

How to disable on lubuntu 22.04 the opening of the browse window when a USB device is automounted?

pg flag

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 mounted automatically mounted and a 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 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?

Score:2
ph flag

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

frankfalse avatar
pg flag
Thank you very much
Score:1
gh flag

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.

frankfalse avatar
pg flag
Thank you very much (yesterday I didn't understand the suggestion because the german language)
nobody avatar
gh flag
No problem i haven't figured out how to show in English.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.