Communicate with PCMANFM from a Python3 program

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Post Reply
rweo
Posts: 3
Joined: Sat Apr 19, 2014 4:51 pm

Communicate with PCMANFM from a Python3 program

Post by rweo »

Is it possible to communicate with a running instance of pcmanfm from a python app ? How could I do that ?

What I would like to do is have my python app File Open function to communicate with pcmanfm as a file picker. Pcmanfm would return a resule, but remain as an open window and a subsequent File Open in my app would again be able to communicate with the already running pcmanfm instance. My app will have more than one file open at a time. And the pcmanfm file structure display is helpful in keeping a perspective on the file structure for the project.

Basically, I want to use pcmanfm as a very nice filepicker but have it remain an open stable window to my project's file structure.

1. I would launch my_app using the 'open with' context menu which works fine as is.
2. Pcmanfm remains open, but can be called by my_app as a file picker
Post Reply