Introduction to libfm

The libfm package contains a library used to develop file managers providing some file management utilities.



Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

libfm Dependencies


GTK+-2.24.33 or GTK+-3.24.36 (GTK+-2 recommended since LXDE GTK+-3 support is still experimental), and menu-cache-1.1.0



GTK-Doc-1.33.2, dbus-glib-0.112 and Gvfs-1.50.3 or udisks (for volume management - experimental)

User Notes:

Installation of libfm

Install libfm by running the following commands:

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --disable-static  &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--with-gtk=3: This option selects the version of gtk+ to use. The default is gtk+-2.

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Program: libfm-pref-apps and lxshortcut
Installed Libraries:, and
Installed Directories: /etc/xdg/libfm, /usr/lib/libfm, /usr/share/gtk-doc/html/libfm and /usr/share/libfm

Short Descriptions


sets preferred applications for programs based on libfm


is a small program used to edit application shortcuts

contains the libfm API functions