= 24 file managers: PCManFM

The PCMan File Manager, or PCManFM for short, is a fast and lightweight file manager that full of features.
It was developed for the https://opensource.com/article/19/12/lxqt-lxde-linux-desktop[LXDE] desktop environment, but is a stand-alone application and can be used with the desktop or window manager of your choice.

== Install PCManFM

On Linux, you can probably find PCManFM in your software repository.
For instance, on Fedora, Mageia, and similar:

[source,bash]
----
$ sudo dnf install pcmanfm
----

On Debian, Elementary, and similar:

[source,bash]
----
$ sudo apt install pcmanfm
----

image:pcmanfm.webp[PCMan File Manager]

PCManFM doesn't have to replace your desktop's file manager, but some distributions assume that when you install a "third party" file manager, you want it to take precedence over the default.
Depending on the desktop you're using, there are different ways of setting your default file manager.
Usually, it's in *Sytem Settings* under *Default Applications*.

If your desktop environment or window manager has no interface to select your default applications, you can set your preference in the `~/.local/share/applications/mimeapps.list` file.
To designate a file manager as default, place it at the top of the `[Default Applications]` section, first specifying the file type and then the name of the application file (as it appears in `/usr/share/applications`) you want to use to open it:

[source,bash]
----
inode/directory=myfilemanager.desktop;
----

== PCManFM

If you're a fan of GNOME 2 or the Mate project's http://LINK-TO-CAJA-ARTICLE[Caja file manager], then PCManFM is a great alternative to consider.
PCManFM is a lot like Caja in design, but it's not bound to the desktop in the way Caja is, so it's available even on the latest GNOME desktop.

The default layout of PCManFM has a helpful toolbar near the top of the window, a side panel providing quick access to common directories and drives, and a status bar with details about your current selection.
You can hide or show any of these elements using the *View* menu.

== Tabs and panels

PCManFM also uses tabs.
If you've never used a tabbed file manager before, then think of a web browser and how it uses tabs to let you open multiple web pages in just one window.
PCManFM can similarly open several directories in the same window.

To transfer a file or folder from one tab to another, just drag the file's icon to the tab and hover.
After a nominal delay, PCManFM brings the target tab to the front so you can continue your drag-and-drop operation.
It takes some getting used to if you're not used to interacting with tabs in a file manager, but it doesn't take long, and it's a very powerful feature for decluttering your workspace.

Another nice feature of the PCManFM interface is its ability to split a window into two panels.
Each panel is effectively a tab, but each one only takes up half of the window.

image:pcmanfm-dual-pane.webp[Dual panels in PCManFM]

This makes dragging from one to the other just as easy and natural as dragging a file into a folder.
I find it useful for comparing the contents of folders, too.

== File management with PCMan

PCManFM is a great little file manager with all the basic features you need on an everyday basis.
It's a natural replacement for a file manager you might find too complicated, as well as a great option on old computers that might struggle with a file manager that's constantly drawing thumbnails and refreshing and generating animations.
PCMan focuses on the core task of a file manager: managing files.
Try it out on your Linux PC.