From 0c221c58fe82d0901edcdb212808c05f1df65319 Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Sat, 12 Apr 2008 07:46:12 +0000 Subject: [PATCH] Desktop automounting pain --- ubuntu/2008-04-12-desktop-automount-pain.txt | 54 ++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 ubuntu/2008-04-12-desktop-automount-pain.txt diff --git a/ubuntu/2008-04-12-desktop-automount-pain.txt b/ubuntu/2008-04-12-desktop-automount-pain.txt new file mode 100644 index 00000000..668c45e1 --- /dev/null +++ b/ubuntu/2008-04-12-desktop-automount-pain.txt @@ -0,0 +1,54 @@ +Desktop automounting pain + +
Ubuntu's live CD installer, Ubiquity, needs to suppress desktop +automounting while it's doing partitioning and generally messing about with +mount points, otherwise its temporary mount points end up busy on unmount +due to some smart-arse desktop component that decides to open a window for +it.
+ +To date, it employs the following methods, each of which was sufficient +at the time:
+ +/desktop/gnome/volume_manager/automount_drives
and
+ /desktop/gnome/volume_manager/automount_media
gconf keys to
+ false
.
+ kded
to unload its medianotifier
module,
+ and load it again just before the installer exits.
+ /apps/nautilus/desktop/volumes_visible
gconf key to
+ false
.
+ AutomountDrives
and AutomountMedia
keys
+ in $HOME/.config/Thunar/volmanrc
to FALSE
.
+ /apps/nautilus/preferences/media_automount
and
+ /apps/nautilus/preferences/media_automount_open
gconf keys to
+ false
.
+ hal-lock --interface
+ org.freedesktop.Hal.Device.Storage --exclusive
.
+ /apps/nautilus/preferences/media_autorun_never
gconf
+ key to true
+ (experimental,
+ but apparently now required since nautilus uses the gio volume
+ monitor).
+ This is getting ridiculous. Dear desktop implementors: +please pick a configuration mechanism and stick to it, and provide backward +compatibility if you can't. This is not a rocket-science concept.
+ +I rather liked the hal-lock
mechanism; it was simple and
+involved minimal fuss. I had hoped that it might end up as a standard, but I
+guess that would be too easy.