No description
Find a file
Pratham Patel c22dcdfe06 use dbus-update-activation-environment to update/initialize
environment variables

The goal is to update the environment variables for the user's systemd
session **and** the services listening on user's d-bus session.

Until now, the variables were updated using the `import-environment`
environment command of `systemctl`. But, it would only be executed if
systemd was present on the host system. Leaving the variables on the
d-bus side either uninitialized or with incorrect values.

Therefore, instead of using `systemctl`, use the
`dbus-update-activation-environment` command to initialize/update the
environment variables for user's d-bus session but also for user's
systemd session. This is done by passing the `--systemd` option.

When systemd is not detected, the command doesn't fail, it simply
doesn't update the variables for user's systemd session. And since a
systemd user session doesn't exist, no harm no foul.
2025-06-03 03:00:25 +02:00
data use dbus-update-activation-environment to update/initialize 2025-06-03 03:00:25 +02:00
debian fix(debian): dconf profile now installed by justfile 2025-04-07 20:27:25 +02:00
src refactor: enter span 2025-04-24 10:03:52 -06:00
.gitignore Add gsettings overrides for GTK 2024-05-28 10:52:24 -06:00
.rustfmt.toml 🎉 Initial Commit 2022-06-22 12:23:04 -04:00
Cargo.lock fix: update asyinc-signals to fix loongarch build 2025-03-22 13:06:51 +01:00
Cargo.toml fix: update asyinc-signals to fix loongarch build 2025-03-22 13:06:51 +01:00
flake.lock chore(nix): update nix flake 2023-12-22 16:34:47 +01:00
flake.nix chore(nix): update nix flake 2023-12-22 16:34:47 +01:00
Justfile fix(just): wrong path for dconf profile in start-cosmic 2025-04-08 20:13:00 +02:00
LICENSE.md 🎉 Initial Commit 2022-06-22 12:23:04 -04:00