Find the answer to your Linux question:
Results 1 to 6 of 6
I use FVWM and in F4 and F9, I've used a trick I picked up from Jim Carter to automount USB memory & other media (about half way down, he ...
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Location
    Los Angeles
    Posts
    40

    gnome-free automounting removable media in F10; gnome-volume-manager problem

    I use FVWM and in F4 and F9, I've used a trick I picked up from Jim Carter to automount USB memory & other media (about half way down, he has a section titled "Automatic Volume Mounting Without KDE or Gnome." ) The essential ingredients are hal, dbus, and gnome-volume-manager.

    essentially, it calls for these commands:
    Code:
    dbus=(`dbus-daemon --session --fork --print-pid=1 --print-address=1`)
    export DBUS_SESSION_BUS_ADDRESS=${dbus[0]}
    export DBUS_SESSION_BUS_PID=${dbus[1]}
    gnome-volume-manager --daemon=yes --sm-disable
    In F4, I needed all four lines. In F9, I just use the last line. But now in F10, it doesn't work at all!! Well, I can get automounting or something close to it if I run gnome, but I really do prefer a stripped-down fvwm session.

    I've verified that dbus sees the drive (using dbus-monitor), but gnome-volume-manager doesn't seem to do anything. Is there a problem with gnome-volume-manager, or could it be my setup?

    relevant packages:
    Code:
    F10
    gnome-volume-manager.x86_64      2.24.0-1.fc10
    dbus.x86_64                      1:1.2.4-2.fc10
    hal.x86_64                       0.5.12-14.20081027git.fc10
    
    F9
    gnome-volume-manager.x86_64      2.17.0-8.fc8
    dbus.x86_64                      1.2.1-1.fc9
    hal.x86_64                       0.5.11-0.7.rc2.fc9
    
    F4
    gnome-volume-manager-1.3.1-1.src.rpm
    dbus-0.33-3.fc4.1.src.rpm
    hal-0.5.2-2.fc4.1.src.rpm
    [I need to update my profile. I'm now running F10 on a 3 GHz Core 2 Duo E8400]

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Location
    Los Angeles
    Posts
    40
    "SOLVED." Well, not really. It appears that g-v-m has been eviscerated. Functionality in the gnome world has moved to nautilus, which I find baffling.

    Bug 509823 - remove autorun/automount options (gnome-volume-manager)
    Bug 564919 - gnome-volume-manager still providing preferences (GUI and gconf) that no longer operate (gnome-volume-manager)

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Location
    Los Angeles
    Posts
    40
    SOLVED (90%)!

    grabbed a copy of gnome-volume-manager-2.17.0-8.fc8.x86_64.rpm from pbone. (mostly) Nautilus-free automounting of usb's restored!

    A nautilus file browser opens, but I get to keep my fvwm root window. Now I just need to figure out how to suppress the nautilus window from popping up.

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Location
    Los Angeles
    Posts
    40

    gnome-volume-manager automounting solved 100%

    Thank you, Jeff Stedfast.

    g-v-m full functionality is just a switch away:

    First, to take care of dependencies, it might be wise to use your favorite package loader to install and then uninstall a packaged version of g-v-m.

    then you compile from source with "--enable-automount"

    Code:
    git clone git://git.gnome.org/gnome-volume-manager
    cd gnome-volume-manager
    ./autogen.sh --enable-automount
    make
    sudo make install

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Thanks for following up on this. Good to know there are options.

    I've always just used the file manager thunar and thunar-volume-manager for automounting.
    Thunar Volume Manager (thunar-volman) [Xfce Goodies]

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Location
    Los Angeles
    Posts
    40

    automounting and file managers

    Thanks for the heads up on thunar and thunar-volume-manager! I use emacs as my file browser, and now that emacs-23 has tools to talk to dbus, maybe someone will make an automounter that runs within emacs!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...