!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
10 Dec 2023
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
https://github.com/NixOS/nixpkgs/issues
https://github.com/NixOS/nixpkgs/issues/273314
10:36:55
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
https://github.com/NixOS/nixpkgs/issues
* Done
10:37:00
@/yvan:matrix.org@/yvan:matrix.org changed their display name from Yvan Sraka to Yvan Sraka (old).10:56:07
@rootname:matrix.org@rootname:matrix.org joined the room.12:06:31
@jtojnar:matrix.orgJan Tojnar
In reply to @adham-omran:matrix.org
Done
I cannot reproduce. Could you try temporarily removing ~/.config/GIMP?
13:11:54
@jtojnar:matrix.orgJan Tojnarother thing to try would be attaching to to the process with gdb and getting a backtrace13:20:56
@adham-omran:matrix.org@adham-omran:matrix.org
In reply to @jtojnar:matrix.org
I cannot reproduce. Could you try temporarily removing ~/.config/GIMP?
Ran rm -rf ~/.config/GIMP/ and it works now
13:30:51
@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

Show newer messages


Back to Room ListRoom Version: 6