Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 09:14:24 +0800
From:      "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
To:        "gnome@freebsd.org" <gnome@freebsd.org>
Subject:   gnome-volume-manager-2.17 in gnome-2.20
Message-ID:  <1192583665.1562.10.camel@localhost>

next in thread | raw e-mail | index | archive | help
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);





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1192583665.1562.10.camel>