PCManFM: Difference between revisions

From NixOS Wiki
imported>Samueldr
m Use syntaxhighlight
Rrdpad (talk | contribs)
change wikipedia link language from de to en
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[https://wiki.lxde.org/en/PCManFM PCManFM] is a free file manager application and the standard file manager of LXDE.
[[wikipedia:PCMan_File_Manager|PCManFM]] is a free file manager application and the standard file manager of LXDE.


== Installation ==
== Installation ==


Install the <code>pcmanfm</code> package. Add <code>lxmenu-data</code> to be offered a list of "Installed applications" when opening a file.
Install the <code>pcmanfm</code> package.  


For USB mounting support, install <code>gvfs</code> and add the following line to your configuration:[https://github.com/NixOS/nixpkgs/issues/29137]
=== Additional features ===
 
Add <code>lxmenu-data</code> to be offered a list of "Installed applications" when opening a file.
 
Add <code>shared-mime-info</code> to recognise different file types.
 
==== USB Automounting ====
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>
If automounting still does not work you may need to explicitly enable <code>devmon</code> and <code>udisks2</code>. Keep in mind that all removable media will automatically mounted even without pcmanfm running.
<code>configuration.nix</code>
<syntaxhighlight lang="nix">
    services.udisks2.enable = true;
    services.devmon.enable = true;
</syntaxhighlight>
==== SAMBA mount support ====
Configuration can be found under the [[Samba#Browsing_samba_shares_with_PCManFM|Samba wiki page]].
[[Category:Applications]]
[[Category:File Manager]]

Latest revision as of 07:47, 28 October 2024

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.