How To Install PCManFM 1.2.1 On Ubuntu 14.04 Trusty Tahr And Derivative Systems And Set It As The Default File Manager

Hello Linux Geeksters. As you may know, PCManFM is the default file and desktop manager of LXDE, a lightweight desktop environment. The latest version available is PCManFM 1.2.1, which has been released a while ago, coming only with bug-fixes.

Also worth mentioning, LXDE is being migrated from GTK+2 to Qt, under the name of LXQt and so, PCManFM also got a Qt version, named PCManFM-Qt.

how to install PCManFM 1.2.1 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Pinguy OS 12.04, LXLE 14.04, Peppermint Five, Linux Lite 2.0

In this article I will show you how to install PCManFM 1.2.1 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Pinguy OS 14.04, Pinguy OS 12.04, LXLE 14.04, Peppermint Five, Linux Lite 2.0 and other Ubuntu derivative systems.

Also, I will show you how to set PCManFM the default file and desktop manager, on all the listed Ubuntu and derivated systems.

Because it is available via PPA, installing PCManFM 1.2.1 on Ubuntu 14.04 and derivative systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the pcmanfm package. Like this:

$ sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
$ sudo apt-get update
$ sudo apt-get install pcmanfm

In order to set PCManFM as the default file manager, follow the instructions exactly, for your system and desktop environment exactly.

Set PCManFM as the default file manager and desktop manager, on Ubuntu, Ubuntu GNOME and Elementary OS, using either Nautilus or Files:

$ xdg-mime default pcmanfm.desktop inode/directory

Backup the nautilus.desktop file:

$ sudo mv /etc/xdg/autostart/nautilus-autostart.desktop /etc/xdg/autostart/nautilus-autostart.desktop.bak

Open the /etc/xdg/autostart/pcmanfm-autostart.desktop file in your favorite text editor:

$ cd /etc/xdg/autostart
$ touch pcmanfm-autostart.desktop

And create the pcmanfm.desktop file, by copy pasting this command to your terminal:

$ sudo sh -c 'cat > pcmanfm-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=GNOME;Unity;Pantheon;
NoDisplay=true
EOF'

Next, open the PCManFM desktop preferences and perform customizations:

$ pcmanfm --desktop-pref

Set PCManFM as the default file manager and desktop manager, on Xubuntu, Linux Mint XFCE and Linux Lite, using Thunar:

$ xdg-mime default pcmanfm.desktop inode/directory

Backup the nautilus.desktop file:

$ sudo mv /etc/xdg/autostart/thunar-autostart.desktop /etc/xdg/autostart/thunar-autostart.desktop.bak

Open the /etc/xdg/autostart/pcmanfm-autostart.desktop file in your favorite text editor:

$ cd /etc/xdg/autostart
$ touch pcmanfm-autostart.desktop

And create the pcmanfm.desktop file, by copy pasting this command to your terminal:

$ sudo sh -c 'cat > pcmanfm-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=XFCE;
NoDisplay=true
EOF'

Next, open the PCManFM desktop preferences and perform customizations:

$ pcmanfm --desktop-pref

Set PCManFM as the default file manager and desktop manager, on Linux Mint Cinnamon and Pinguy OS, using Nemo:

$ xdg-mime default pcmanfm.desktop inode/directory

Backup the nautilus.desktop file:

$ sudo mv /etc/xdg/autostart/nemo-autostart.desktop /etc/xdg/autostart/nemo-autostart.desktop.bak

Open the /etc/xdg/autostart/pcmanfm-autostart.desktop file in your favorite text editor:

$ cd /etc/xdg/autostart
$ touch pcmanfm-autostart.desktop

And create the pcmanfm.desktop file, by copy pasting this command to your terminal:

$ sudo sh -c 'cat > pcmanfm-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=Cinnamon;
NoDisplay=true
EOF'

Next, open the PCManFM desktop preferences and perform customizations:

$ pcmanfm --desktop-pref

Set PCManFM as the default file manager and desktop manager, on Kubuntu and Linux Mint KDE, using Dolphin:

$ xdg-mime default pcmanfm.desktop inode/directory

Backup the nautilus.desktop file:

$ sudo mv /etc/xdg/autostart/dolphin-autostart.desktop /etc/xdg/autostart/dolphin-autostart.desktop.bak

Open the /etc/xdg/autostart/pcmanfm-autostart.desktop file in your favorite text editor:

$ cd /etc/xdg/autostart
$ touch pcmanfm-autostart.desktop

And create the pcmanfm.desktop file, by copy pasting this command to your terminal:

$ sudo sh -c 'cat > pcmanfm-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=KDE;
NoDisplay=true
EOF'

Next, open the PCManFM desktop preferences and perform customizations:

$ pcmanfm --desktop-pref

Set PCManFM as the default file manager and desktop manager, on Linux Mint Mate, using Caja:

$ xdg-mime default pcmanfm.desktop inode/directory

Backup the nautilus.desktop file:

$ sudo mv /etc/xdg/autostart/caja-autostart.desktop /etc/xdg/autostart/caja-autostart.desktop.bak

Open the /etc/xdg/autostart/pcmanfm-autostart.desktop file in your favorite text editor:

$ cd /etc/xdg/autostart
$ touch pcmanfm-autostart.desktop

And create the pcmanfm.desktop file, by copy pasting this command to your terminal:

$ sudo sh -c 'cat > pcmanfm-autostart.desktop <<EOF
[Desktop Entry]
Type=Application
Name=File Manager PCManFM
Exec=pcmanfm --desktop
OnlyShowIn=Mate;
NoDisplay=true
EOF'

Next, open the PCManFM desktop preferences and perform customizations:

$ pcmanfm --desktop-pref

LXLE and Lubuntu already use PCManFM as the default file and desktop manager, so we don’t have to do anything special to set it as default, on these systems.

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!