-
-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chrome-gnome-shell doesn't work in 17.09 #34184
Comments
Please read the description of the package:
|
Thanks for the info. That's very helpful. I hadn't seen the instructions in the description because I'm on I assume I could install a version of |
You can definitely run services from different paths. For example, if you register {
imports = [
<unstable/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix>
];
# Disable the module from the default channel
disabledModules = [ "desktops/gnome3/chrome-gnome-shell.nix" ];
services.gnome3.chrome-gnome-shell.enable = true;
nixpkgs.config.firefox.enableGnomeExtensions = true;
nixpkgs.config.packageOverrides = super: {
firefox = unstable.firefox;
# Not sure if this is necessary, or the module picks up the package from the channel
chrome-gnome-shell = unstable.chrome-gnome-shell;
};
} |
@neilmayhew maybe have a look at the diff here: #31743 It's the PR that adds support for Browserpass (another native messaging extension) to Firefox. According to this, you can override the Firefox wrapper with |
@eqyiel that one is also only on unstable. |
@jtojnar my bad! |
@jtojnar Unfortunately, that isn't working for me. I added I then put your code snippet into It says, undefined variable ‘unstable’ for the two places it's used in I'm also thinking that this part must be wrong: {
imports = [
<unstable/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix>
];
} because that would merge I've fiddled around with this a bit but haven't been able to make it work yet. If you have any further pointers, I'd appreciate it. Currently, I have: { config, pkgs, options, ... }:
let
unstable = import <unstable>;
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Disable the module from the default channel
disabledModules = [ "desktops/gnome3/chrome-gnome-shell.nix" ];
services.gnome3.chrome-gnome-shell.enable = true;
nixpkgs.config.firefox.enableGnomeExtensions = true;
nixpkgs.config.packageOverrides = super: {
firefox = unstable.firefox;
# Not sure if this is necessary, or the module picks up the package from the channel
chrome-gnome-shell = unstable.chrome-gnome-shell;
};
# ...
} It fails with:
|
The setting of |
I got it to build a profile, with the following configuration: { config, pkgs, options, ... }:
let
unstable = import <unstable> {};
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
<unstable/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix>
];
# Disable the module from the default channel
disabledModules = [ "desktops/gnome3/chrome-gnome-shell.nix" ];
services.gnome3.chrome-gnome-shell.enable = true;
nixpkgs.config.firefox.enableGnomeExtensions = true;
nixpkgs.config.packageOverrides = super: {
firefox = unstable.firefox;
# Not sure if this is necessary, or the module picks up the package from the channel
chrome-gnome-shell = unstable.chrome-gnome-shell;
};
# ...
} but the web page still says, "native host connector is not detected". Building the profile brought in a lot of gnome and GTK stuff, so it does seem to be using things from unstable. I started firefox from the command line, using an empty profile with just the GNOME Shell integration extension installed. Thanks for your help with this, but I'm going to put it on hold for now. Hopefully it'll work for me in 18.03. |
Works just fine with the latest unstable and a following config: environment.systemPackages = with pkgs; [
firefox
chrome-gnome-shell
];
nixpkgs.config.firefox.enableGnomeExtensions = true; |
Issue description
Gnome-Shell integration with
chrome-gnome-shell
doesn't work.Steps to reproduce
Open Firefox or Chromium, browse to http://extensions.gnome.org. Page says extension is installed but native host connector isn't running, even when
chrome-gnome-shell
is installed withnix-env
.Things tried
See comments at the end of #26981
Technical details
"x86_64-linux"
Linux 4.9.77, NixOS, 17.09.2826.5141f28405e (Hummingbird)
yes
no
nix-env (Nix) 1.11.16
""
"nixos-17.09.2826.5141f28405e"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: