History log of /haiku/data/launch/user
Revision Date Author Comments
# 6bef34f8 26-Oct-2021 Augustin Cavalier <waddlesplash@gmail.com>

launch/user: Put env in both target desktop and service app_server.

It seems launch_daemon does not actually support root "env"s,
and adding support for that does not appear to be trivial.


# a04b2f4c 27-Sep-2021 Augustin Cavalier <waddlesplash@gmail.com>

Launch app_server in user context.

This way, we get the user's environment variables, and so should
input_server, which is started by app_server.

This should, after 6 years, fix #12534. We may need to revisit this
when/if we add multiuser support, but that is a problem for another day.

Change-Id: I04698306bc68a585acd232e9f9d29c50bc170a1f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4506
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# baa4caf7 31-Dec-2019 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix NTP synchronization.

Fixes #15408.


# eb3cdd8a 07-Apr-2019 Augustin Cavalier <waddlesplash@gmail.com>

Time: Run synchronization on network up.

Also move the settings check into launch_daemon, as that way
"Time --update" can be invoked even when the setting is disabled.

Fixes #9348.


# e680a439 13-Feb-2019 Yatendra Singh <yatendra1999luffy@gmail.com>

Launchbox: autostart on boot

Use launch daemon to autostart Launchbox if enabled in settings.

Change-Id: Id0aaf454cfbc0cc42db2dbb54d6788c79dae6949
Reviewed-on: https://review.haiku-os.org/c/917
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 893e3de8 27-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

mail_daemon: Converted to BServer.


# f92aeedd 27-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

User login: Fixed missing Deskbar tray icons.

* The mail_daemon could have been launched too early, which caused it
not to be able to add its Deskbar icon. We don't really want a
dependency to the Deskbar, though, which is why we only run the
mail_daemon on the same event (which makes the Deskbar available
at that point).
* Ideally, the mail_daemon should be smart enough to install its Deskbar
icon once the Deskbar is available, though.
* Similar issue for the first login scripts. Here, we have a real
dependency to the Deskbar which makes the script launch once the
Deskbar is available.
* This finally fixes #12454.


# 44d78872 21-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

user launch: Fixed mail_daemon signature.

* This allows the launch_daemon to properly quit the mail_daemon.


# 64df3e04 07-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Added forgotten time update/dstcheck.


# d8c0972a 06-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Added "setting" condition.

* Moved the mail_daemon to the user startup, and start it only if
enabled in the settings.


# d2eca26b 19-Oct-2015 Axel Dörfler <axeld@pinc-software.de>

Moved per user post install actions to first-login script.

* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
running yet (for example on first boot when the FirstBootPrompt
starts), or, IOW bug #12275.


# d9bb9513 19-Oct-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: "file_exists" now resolves $HOME, and '~'.


# 4e8fc451 19-Oct-2015 Axel Dörfler <axeld@pinc-software.de>

Deskbar: converted to BServer.


# 65ed8a5e 17-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

Added post-install script, and start UserBootscript again.

* This is the final missing piece of the former boot process.
* Removed the unused Bootscript, and Bootscript.cd files.


# 5e17d2d7 16-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

mount_server: Ported to a launch_daemon world.

* Now inherits from BServer, and gets its message port from the
launch_daemon.
* It registers an event "initial_volumes_mounted" that allows other
services to be started afterwards.
* This is now used in the boot launch files, and makes the scripting
based previous solution superfluous which has been removed with this
commit, too.
* This implements the last needed feature in order to reproduce the
complete former boot process using the launch_daemon.


# 1ec3f11d 10-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

Create installer link in live mode, check existence.

* FirstBootPrompt as well as the Installer do not exist on the
minimum image, so take this into account when making the startup
target decisions.


# 634aefe4 08-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Now supports getting the env from a script.

* Scripts from targets are evaluated once on first target launch,
scripts from jobs are evaluated on each start.
* The "desktop" target now sources SetupEnvironment as usual.


# 4c67f79c 01-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

FirstBootPrompt: launch installer/desktop targets directly.

* No need for shell scripting here.


# 638ee095 01-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

data/launch/user: Fixed FirstBootPrompt location.

* Now started via signature (it lives in bin, not apps).


# 004cd670 24-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Added run directive.

* Allows to conditionally (or unconditionally) launch targets.
* Including tests for the settings parser.
* FirstBootPrompt is now launched when deemed necessary (as in
the Bootscript).


# ac0a462f 10-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Basic user session implementation.

* Instead of launching Tracker/Deskbar directly, we now launch the
Login application.
* This will now start a new session for the selected user (the password
is currently ignored).
* When a user session is started, the launch_daemon forks, and the
child then restarts the LaunchDaemon application in user mode.
* It then registers itself with its parent, in order to resolve user
dependent services.
* Added a user launch file that will cause Tracker, and Deskbar to
start in the new session.


# 65ed8a5e87f10405105fa017a0879161e84620b6 17-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

Added post-install script, and start UserBootscript again.

* This is the final missing piece of the former boot process.
* Removed the unused Bootscript, and Bootscript.cd files.


# 5e17d2d743272a72125b31b5ca055941b8b50721 16-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

mount_server: Ported to a launch_daemon world.

* Now inherits from BServer, and gets its message port from the
launch_daemon.
* It registers an event "initial_volumes_mounted" that allows other
services to be started afterwards.
* This is now used in the boot launch files, and makes the scripting
based previous solution superfluous which has been removed with this
commit, too.
* This implements the last needed feature in order to reproduce the
complete former boot process using the launch_daemon.


# 1ec3f11d9743f547fd65658d6b56f74cae82e692 10-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

Create installer link in live mode, check existence.

* FirstBootPrompt as well as the Installer do not exist on the
minimum image, so take this into account when making the startup
target decisions.


# 634aefe4fdaa245ad977dd7e8eff1744f380a02d 08-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Now supports getting the env from a script.

* Scripts from targets are evaluated once on first target launch,
scripts from jobs are evaluated on each start.
* The "desktop" target now sources SetupEnvironment as usual.


# 4c67f79c2cf7d08667cd36242f1520f279a7ed33 01-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

FirstBootPrompt: launch installer/desktop targets directly.

* No need for shell scripting here.


# 638ee09556f0168ab7a77314dcace639a4d5d81d 01-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

data/launch/user: Fixed FirstBootPrompt location.

* Now started via signature (it lives in bin, not apps).


# 004cd6709d7b26a37f7a7c037bb48ec7d985d7cc 24-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Added run directive.

* Allows to conditionally (or unconditionally) launch targets.
* Including tests for the settings parser.
* FirstBootPrompt is now launched when deemed necessary (as in
the Bootscript).


# ac0a462fba6a1337e6659ebf0ffd69fd64030786 10-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Basic user session implementation.

* Instead of launching Tracker/Deskbar directly, we now launch the
Login application.
* This will now start a new session for the selected user (the password
is currently ignored).
* When a user session is started, the launch_daemon forks, and the
child then restarts the LaunchDaemon application in user mode.
* It then registers itself with its parent, in order to resolve user
dependent services.
* Added a user launch file that will cause Tracker, and Deskbar to
start in the new session.