[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: How to work with Nemo file manager?
From:       Ahmad Ismail <ismail783 () gmail ! com>
Date:       2023-07-03 23:31:04
Message-ID: CAHAhJw+faRYX5f1v3_J6FqD5pnNvt+5eQPA9=3qirR5PAXaVCw () mail ! gmail ! com
[Download RAW message or body]

I asked in the nemo discussion board, but did not get any response yet.
Then I asked in stackoverflow. Here are the answers:

https://stackoverflow.com/a/76597788/1772898
https://stackoverflow.com/a/76607534/1772898

So basically the commands are:

busctl --user call org.Nemo /org/Nemo org.Nemo.FileOperations CopyFile ssss
file:$HOME/Downloads/test.txt test.txt file:$HOME/Downloads test2.txt
busctl --user call org.Nemo /org/Nemo org.Nemo.FileOperations CopyURIs ass
2 file:$HOME/Downloads/test.txt file:$HOME/Downloads/test2.txt file:$HOME

busctl --user tree org.Nemo --list | grep -P "window/\d+"
busctl --user call  org.Nemo /org/Nemo/window/1 org.freedesktop.DBus.Peer
GetMachineId

These solutions work for me. However, I am all invested in dbus. So, please
let me know if anything can be improved here.

When I asked about the documentation (*to find the correct command line
syntax*), he suggested looking at:
* man pages of dbus-send and busctl
* used D-Feet to get all the information

Is it? Is there anything more we need to know or look at *to find the
correct command line syntax*?


On Tue, Jun 27, 2023 at 2:12 PM Ahmad Ismail <ismail783@gmail.com> wrote:

> Thank you very much for the analogy. I better ask the nemo team. Thanks
>
> On Sun, Jun 25, 2023 at 11:46 PM Thiago Macieira <thiago@kde.org> wrote:
>
>> On Saturday, 24 June 2023 14:14:17 PDT Ahmad Ismail wrote:
>> > As you can see in the above image there are (`org.Nemo`) :
>> >
>> > /org/Nemo/window/1
>> > /org/Nemo/window/2
>> > /org/Nemo/window/3
>> > /org/Nemo/window/4
>>
>> You should direct your questions to the community that develops and
>> supports
>> Nemo. We're just the tool you're using to communicate with it.
>>
>> The example I give is asking your mail delivery person to help with your
>> tax
>> forms because you got them and send the returns back in the mail. They
>> may
>> know something, but that advice may not be the best or even correct; you
>> should contact your accounting professional instead.
>>
>> --
>> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>>    Software Architect - Intel DCAI Cloud Engineering
>>
>>
>>
>>

[Attachment #3 (text/html)]

<div dir="ltr">I asked in the nemo discussion board, but did not get any response \
yet. Then I asked in stackoverflow. Here are the answers:<div><br></div><div><a \
href="https://stackoverflow.com/a/76597788/1772898">https://stackoverflow.com/a/76597788/1772898</a></div><div><a \
href="https://stackoverflow.com/a/76607534/1772898">https://stackoverflow.com/a/76607534/1772898</a><br><br></div><div>So \
basically the commands are:<br></div><div><br></div><div>busctl --user call org.Nemo \
/org/Nemo org.Nemo.FileOperations CopyFile ssss file:$HOME/Downloads/test.txt \
test.txt file:$HOME/Downloads test2.txt<br></div><div>busctl --user call org.Nemo \
/org/Nemo org.Nemo.FileOperations CopyURIs ass 2 file:$HOME/Downloads/test.txt \
file:$HOME/Downloads/test2.txt file:$HOME<br></div><div><br></div><div>busctl --user \
tree org.Nemo --list | grep -P &quot;window/\d+&quot;<br></div><div>busctl --user \
call   org.Nemo /org/Nemo/window/1 org.freedesktop.DBus.Peer \
GetMachineId<br></div><div><br></div><div>These solutions work for me. However, I am \
all invested in dbus. So, please let me know if anything can be improved here.  \
</div><div><br></div><div>When I asked about the documentation (<b>to find the \
correct command line syntax</b>), he suggested looking at:</div><div>*  man pages of \
dbus-send and  busctl</div><div>* used D-Feet to get all the information  \
</div><div><br></div><div>Is it? Is there anything more we need to know or look at  \
<b>to find the correct command line syntax</b>?</div><div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 27, 2023 at \
2:12 PM Ahmad Ismail &lt;<a \
href="mailto:ismail783@gmail.com">ismail783@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thank \
you very much for the analogy. I better ask the nemo team. Thanks<br></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 25, 2023 at \
11:46 PM Thiago Macieira &lt;<a href="mailto:thiago@kde.org" \
target="_blank">thiago@kde.org</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">On Saturday, 24 June 2023 14:14:17 PDT Ahmad \
Ismail wrote:<br> &gt; As you can see in the above image there are (`org.Nemo`) :<br>
&gt; <br>
&gt; /org/Nemo/window/1<br>
&gt; /org/Nemo/window/2<br>
&gt; /org/Nemo/window/3<br>
&gt; /org/Nemo/window/4<br>
<br>
You should direct your questions to the community that develops and supports <br>
Nemo. We&#39;re just the tool you&#39;re using to communicate with it.<br>
<br>
The example I give is asking your mail delivery person to help with your tax <br>
forms because you got them and send the returns back in the mail. They may <br>
know something, but that advice may not be the best or even correct; you <br>
should contact your accounting professional instead.<br>
<br>
-- <br>
Thiago Macieira - thiago (AT) <a href="http://macieira.info" rel="noreferrer" \
target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" \
rel="noreferrer" target="_blank">kde.org</a><br>  Software Architect - Intel DCAI \
Cloud Engineering<br> <br>
<br>
<br>
</blockquote></div>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic