!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

406 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)94 Servers

Load older messages


SenderMessageTime
9 Oct 2021
@ius:nltrix.netius 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:nltrix.netius 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:nltrix.netius ..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:nltrix.netius * 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
@jtojnar:matrix.orgJan 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
@jtojnar:matrix.orgJan Tojnaritโ€™s because on linux, exec call does not support changing argv[0] for scripts17:25:02
@hpfr:matrix.orghpfr
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
@jtojnar:matrix.orgJan Tojnargenerally, flatpak is pretty easy update19:31:16
@ius:nltrix.netius 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:matrix.orghpfrthat's good to hear. the nix package looks quite complicated21:12:17
@jtojnar:matrix.orgJan Tojnarnote that the portal is already updated in the gnome pr22:21:35
10 Oct 2021
@hpfr:matrix.orghpfrOh 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
@jtojnar:matrix.orgJan TojnarGNOME 41 now in master21:08:31
17 Oct 2021
@jtojnar:matrix.orgJan Tojnar hpfr: flatpak update https://github.com/NixOS/nixpkgs/pull/141913 16:54:32
@jtojnar:matrix.orgJan Tojnaryeah, it is moderately involved16:55:50
18 Oct 2021
@arianvp:matrix.orgArianI 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
@arianvp:matrix.orgArian should I simply add a package to systemPackages with share/gdm/autostart/LoginWindow/blah.desktop inside? 15:12:34
@arianvp:matrix.orgArian(I tried that but it didnt work)15:13:15
@arianvp:matrix.orgArian * should I simply add a package to systemPackages with $out/share/gdm/autostart/LoginWindow/blah.desktop inside? 15:13:28
@arianvp:matrix.orgArianif you have any pointers that'd be awesome15:14:49
@arianvp:matrix.orgArianRedacted or Malformed Event15:17:01
@arianvp:matrix.orgArian maybe gdm is just searching in ${gdm}/share ? 15:25:35
@arianvp:matrix.orgArian * maybe gdm is just searching in ${gdm}/share and that's why it cant find it? 15:25:42
@fabianhjr:matrix.orgfabianhjr joined the room.17:03:26
@jtojnar:matrix.orgJan 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
@jtojnar:matrix.orgJan Tojnar maybe you could start stuff using systemd (e.g. WantedBy=display-manager.service) but not sure if it would work 17:40:33
@jtojnar:matrix.orgJan Tojnarprobably will depend on what you want to start17:40:42
@arianvp:matrix.orgArianI want to start an accessibility tool17:41:59
@arianvp:matrix.orgArianE.g. on screen keyboard17:42:07
@arianvp:matrix.orgArian(yes I know there are some on the options menu but that list is not configurable I think)17:42:33

Show newer messages


Back to Room ListRoom Version: 6