| 9 Oct 2021 |
ius | Yes, I just came to the same conclusion (turns out ALT+F2 -> lg provides a list of Windows along with their wmclass) - that's the issue. | 10:48:06 |
ius | The program I was comparing against (gnome music) doesn't have the same issue even though it's wrapped twice as well. I suppose that's because it explicitly sets its own wmclass (and that, when its not set it would default to argv0) | 10:50:55 |
ius | ..argv0 would work if it wasn't for the fact that wrap-python.nix uses the already-wrapped name (.terminator-wrapped) to override argv0 at script startup | 10:54:13 |
ius | * argv0 would work if it wasn't for the fact that wrap-python.nix uses the already-wrapped name (.terminator-wrapped) to override argv0 at script startup.. | 10:54:17 |
Jan Tojnar | In reply to @ius:nltrix.net Must be related to the .desktop file somehow. Now the interesting thing is that terminator is wrapped twice - i.e. there's a bin/terminator -> bin/..terminator-wrapped-wrapped -> bin/.terminator-wrapped. If I comment out wrapGAppsHook in the nix expression it's only wrapped once and the icon issue doesn't happen... why? https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-common-issues-double-wrapped | 17:24:03 |
Jan Tojnar | itโs because on linux, exec call does not support changing argv[0] for scripts | 17:25:02 |
hpfr | In reply to @hpfr:matrix.org Flatpak 1.12 is out, fixing proton for flatpak Steam it also fixes the new steam linux runtime, which may fix native games using it like retroarch, which crashes immediately at present | 18:40:49 |
Jan Tojnar | generally, flatpak is pretty easy update | 19:31:16 |
ius | Jan Tojnar: Thanks! I resorted to patching terminator itself, but that looks like the proper solution, I'll give it a go | 20:27:50 |
hpfr | that's good to hear. the nix package looks quite complicated | 21:12:17 |
Jan Tojnar | note that the portal is already updated in the gnome pr | 22:21:35 |
| 10 Oct 2021 |
hpfr | Oh cool, I forgot about that. I was just looking at the flatpak expression which still seems complicated to my eyes ๐
| 16:36:27 |
| 11 Oct 2021 |
Jan Tojnar | GNOME 41 now in master | 21:08:31 |
| 17 Oct 2021 |
Jan Tojnar | hpfr: flatpak update https://github.com/NixOS/nixpkgs/pull/141913 | 16:54:32 |
Jan Tojnar | yeah, it is moderately involved | 16:55:50 |
| 18 Oct 2021 |
Arian | I want to autostart an app in the GDM greeter. I found https://help.gnome.org/admin/gdm/3.26/configuration.html.en#autostart but is this exposed in NixOS somehow? | 15:12:17 |
Arian | should I simply add a package to systemPackages with share/gdm/autostart/LoginWindow/blah.desktop inside? | 15:12:34 |
Arian | (I tried that but it didnt work) | 15:13:15 |
Arian | * should I simply add a package to systemPackages with $out/share/gdm/autostart/LoginWindow/blah.desktop inside? | 15:13:28 |
Arian | if you have any pointers that'd be awesome | 15:14:49 |
Arian | Redacted or Malformed Event | 15:17:01 |
Arian | maybe gdm is just searching in ${gdm}/share ? | 15:25:35 |
Arian | * maybe gdm is just searching in ${gdm}/share and that's why it cant find it? | 15:25:42 |
| fabianhjr joined the room. | 17:03:26 |
Jan Tojnar | Arian: yeah, looks like the datadir is hardcoded: https://gitlab.gnome.org/GNOME/gdm/-/blob/358825d4cf08c7e28d7c8364325a6a68649522de/daemon/gdm-launch-environment.c#L957 | 17:38:53 |
Jan Tojnar | maybe you could start stuff using systemd (e.g. WantedBy=display-manager.service) but not sure if it would work | 17:40:33 |
Jan Tojnar | probably will depend on what you want to start | 17:40:42 |
Arian | I want to start an accessibility tool | 17:41:59 |
Arian | E.g. on screen keyboard | 17:42:07 |
Arian | (yes I know there are some on the options menu but that list is not configurable I think) | 17:42:33 |