| 12 Jun 2025 |
Andrew | Why is this being generated?
# Automatically generated by systemd-xdg-autostart-generator
[Unit]
Documentation=man:systemd-xdg-autostart-generator(8)
SourcePath=/run/current-system/sw/etc/xdg/autostart/org.gnome.Software.desktop
PartOf=graphical-session.target
Description=GNOME Software
After=graphical-session.target
[Service]
Type=exec
ExitType=cgroup
ExecStart=:/nix/store/b17j92apif2l5ldz11qi8wp3k87qvshx-gnome-software-47.4/bin/gnome-software --gapplication-service
Restart=no
TimeoutStopSec=5s
Slice=app.slice
ExecCondition=/nix/store/b2cfj7yk3wfg1jdwjzim7306hvsc5gnl-systemd-257.3/lib/systemd/systemd-xdg-autostart-condition "GNOME:Unity" "Budgie"
| 01:34:41 |
Andrew | I manage software myself, why would it spin up this process that hogs almost 400 MiB for nothing? | 01:37:18 |
Jan Tojnar | systemd generates services for desktop files in $XDG_CONFIG_DIRS/autostart | 08:32:41 |
Jan Tojnar | (among other paths) | 08:33:20 |
Jan Tojnar | IIRC gnome-software has autostart file so that it can notify you of updates | 08:33:55 |
Jan Tojnar | though we only install it if you have flatpak installed, you can use environment.gnome.excludePackages to not install it if you do not use it | 08:35:18 |
uep | ah. I looked to see if I had the same, and it was nowhere to be seen. | 08:36:32 |
uep | So, yeah, confirmation that this works. It may be slightly too magic, but it works. | 08:37:44 |
| tokudan changed their profile picture. | 11:54:42 |
Grimmauld (any/all) | I just saw this in the GTK room: https://pad.gnome.org/lB9NBpwCSmKEzZIVve__Vg#
How will this work for nix? Currently glycin directly depends on gtk4, which directly depends on gdk-pixbuf, which probably should depend on glycin. | 21:19:07 |
Grimmauld (any/all) | which means we have a cyclic dependency. How do we break it? | 21:19:23 |
Grimmauld (any/all) | supposedly glycin would be cycle-free, but our package wouldn't be. SO some work required! | 21:28:07 |
emily | usually we just have a separate bootstrap version of a package that omits the problematic dependency | 21:32:51 |
Grimmauld (any/all) | So i had a chat with the glycin people, and supposedly it is cycle-free in gnomeOS | 21:35:30 |
Grimmauld (any/all) | so we can probably break the cycle somehow | 21:35:39 |
Grimmauld (any/all) | (likely more precise meson flags to better split glycin across packages) | 21:36:00 |
Grimmauld (any/all) | i can poke tomorrow. Which is basically a rewrite of the glycin package from scratch, to properly split it and avoid cyclic deps, then feed libglycin to gdk-pixbuf and feed glycin-loaders (the runtime dep) to wrapGAppsHook | 21:39:53 |
jasi 🏳️⚧️ | In reply to @grimmauld:grapevine.grimmauld.de i can poke tomorrow. Which is basically a rewrite of the glycin package from scratch, to properly split it and avoid cyclic deps, then feed libglycin to gdk-pixbuf and feed glycin-loaders (the runtime dep) to wrapGAppsHook There's two PRs on splitting glycin on nixpkgs right now (one of them by me) | 22:36:43 |
Grimmauld (any/all) | Oh hey! | 22:37:17 |
jasi 🏳️⚧️ | In reply to @grimmauld:grapevine.grimmauld.de i can poke tomorrow. Which is basically a rewrite of the glycin package from scratch, to properly split it and avoid cyclic deps, then feed libglycin to gdk-pixbuf and feed glycin-loaders (the runtime dep) to wrapGAppsHook * | 22:37:19 |
Grimmauld (any/all) | Will check that out then | 22:37:22 |
Grimmauld (any/all) | is it sufficiently split to use libglycin in gdk-pixbuf? I think that should be the ultimate goal | 22:37:43 |
jasi 🏳️⚧️ | I'm not sure what the best course of action would be for organizing around cyclical deps. | 22:37:56 |
jasi 🏳️⚧️ | I don't know if my PR is what you're looking for | 22:38:37 |
Grimmauld (any/all) | In theory libglycin needs to build without gtk4 in the closure | 22:38:50 |
Grimmauld (any/all) | and glycin-loaders can be added at runtime using the wrapGAppsHook | 22:39:04 |
Grimmauld (any/all) | (or e.g. standard paths in /etc, the way systemd/dbus avoid cyclic deps) | 22:39:33 |
jasi 🏳️⚧️ | In reply to @grimmauld:grapevine.grimmauld.de In theory libglycin needs to build without gtk4 in the closure Yeah I would be stumped on how to do this | 22:42:40 |
| 13 Jun 2025 |
Andrew | Speaking of autostart, I've noticed at least 2 or 3 times I logged in and all my autostart apps just straight up didn't launch, so I had to re-log in. But I think a few that were run from systemd unit, did still run. I would've never thought that autostart is so unreliable. | 01:13:06 |
Andrew | I have only one hunch: it might only happen randomly if I don't provide a correct password on the first try. I feel like I see this only when I fail at least once. | 01:14:10 |