Put the "prefs_server" and "prefs_login" files in the"/boot/system" folder.
The "prefs_server" file is the background app you will talk with when your app will use the preferences APIs. The "prefs_login" app prompts for a user at startup, launches the preferences server and then quits.
The prefs_login app must be modal because we must not run any application that uses the preferences server before choosing the current user, to do so we have to launch the prefs_login before the Tracker.
It is why we have to modify the "/boot/system/BootScript" file against Be's advises (shame on me). In order to launch the prefs_login insert the following lines just before the code that launch the Tracker in the BootScript:
#
# Start the Preferences Server
#
if [ -f /fd/system/prefs_login]
then
echo Launching /fd/system/prefs_login
/fd/system/prefs_login
else
if [ -f /boot/system/prefs_login ]
then
echo Launching /boot/system/prefs_login
/boot/system/prefs_login
else
echo There is no prefs_login
fi
fi
The following applications should be installed in your "/boot/preferences" folder,
This application will show you the current user, and will let you choose the default user for the next startup. It also let you choose if you want or not to be prompted for a user at startup.
The UsersEdit application is not available yet but if want to remove, rename or duplicate a user, go check the /boot/system/users folder where each file correspond to a user.
The PrefsEdit application lets you edit the preference trees, the current version is an early developer release and doesn’t support modification.