File Manager DBus Interface

Applications sometimes need to interact with the desktop's file manager. This page documents a simple DBus interface that can be used for that purpose.

  <interface name='org.freedesktop.FileManager1'>
    <method name='ShowFolders'>
      <arg type='as' name='URIs' direction='in'/>
      <arg type='s' name='StartupId' direction='in'/>
    </method>
    <method name='ShowItems'>
      <arg type='as' name='URIs' direction='in'/>
      <arg type='s' name='StartupId' direction='in'/>
    </method>
    <method name='ShowItemProperties'>
      <arg type='as' name='URIs' direction='in'/>
      <arg type='s' name='StartupId' direction='in'/>
    </method>
  </interface>

These three methods take an array of URI strings, and a startup id as specified by the startup notification specification.

Activation

Applications are supposed to use the org.freedesktop.FileManager1 DBus name and the /org/freedesktop/FileManager1 object path. The interface name is org.freedesktop.FileManager1.

Implementations

This interface is implmented in the following environments:

References

License

Copyright 2012, Federico Mena Quintero & contributors

Code samples in this document are released under the MIT license, and other content under CC-BY. If you contribute to it, you agree to license your contributions in the same way.