Mounting volumes through the command line
László Monda
laci at monda.hu
Wed Apr 4 10:22:46 PDT 2012
On Wed, Apr 4, 2012 at 4:48 PM, László Monda <laci at monda.hu> wrote:
> On Wed, Apr 4, 2012 at 9:39 AM, Chris Kühl <blixtra at gmail.com> wrote:
>> On Wed, Apr 4, 2012 at 9:06 AM, Yury G. Kudryashov
>> <urkud.urkud at gmail.com> wrote:
>>> László Monda wrote:
>>>
>>>> On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira <thiago at kde.org> wrote:
>>>>> On domingo, 1 de abril de 2012 00.12.32, László Monda wrote:
>>>>>> Hi List,
>>>>>>
>>>>>> There's a second HDD in my laptop which is fully encrypted. I saved
>>>>>> its password and I can easily mount it by simply clicking on its label
>>>>>> in Nautilus. I'd like to automatically get this HDD mounted upon
>>>>>> logging into Gnome.
>>>>>>
>>>>>> I'm sure that it's possible somehow, either through D-Bus or by
>>>>>> calling Nautilus with some arguments. D-Bus may be more beneficial
>>>>>> because it wouldn't involve any windows popping up.
>>>>>>
>>>>>> Please help or direct me to somewhere where somebody can answer my
>>>>>> question.
>>>>>
>>>>> Please ask in a Nautilus mailing list what you must do to accomplish that
>>>>> goal. Once you know which call you must make (service, object, interface,
>>>>> method and parameters to send), we can help you craft the call in a
>>>>> script or in your program.
>>>>
>>>> I've already asked them on their mailing list, will try another
>>>> channel this time. Thanks!
>>> You can try to introspect org.freedesktop.UDisks system service. I use
>>> qdbus/qdbusviewer for this but you can try gdbus as well.
>>>
>>> BTW, is there any gtk+ GUI for d-bus introspection and invoking methods
>>> (like qdbusviewer)?
>>
>> Yes, it's called D-Feet.
>>
>> https://live.gnome.org/DFeet
>
> It's an excellent tool! Is there any way to dump the actual D-Bus
> calls live? That way it'd be a no-brainer to see which call Nautilus
> is using.
Just for the record guys, I've just figured this out with the help of
the Nautilus folks:
http://mail.gnome.org/archives/nautilus-list/2012-April/msg00002.html
Thank you all, my journey ends here.
--
László Monda <http://monda.hu>
More information about the dbus
mailing list