Re: Get file properties via dbus command
Ahmad Ismail <[email protected]> Fri, 23 Jun 2023 15:14:02 +0600
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CAHAhJwL9Vef972ZAYCxZDLogWQSS_4Pv1xG460itm0h-MLO+UA@mail.gmail.com> |
Suppose I have file like /home/ismail/Desktop/file.txt or, file:/// home/ismail/Desktop/file.txt I want to see it's properties using cli. What command shall I use? How to get the StartupId and plug it to $ dbus-send --session --print-reply --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItemProperties On Fri, Jun 23, 2023 at 7:10 AM Lawrence D'Oliveiro <[email protected]> wrote: > On Fri, 23 Jun 2023 06:36:57 +0600, Ahmad Ismail wrote: > > > I want to get file / folder properties via the dbus command. > > > > I am quiet positive that the command is something like: > > > > $ dbus-send --session --print-reply > > --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 > > org.freedesktop.FileManager1.ShowItemProperties > > The spec is here > <https://www.freedesktop.org/wiki/Specifications/file-manager-interface/>. > Note that these commands do not return the info, they show it to the > user. >