XDG/FREEDESKTOP/DBUS SHIM FOR XFILE
-----------------------------------

This directory contains the source code for a little shim binary that allows
xfile to act as xdg/freedesktop default file manager and be launched over dbus.

INSTALLATION INSTRUCTIONS
-------------------------

* Install dbus (libdbus-1) library and development headers.

* Install pkg-config (required for finding dbus headers).

* Run make, which should produce the xfile-xdgsvc binary.

* Install the xfile-xdgsvc binary into a bin directory (like /usr/bin
  or /usr/local/bin, see NOTE below).

* Find out the location of dbus service files on the host system
  (usually it's /usr/share/dbus-1/services) see dbus-daemon(1).

  Copy the provided xfile.service into dbus service files directory.

  NOTE: If you have installed the xfile-xdgsvc binary somewhere else
        than /usr/bin, open the xfile.service in a text editor and
		modify the path on the Exec line accordingly.

Now XFile should be launchable over dbus FileManager1 interface.

USAGE NOTES
-----------

- If a http(s) url is received in the argument list, the shim will try to
  launch a web-browser. To do so it checks the BROWSER environment variable,
  x-www-browser binary and xdg-open binary (in that order).

- In case a file, rather than directory name, is received in the argument
  list, the directory containing that file will be displayed.
