A simple daemon implementing freedesktop.org's file manager interface. This interface is used by Firefox download manager to select a downloaded file in the file manager (since Firefox 28).
The vifm.service
file should be put in the ~/.local/share/dbus-1/services
directory.
The vifm-service.py file can be put anywhere as long as the same path is used in
vifm.service`.
Note that system level service files can interfere with the session level service files.
Make sure that there are no other services implementing the same interface:
grep -r org.freedesktop.FileManager1 /usr/share/dbus-1/services
If there are problems the following commands can be used for debugging:
dbus-monitor "interface=org.freedesktop.FileManager1"
dbus-send
--print-reply
--dest=org.freedesktop.FileManager1
--type=method_call
/org/freedesktop/FileManager1
org.freedesktop.FileManager1.ShowItems
array:string:"file:///home/"
string:""
It seems like the script doesn't automatically start on boot, but if I start it manually it still works
The journal says
Activation request for 'org.freedesktop.FileManager1' failed: The systemd unit 'vifm.service' could not be found.
EDIT: I copied the wrong file, and I didn't
chmod +x
the python file, stupid me.