For example, I know that I can use the command pcmanfm to launch PCManFM and I can also type pcmanfm ~/Desktop to open PCManFM to the desktop folder. However, pcmanfm sftp://[ipaddresshere] gives the error
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
pcmanfm: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
Clearly I'm doing something wrong. So, how can I open PCManFM and connect to a server with one command? I want to place this command in a .desktop file for easy access.
Thunar and Nautilus both allow me to do this easily by launching them with the same argument but if possible I would like to be able to do this with PCManFM since I use it elsewhere.