ArchiveOrangemail archive

dbus.lists.freedesktop.org


(List home) (Recent threads) (85 other Freedesktop.org lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Low traffic list: less than 3 messages per day
  • This list contains about 15,223 messages, beginning May 2003
  • 1 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

Mounting volumes through the command line

Ad
László Monda 1333231973Sat, 31 Mar 2012 22:12:53 +0000 (UTC)
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.-- 
László Monda <http://monda.hu>
Thiago Macieira 1333244124Sun, 01 Apr 2012 01:35:24 +0000 (UTC)
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.
László Monda 1333488215Tue, 03 Apr 2012 21:23:35 +0000 (UTC)
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 <http://monda.hu>
Yury G. Kudryashov 1333523219Wed, 04 Apr 2012 07:06:59 +0000 (UTC)
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)?-- 
Yury G. Kudryashov,
mailto: 
Chris Kühl 1333525220Wed, 04 Apr 2012 07:40:20 +0000 (UTC)
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
László Monda 1333551019Wed, 04 Apr 2012 14:50:19 +0000 (UTC)
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.-- 
László Monda <http://monda.hu>
László Monda 1333560187Wed, 04 Apr 2012 17:23:07 +0000 (UTC)
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.-- 
László Monda <http://monda.hu>
tjoen 1333274821Sun, 01 Apr 2012 10:07:01 +0000 (UTC)
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
László Monda 1333488383Tue, 03 Apr 2012 21:26:23 +0000 (UTC)
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...-- 
László Monda <http://monda.hu>
Home | About | Privacy