gnome-volume-manager-2.17 in gnome-2.20

Eric L. Chen d9364104 at mail.nchu.edu.tw
Tue Oct 16 18:41:10 PDT 2007


Hi,
My gnome-volume-manager cannot startup after upgrade to gnome-2.20.
That caused gnome will not mount USB disk automatically, this is a
little problem because I've be using gnome+freebsd as my desktop 
for a long time.

After googled, this is not FreeBSD specified problem, it happened
in archlinux, too. See http://bbs.archlinux.org/viewtopic.php?id=37544
Discuss more at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428810
I applied their patch and my gnome now can mount USB disk/CDROM
automatically.

/Eric

Their workaround:
--- src/manager.c       2007-10-12 10:48:09.000000000 +0800
+++ src/manager.c       2007-10-12 10:49:11.000000000 +0800
@@ -3419,12 +3419,15 @@
        if (secret_mode)
                fprintf (stdout, "Managing volumes since the summer of
'89\n");
 
+#if 0 /* Workaround for GNOME-2.20 */
        if (daemonize && daemon (0, 0) < 0) {
                warn ("daemonizing failed: %s", g_strerror (errno));
                return 1;
        }
+#endif
 
        client = gnome_master_client ();
+#if 0 /* Workaround for GNOME-2.20 */
        if (gvm_get_clipboard () && gvm_local_user ()) {
                gnome_client_set_restart_style (client,
GNOME_RESTART_ANYWAY);
        } else {
@@ -3434,6 +3437,7 @@
 
                return 1;
        }
+#endif
 
        g_signal_connect (client, "die", G_CALLBACK (gvm_die), NULL);




More information about the freebsd-gnome mailing list