When inserting a stick, no nautilus window should steal focus
Bug #269786 reported by
probono
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
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
http://
Changed in usb-creator: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
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.