#300 Open PCManFM with a selected file


Some applications (such as Firefox or Transmission) offer open files in their directory. When we try this action, it opens the directory in PCManFM, but the file is not selected. It is a bit annoying when the folder is quite full : we can't find the file at the first sight. It would be nice if PCManFM, in these situations, could open with a selected file.


  • Lonely Stranger

    Lonely Stranger - 2014-01-04

    The PCManFM will open a directory if it is launched for directory and will open a file if it is launched for non-directory file. I don't understand how you suppose to achieve what you want. As much as I understand those applications exactly call pcmanfm to open a directory that contains your downloaded file. What I can suggest is to set sort descending by date (and with mingled files and directories probably) for the folder where you download your stuff so you can easily find your recent download. Option to set separate sort options for some folder is implemented in latest PCManFM code.
    Thank you very much.

  • Lonely Stranger

    Lonely Stranger - 2014-01-04
    • assigned_to: nobody --> lstranger
    • status: open --> closed-invalid
  • Pierre Gobin

    Pierre Gobin - 2014-01-06

    Thank you for your reply.

    I found this feature by using Firefox in Windows : when I finished a download, I have an option to show the downloaded file in his directory. This option opens the file manager on the file's parent directory, and the file is already selected : I can find it easily.

    I don't know how Firefox calls the file manager to perform this action. I thought there was a sort of standard, but I noticed that Nautilus (on Ubuntu) doesn't select the file as the Windows file manager does.

    Thanks for your attention.

  • Pierre Gobin

    Pierre Gobin - 2014-01-06
    • status: closed-invalid --> open-invalid
  • Lonely Stranger

    Lonely Stranger - 2014-01-06
    • status: open-invalid --> closed-invalid
  • Alex M

    Alex M - 2016-05-02

    I would like to add to this discussion. A bit of googling reveals that firefox uses Freedesktop File Manager DBus Interface for this functionality, as mentioned, e.g., here: https://bugzilla.mozilla.org/show_bug.cgi?id=1037856 . I don't know, though, how wide-spread this interface is, and whether it is worth implementing.



Cancel  Add attachments