!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
10 Dec 2023
@adham-omran:matrix.org@adham-omran:matrix.orgI'll close the issue with this note, if it happens again I'll let you know Thank you Jan13:31:52
@adham-omran:matrix.org@adham-omran:matrix.org * I'll close the issue with a note about, if it happens again I'll let you know Thank you Jan13:32:06
@jtojnar:matrix.orgJan TojnarGIMP stores window position so it might be that it put it on a wrong display that does not exist (according to https://discourse.gnome.org/t/gimp-2-10-32-1-not-opening/13382/4?u=jtojnar)13:32:43
@jtojnar:matrix.orgJan Tojnarbut I guess the only way to tell for certain would be comparing the config before and after13:34:07
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
GIMP stores window position so it might be that it put it on a wrong display that does not exist (according to https://discourse.gnome.org/t/gimp-2-10-32-1-not-opening/13382/4?u=jtojnar)
That is possible, I'm running a 2-display setup so maybe it was open during a suspend or during a period where I turned off one of the two displays. This would also explain why it appears in KDE once I tried switching
13:34:31
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
but I guess the only way to tell for certain would be comparing the config before and after
Which we can't since I hastly rmed the thing..
13:34:49
@jtojnar:matrix.orgJan TojnarI guess keep that in mind for the next time it happens. I think it still should not happen but it is hard to tell if it is GIMP or GNOME Shell bug13:36:33
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
I guess keep that in mind for the next time it happens. I think it still should not happen but it is hard to tell if it is GIMP or GNOME Shell bug
Come to think of it I observed this on two other occasions, being a Firefox instance from https://github.com/clj-commons/etaoin and Minecraft Java Edition, I blamed both on 23.11 being 23.11 and did not report nor investigate further. I'll do so in the coming days
14:06:07
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
I guess keep that in mind for the next time it happens. I think it still should not happen but it is hard to tell if it is GIMP or GNOME Shell bug
* Come to think of it I observed this on two other occasions, being a Firefox instance from Etaoin and Minecraft Java Edition, I blamed both on 23.11 being 23.11 and did not report nor investigate further. I'll do so in the coming days
14:06:27
@adham-omran:matrix.org@adham-omran:matrix.org * Come to think of it I observed this behavior on two other occasions, being a Firefox instance from Etaoin and Minecraft Java Edition, I blamed both on 23.11 being 23.11 and did not report nor investigate further. I'll do so in the coming days 14:06:48
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @adham-omran:matrix.org
Come to think of it I observed this behavior on two other occasions, being a Firefox instance from Etaoin and Minecraft Java Edition, I blamed both on 23.11 being 23.11 and did not report nor investigate further. I'll do so in the coming days

After a lot of reboots, MC work.

Also Jan Tojnar I found a gimp config on my laptop that doesn't work, moved it to another directory and it works. How can I compare the configs?

14:15:51
@vcunat:matrix.orgvcunat Standard text comparison isn't good enough? meld for example 15:02:53
@edgar.vincent:matrix.orgedgar.vincent

Is

  services.gnome.gnome-browser-connector.enable = true;
  programs.firefox.nativeMessagingHosts.packages = [ pkgs.gnome-browser-connector ];

enough for being able to install Gnome extensions from extensions.gnome.org with Firefox?

15:45:55
@edgar.vincent:matrix.orgedgar.vincent

When I do that, I get No such native application org.gnome.chrome_gnome_shell on extensions.gnome.org

15:46:34
@edgar.vincent:matrix.orgedgar.vincentIn the end, I managed to install extensions through gnome-extension-manager.17:36:42
@jtojnar:matrix.orgJan Tojnar
In reply to @edgar.vincent:matrix.org

Is

  services.gnome.gnome-browser-connector.enable = true;
  programs.firefox.nativeMessagingHosts.packages = [ pkgs.gnome-browser-connector ];

enough for being able to install Gnome extensions from extensions.gnome.org with Firefox?

The former already does the latter. But that will only work if you installed Firefox using programs.firefox.enable = true; not explicit environment.systemPackages
18:27:20
@jtojnar:matrix.orgJan Tojnaralso not all extensions from the extension portal will work18:27:38
@jtojnar:matrix.orgJan Tojnar(some have dependencies that need to be patched on NixOS18:28:02
@edgar.vincent:matrix.orgedgar.vincent

Thanks a lot Jan Tojnar

19:47:55
@deerouspie:matrix.orgpiousdeer
In reply to @deerouspie:matrix.org
Oh with the new ES Modules system we can do static analysis to detect used dependencies quite easily actually! Plenty of tooling in JS world already does this
Here's a Node.js script that prints all gi:// dependencies of an extension using esbuild: https://gist.github.com/piousdeer/83dedd5155cec9aadbed4e076e41be26
22:50:12
@deerouspie:matrix.orgpiousdeer
$ ./listGnomeExtensionGiDependencies.mjs /nix/store/9c7vkilw1m8fwvr81xd2rcnf9cba7dys-gnome-shell-extension-color-picker-38/share/gnome-shell/extensions/color-picker@tuberry/ | jq
{
  "extension.js": [
    "gi://St",
    "gi://Gio",
    "gi://GLib",
    "gi://Meta",
    "gi://cairo",
    "gi://Shell",
    "gi://Clutter",
    "gi://GObject",
    "gi://Graphene",
    "gi://Soup/?version=3.0"
  ],
  "prefs.js": [
    "gi://Adw",
    "gi://Gtk",
    "gi://Gdk",
    "gi://GObject",
    "gi://Gio",
    "gi://GLib",
    "gi://Pango",
    "gi://Graphene",
    "gi://Soup/?version=3.0"
  ]
}
22:52:32
@deerouspie:matrix.orgpiousdeer Including those imported in JS submodules, dynamic import()s, export froms. So, a bit more complex than a regexp job 22:56:23
@deerouspie:matrix.orgpiousdeer There are apparently some built-in modules in GJS: "gi", "system", "cairo", "gettext". I don't know if there's more, but they should be added to external. 22:57:00
11 Dec 2023
@hpfr:matrix.orghpfrcan anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because set-environment adds gvfs, glib-networking, and dconf, and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. GNOME Wayland session08:36:21
@hpfr:matrix.orghpfr * can anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because set-environment adds gvfs, glib-networking, and dconf, and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. I’m using a GNOME Wayland session 08:36:32
@hpfr:matrix.orghpfr * can anyone point me where to look for why GIO_EXTRA_MODULES is getting the dconf path prepended to it again? it seems to be happening after /etc/profile, because /etc/set-environment adds gvfs, glib-networking, and dconf (via environment.sessionVariables from the corresponding NixOS modules, I think), and then I prepend a value in /etc/profile, and then dconf is prepended again somehow. I’m using a GNOME Wayland session 08:42:08
@hpfr:matrix.orghpfr
$ printenv GIO_EXTRA_MODULES | tr : \\n
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
/home/lh/.guix-home/profile/lib/gio/modules
/home/lh/.guix-home/profile/lib/gio/modules
/nix/store/di8rblply9n618k476df53fdbx373gbh-gvfs-1.52.1/lib/gio/modules
/nix/store/zd4zpqb3af9zgx7qjkvkmv87xyd2wgph-glib-networking-2.78.0/lib/gio/modules
/nix/store/i922kjr8b83ifdyfwi8fif6knrmjs146-dconf-0.40.0-lib/lib/gio/modules
08:49:06
@hpfr:matrix.orghpfrok I think it’s wrapGappsHook4 on kgx08:55:54
@hpfr:matrix.orghpfrbut it looks like Alt-F2 shows the session has a wrapper with both glib-networking and dconf as well :/09:00:47
@mountaind:matrix.org@mountaind:matrix.org joined the room.15:11:28

Show newer messages


Back to Room ListRoom Version: 6