!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
10 Dec 2023
@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
@mountaind:matrix.org@mountaind:matrix.org changed their display name from mountaind to Mountain D.15:20:11
@mountaind:matrix.org@mountaind:matrix.org set a profile picture.15:20:27
@mountaind:matrix.org@mountaind:matrix.org changed their profile picture.15:20:39
12 Dec 2023
@mountaind:matrix.org@mountaind:matrix.org left the room.01:15:24
@edgar.vincent:matrix.orgedgar.vincent

Hi all. I'd like to add ~/.local/bin/ to the PATH as seen by Gnome (rather than the shell, wich is did with environment.localBinInPath = true;) with home-manager. Does anyone know how to do that?

13:12:16
@edgar.vincent:matrix.orgedgar.vincent *

Hi all. I'd like to add ~/.local/bin/ to the PATH as seen by Gnome (rather than the shell, wich I did with environment.localBinInPath = true;) with home-manager. Does anyone know how to do that?

13:12:36
@edgar.vincent:matrix.orgedgar.vincent

Ah, home.sessionPath = [ "$HOME/.local/bin/" ]; seems to have done the trick.

13:32:40
14 Dec 2023
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.deReferencing in case it's relevant to NixOS's GNOME https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$ERBPJStEogpvCLpUFPzgdCAl1dmqyGzg3W60rWxpxsc?via=nixos.org&via=matrix.org&via=nixos.dev02:19:48
@schuelermine:matrix.orgschuelermine changed their profile picture.20:49:01
15 Dec 2023
@diamondburned:matrix.orgdiamond (it/its) changed their profile picture.20:54:03
@ultra:beeper.comAlex S changed their profile picture.21:02:41
@philiptaron:matrix.orgPhilip Taron (UTC-8) Hmm. gnome-online-account depends on gvfs and gvfs depends on gnome-online-accounts. 22:45:23
@philiptaron:matrix.orgPhilip Taron (UTC-8)How does this even work?!22:45:32

Show newer messages


Back to Room ListRoom Version: 6