<div dir="ltr"><div dir="ltr">Suppose I have file like /home/ismail/Desktop/file.txt or, <span style="color:rgb(46,26,5);font-family:monospace;font-size:13.13px">file:///</span>home/ismail/Desktop/file.txt</div><div dir="ltr"><br></div><div>I want to see it's properties using cli.</div><div><br></div><div>What command shall I use?</div><div><br></div><div>How to get the <span style="color:rgb(46,26,5)">StartupId and plug it to </span></div><div><span style="color:rgb(46,26,5)"><br></span></div><div>$ dbus-send --session --print-reply --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItemProperties<span style="color:rgb(46,26,5)"><br></span></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 23, 2023 at 7:10 AM Lawrence D'Oliveiro <<a href="mailto:ldo@geek-central.gen.nz">ldo@geek-central.gen.nz</a>> 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 Fri, 23 Jun 2023 06:36:57 +0600, Ahmad Ismail wrote:<br>
<br>
> I want to get file / folder properties via the dbus command.<br>
> <br>
> I am quiet positive that the command is something like:<br>
> <br>
> $ dbus-send --session --print-reply<br>
> --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1<br>
> org.freedesktop.FileManager1.ShowItemProperties<br>
<br>
The spec is here<br>
<<a href="https://www.freedesktop.org/wiki/Specifications/file-manager-interface/" rel="noreferrer" target="_blank">https://www.freedesktop.org/wiki/Specifications/file-manager-interface/</a>>.<br>
Note that these commands do not return the info, they show it to the<br>
user.<br>
</blockquote></div></div>