PCManFM: Difference between revisions

From NixOS Wiki
imported>Makefu
add link to samba wiki page for PCmanFM
imported>Jchv
GIO_EXTRA_MODULES hack is no longer needed according to Jan Tojnar (https://github.com/NixOS/nixpkgs/issues/29137#issuecomment-527579650)
Line 12: Line 12:


==== USB Automounting ====
==== USB Automounting ====
For USB mounting support, install <code>gvfs</code> and add the following line to your configuration:[https://github.com/NixOS/nixpkgs/issues/29137]
For USB mounting support, add the following line to your configuration:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
   environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
   services.gvfs.enable = true;
</syntaxhighlight>
</syntaxhighlight>



Revision as of 08:07, 24 December 2019

PCManFM is a free file manager application and the standard file manager of LXDE.

Installation

Install the pcmanfm package.

Additional features

Add lxmenu-data to be offered a list of "Installed applications" when opening a file.

Add shared_mime_info to recognise different file types.

USB Automounting

For USB mounting support, add the following line to your configuration:

  services.gvfs.enable = true;

If automounting still does not work you may need to explicitly enable devmon and udisks2. Keep in mind that all removable media will automatically mounted even without pcmanfm running.

configuration.nix

    services.udisks2.enable = true;
    services.devmon.enable = true;

SAMBA mount support

Configuration can be found under the Samba wiki page.