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.
Thanks in advance.
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.
On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira 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!> > -- > Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org > Software Architect - Intel Open Source Technology Center > PGP/GPG: 0x6EF45358; fingerprint: > E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 > > _______________________________________________ > dbus mailing list > > http://lists.freedesktop.org/mailman/listinfo... >
László Monda wrote: > On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira 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)?
On Wed, Apr 4, 2012 at 9:06 AM, Yury G. Kudryashov wrote: > László Monda wrote: > >> On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira 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 Cheers, Chris
On Wed, Apr 4, 2012 at 9:39 AM, Chris Kühl wrote: > On Wed, Apr 4, 2012 at 9:06 AM, Yury G. Kudryashov > wrote: >> László Monda wrote: >> >>> On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira 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/DFeetIt'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.
On Wed, Apr 4, 2012 at 4:48 PM, László Monda wrote: > On Wed, Apr 4, 2012 at 9:39 AM, Chris Kühl wrote: >> On Wed, Apr 4, 2012 at 9:06 AM, Yury G. Kudryashov >> wrote: >>> László Monda wrote: >>> >>>> On Sun, Apr 1, 2012 at 3:34 AM, Thiago Macieira 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/... Thank you all, my journey ends here.
On Sun, 2012-04-01 at 00:12 +0200, László Monda wrote: > 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.Put the mount command into your ~/.xsession If The system doesn't allow your own ~/.xsession then create /etc/X11/sessions/gnome.desktop with only: [Desktop Entry] Exec=custom> 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.That involves running nautilus, also in ~/.xsession Double work
On Sun, Apr 1, 2012 at 12:02 PM, tjoen wrote: > On Sun, 2012-04-01 at 00:12 +0200, László Monda wrote: >> 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. > > Put the mount command into your ~/.xsession > If The system doesn't allow your own ~/.xsession then create > /etc/X11/sessions/gnome.desktop > with only: > [Desktop Entry] > Exec=custom > >> 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. > > That involves running nautilus, also in ~/.xsession > Double workUnfortunately, I cannot mount a device which doesn't exist yet.> _______________________________________________ > dbus mailing list > > http://lists.freedesktop.org/mailman/listinfo...