Skip to content
Configuration

Configuration

When Frida starts, it reads a setup file frida.ini. This file contains macro definitions required by certain commands.

Location

After installation (make install), the file is at:

/usr/local/etc/frida/frida.ini

Modifying the setup

Edit the file in /usr/local/etc/frida/, not in the distribution’s share/ directory. To prevent future make install runs from overwriting your changes, write-protect the directory:

chmod a-w /usr/local/etc/frida

When updating Frida, merge any new upstream changes into your modified frida.ini by hand.

Key settings

PostScript output directory

\d psdir ~/gnew/

This sets the directory where gp and gfa write PostScript files. Create the directory before first use:

mkdir ~/gnew

PostScript setup files

The setup section of each generated plot references two PostScript files:

  • wups11a.ps — macro dictionary
  • g3.ps — default plot configuration

These can be customized to change default font sizes, symbol styles, color sequences, or axis formatting globally for all your plots.