FAM

From ArchWiki

Jump to: navigation, search
i18n
English
Italiano

Contents

[edit] Introduction

The File Alteration Monitor (FAM) daemon is used by Desktop Environments, such as a GNOME, Xfce and KDE, to monitor and report changes to the filesystem.

For example, FAM is used to:

  • Automatically update application menus when new applications are installed
  • Refresh file manager listings when the contents of a directory have changed

[edit] Installation

# pacman -S fam

[edit] Configuration

To load the FAM daemon automatically at boot, it must be added to the DAEMONS list. Edit as root /etc/rc.conf

# nano /etc/rc.conf

Add fam to the DAEMONS list, for example:

DAEMONS=(syslog-ng powersaved dhcdbd networkmanager fam ...)

Save, close and reboot.

[edit] Manual Start/Stop

If you wish to start FAM without rebooting, simply open a terminal and type as root:

# /etc/rc.d/fam start

To stop:

# /etc/rc.d/fam stop

[edit] Alternatives

You can install gamin as a replacement of fam for KDE. After you install KDE, do as follows:

pacman -Rd fam
pacman -S gamin

Remember to remove fam DAEMON in rc.conf if it still exists there. Gamin does not use DAEMON so you don't have to put it in /etc/rc.conf. Just install and enjoy.

Personal tools