<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Fri, 23 Jun 2023, at 10:14, Ahmad Ismail wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div dir="ltr">Suppose I have file like /home/ismail/Desktop/file.txt or, <span style="color:rgb(46, 26, 5);"><span class="font" style="font-family:monospace;"><span class="size" style="font-size:13.13px;">file:///</span></span></span>home/ismail/Desktop/file.txt<br></div><div dir="ltr"><br></div><div>I want to see it's properties using cli.<br></div><div><br></div><div>What command shall I use?<br></div></div></blockquote><div>Something like this will work:<br></div><div><br></div><div>dbus-send --session --print-reply --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItemProperties array:string:"file:///home/ismail/Desktop/file.txt" string:""<br></div><div><br></div><div>But like Lawrence said, it may not do what you want. This asks your file manager to show its 'file properties' window; it doesn't give the information back in the terminal. If you want to show or use the information inside the terminal, you probably don't want to use D-Bus.<br></div><div><br></div><div>Thomas<br></div><div><br></div></body></html>