Chapter 2.4.4: PCManFM-Qt
=========================

Description
------------
PCManFM-Qt (PCMan File Manager) is a file manager application ported to Qt after the original developed by Hong Jen Yee from Taiwan which is meant to be a replacement for Nautilus, Konqueror and Thunar. 

Features:
 - tabs
 - bookmarks
 - places with removable media 
 - Ability to eject removable media and the ability to mount other filesystesms internally.

Useage
------
Along the top to create a new tab in pcmanfm-qt you can use the button with a file and a plus on it to open a new tab or press :kbd:`control +t`. The left pointing arrow button is a back button while the right pointing arrow button moves you forward in the directories that you have moved in the file manager. The button for the arrow pointing upward is to go up one level in the directory tree to the so called parent directory. To rename your files right click on the file and click rename or press :kbd:`f2`. 

To create a new empty text file press :kbd:`Control + Alt +N` or :menuselection:`File --> Create New --> Blank File` and type in the name of the file you want. To create a new folder or directory press :menuselection:`File --> Create New Folder` or press :kbd:`Control+ Shift +N` and input the new folder name. To delete your files from pcmanfm-qt will first put them in the trash so they are not gone forever. To move a file into the trash right click that file move to trash or press :kbd:`Delete`. To get a file out of the trash in places trash to get to your trash or :menuselection:`Go --> Trash`. To remove a file from the trash right click restore. To permanently delete all files from the trash can right click on the places empty trash. 

If you single click on a file you will select it. If you double click on it you will open it in the  default program to open that file. If you right click on a file you can select  which program to open a file with if you have multiple programs to open it. If you want to selct multiple files you can hold down control and select the files. To copy files select the file right click copy or press :kbd:`control +c`. To cut files select them right click cut and or press :kbd:`control + x`. After copying or cutting a file you can paste them with right click paste or press :kbd:`control +v`. To select all files in a directory is to press :kbd:`Control+ A` or right click Select All for all of the files. To select multiple files with the mouse you can hold down :kbd:`Control` and left click to select all of the files. 

To connect to a remote server such as a NAS go to the :menuselection:`go -->  Connect to server` and authenticate to your remote storage. If you want to plug in removeable storage you can open the storage on the left sidebar with devices.  This same applies to other internal filesystems on your computer. To eject removeable media press the button on the left with a circled up arrow to eject.   

To see hidden files press :kbd:`control +h`, right click show hidden, or go to:menuselection:`view --> show hidden`. Press the same thing again to hide hidden files again. To open a terminal in your current folder press :kbd:`f4`  or :menuselection:`Tool --> Open terminal` from the menu. To search for files press :kbd:`f3` or :menuselection:`Tool --> search` for files. To view the properties of a file or folder right click on it and select properties from the menu or press :kbd:`Alt +Enter`. General will show you the size of the file where the file is and when it was last modified or accessed. 

The :guilabel:`permissions` tab will show you who owns the file which if you can't change it will be grayed out and who has permisson to read modify and execute the file. To change permision of files the :guilabel:`Owner`, :guilabel:`Group`, or :guilabel:`Other` drop down menu will allow you to choose whether you can read, read and write, or forbidden. To make something executeable such as a script you wrote check the :guilabel:`Make the file executable`.

Pcmanfm-qt can actually launch other applications in places Applications or :menuselection:`Go --> Applications` and then gets all the tasks in the menu in lxqt-panel. To view what files are on your desktop :menuselection:`Go --> Desktop` or on the places sidebar press the desktop item on the left.

To add a bookmark :menuselection:`Bookmarks --> Add to  Bookmarks`  and it will make a bookmark. To later access this bookmark it will be on the left hand side under :guilabel:`bookmarks` and under the bookmarks menu. 

If you want to run an executeable script from pcmanfm double click and then click execute on the executeable. If you wish to edit the script you can press the open button. 

Pcmanfm-Qt has different view modes which can be changed in the view menu. To select a view that has bigger thumbnails to view pictures before deciding to open them :menuselection:`View --> View --> Thumbnail View`. If you want to view lists of move data about something like the file size the time it is modified select detailed list view by :menuselection:`View --> View --> Detailed list view`. If you really want to have see as many files in a small area use the compact view or :menuselection:`View --> View --> Compact View`. To return to the original view of pcmanfm-qt is to :menuselection:`View --> View --> Icon View`.  

To reverse the order that pcmanfm-Qt sorts files :menuselection:`View --> Sorting --> Descending` or conversly to switch back :menuselection:`View --> Sorting -->Ascending.` To sort by file name :menuselection:`View --> Sorting --> By file name`. To sort by modification :menuselection:`View --> Sorting --> By modification time`. To sort by file size :menuselection:`View --> Sorting --> By file size`. To sort by file type :menuselection:`View --> Sorting --> By file type`. To sort by owner :menuselection:`View --> Sorting --> By Owner`. To seperate all folders first in sorting check the checkbox in :menuselection:`View --> Sorting --> Folder First`. To sort with case sensitive check the checkbox in :menuselection:`View --> Sorting --> Case sensitive`.  

To change your path bar to buttons :menuselection:`View --> Pathbar --> Location` and to get 
back to a pathbar you can type into :menuselection:`View --> Pathbar --> Path Buttons`.

pcmanfm-qt when right clicking has special options for dealing with archieves such as tar or zip files. To extract the files in the current directory right click and select extract here. You can also extract to another location with right clicking and selecting extract to and a dialog will pop up showing to where to extract the file.  

Screenshot
----------
.. image:: pcmanfm-qt.png 


Version
-------
Lubuntu currently ships with 0.13.0 of pcmfanfm-qt. 

How to Launch
-------------
To open PCManFM in your current directory (in terminal), execute 

.. code::

   pcmanfm-qt

Feel free to append [lxqt-sudo] to run PCManFM-Qt as root.

You can also go to the Applications menu  :menuselection:`Accessories --> PCManFM-Qt File Manager`. There also is a keyboard shortcut for launching pcmanfm-qt of :kbd:`Super + E`. The icon for pcmanfm-qt looks like a file cabinet drawer with files in it at the top.  
