When inserting a stick, no nautilus window should steal focus

Bug #269786 reported by probono on 2008-09-13
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)

Bug Description

Binary package hint: usb-creator

As long as the tool is running, Nautilus should be prevented from opening windows when a USB stick is inserted.

Currently, when one runs the tool and then inserts the target stick, then Natuilus takes over and steals the focus.

liveusb takes care of this by calling the respective code that is already present in ubiquity, see

Evan (ev) on 2008-09-29
Changed in usb-creator:
importance: Undecided → Wishlist
status: New → Confirmed
Evan (ev) wrote :

I've looked into this a bit more today, and as far as I can tell, the options are quite limited.

In the nautilus source, the nautilus_autorun function returns immediately if either the media_autorun_never gconf key is set, or if the should_autorun_mount function returns false. The latter will only do autorun, as the code says, "on local files or files where g_volume_should_automount() returns TRUE", with local files being non-gvfs paths.

So the options at present are to either mount in a hidden directory, or disable autorun around when we're mounting filesystems, dealing with the fallout from that.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers