Personal tools
You are here: Home documentation FAQ for Pd How can I store startup options so that they are loaded every time I start Pd?
Document Actions

How can I store startup options so that they are loaded every time I start Pd?

Up to Table of Contents

You will find that there are several startup options that you will need every time you start pd. You can store these options via the pdsettings system, so that they are automatically used on startup (note: this has been introduced with pd 0.38)

note: as of pd-extended 0.43 saving library paths is not supported, the recommended way to include libraries is to use the import object(OBSOLETE)

The pdsettings can be configured via pd's menus.

Unfortunately these settings are spread over several different menus:

  • To change the audio-settings (settings for your audio- and MIDI-hardware) go to Media->Audio Settings... (resp. Media->MIDI Settings...) and change the values to something appropriate (if at all). (To save these changes for future sessions read on.)
  • To change the search-paths for pd, go to File->Path... and add additional search-paths one per line (or delete unwanted ones); here you can also specify, whether you want pd to be started in "verbose" mode. When you hit the Save all settings button, your modification will be stored to your system.
  • To change the libraries/externals that are loaded on startup, go to File->Startup... and add additional libraries/externals one per line (or delete unwanted ones); here you can also enforce that pd must not be started in realtime mode (there are some scenarios where using realtime-mode is not an entirely good idea); additionally you can specify custom startup-flags.

When you hit the Save all settings button, your modification will be stored to your system. The pdsettings are stored in a platform-dependent way as key/value-pairs.

platforms

Windows/WIN32

On Windows the preferences are stored in the registry. For Pd-vanilla, they are in HKEY_LOCAL_MACHINE -> SOFTWARE -> Pd. For Pd-extended, they are in: HKEY_LOCAL_MACHINE -> SOFTWARE -> Pd-extended

Mac OS X

On Mac OS X the settings are stored via the native defaults system which stores things in plist files. (i.e. ~/Library/Preferences/org.puredata.pd.plist). You can edit them with the command line util defaults, like defaults read org.puredata.pd. For Pd-vanilla, they are stored in org.puredata.pd. For Pd-extended, they are stored in org.puredata.pdextended.

GNU/Linux, Debian, Ubuntu, Fedora, UNIX, ...

On other UNIX-like systems (like GNU/Linux), a hidden file in the home directory is used. For Pd-vanilla, the file is called ~/.pdsettings. For Pd-extended, the file is called ~/.pdextended

by IOhannes m zmoelnig last modified 2016-01-26 08:40 PM

Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser