!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
18 Aug 2023
@ThorHop:matrix.org@ThorHop:matrix.orgWhere 45 beta?20:48:31
20 Aug 2023
@bobby285271:matrix.orgbobby285271
In reply to @jtojnar:matrix.org
we will probably want to cherry pick https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3186 in the meanwhile
I am fine to rebase the GNOME 45 branch later, just one question, will this fix the esc hack in nixosTests.gnome? (I have a branch for it and for some reason the test did not pass for me at least in the first 90 seconds 🤔)
04:14:20
@palasso:matrix.org@palasso:matrix.org

Hello. I am using home-manager as a NixOS module in 23.05. I have been trying to set a clock in GNOME Shell's world clocks and GNOME clocks app via dconf.settings but I haven't found a solution.
Specifically, I can see the clock in GNOME Shell in "World Clocks" (when clicking at the date/time on the top panel, a pop-up appears and below the calendar it has a "World Clocks") but when I click on it and opens the GNOME Clocks app it doesn't show any clock. This is where I am at:

{ lib, ... }:
let
  # dconf location for weather, clocks etc.
  dconfLocation = { city, ICAO_code, x, y }: with lib.hm.gvariant; [ (mkVariant (mkTuple [ (mkUint32 2) (mkVariant (mkTuple [ city ICAO_code true [ (mkTuple x) ] [ (mkTuple y) ]])) ])) ];
  # Berlin: [<(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>]
  berlin = dconfLocation {
    city = "Berlin";
    ICAO_code = "EDDT";
    x = [0.91746141594945008 0.23241968454167572];
    y = [0.91658875132345297 0.23387411976724018];
  };
in
{
  # Export dconf settings into a nix file: `dconf dump / | dconf2nix > dconf.nix`
  # Use `dconf watch /` to track stateful changes you are doing, then set them here.
  dconf.settings = {
    "org/gnome/shell/world-clocks".locations = berlin;
    # [{'location': <(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>}]
    "org/gnome/clocks".world-clocks = with lib.hm.gvariant; [ [ (mkDictionaryEntry [ "location" (builtins.head berlin) ]) ] ];
  };
}

I presume I am doing something wrong in "org/gnome/clocks".world-clocks. Are there any ideas how I can resolve that issue?

07:47:23
@palasso:matrix.org@palasso:matrix.org *

Hello. I am using home-manager as a NixOS module in 23.05. I have been trying to set a clock in GNOME Shell's world clocks and GNOME clocks app via dconf.settings but I haven't found a solution.
Specifically, I can see the clock in GNOME Shell in "World Clocks" (when clicking at the date/time on the top panel, a pop-up appears and below the calendar it has a "World Clocks") but when I click on it and opens the GNOME Clocks app it doesn't show any clock. This is where I am at:

# home.nix
{ lib, ... }:
let
  # dconf location for weather, clocks etc.
  dconfLocation = { city, ICAO_code, x, y }: with lib.hm.gvariant; [ (mkVariant (mkTuple [ (mkUint32 2) (mkVariant (mkTuple [ city ICAO_code true [ (mkTuple x) ] [ (mkTuple y) ]])) ])) ];
  # Berlin: [<(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>]
  berlin = dconfLocation {
    city = "Berlin";
    ICAO_code = "EDDT";
    x = [0.91746141594945008 0.23241968454167572];
    y = [0.91658875132345297 0.23387411976724018];
  };
in
{
  # Export dconf settings into a nix file: `dconf dump / | dconf2nix > dconf.nix`
  # Use `dconf watch /` to track stateful changes you are doing, then set them here.
  dconf.settings = {
    "org/gnome/shell/world-clocks".locations = berlin;
    # [{'location': <(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>}]
    "org/gnome/clocks".world-clocks = with lib.hm.gvariant; [ [ (mkDictionaryEntry [ "location" (builtins.head berlin) ]) ] ];
  };
}

I presume I am doing something wrong in "org/gnome/clocks".world-clocks. Are there any ideas how I can resolve that issue?

07:48:23
@palasso:matrix.org@palasso:matrix.org *

Hello. I am using home-manager as a NixOS module in 23.05. I have been trying to set a clock in GNOME Shell's world clocks and GNOME clocks app via dconf.settings but I haven't found a solution.
Specifically, I can see the clock in GNOME Shell in "World Clocks" (when clicking at the date/time on the top panel, a pop-up appears and below the calendar it has a "World Clocks") but when I click on it and opens the GNOME Clocks app it doesn't show any clock. This is where I am at:

# home.nix
{ lib, ... }:
let
  # dconf location for weather, clocks etc.
  dconfLocation = { city, ICAO_code, x, y }: with lib.hm.gvariant; [ (mkVariant (mkTuple [ (mkUint32 2) (mkVariant (mkTuple [ city ICAO_code true [ (mkTuple x) ] [ (mkTuple y) ]])) ])) ];
  # Berlin: [<(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>]
  berlin = dconfLocation {
    city = "Berlin";
    ICAO_code = "EDDT";
    x = [0.91746141594945008 0.23241968454167572];
    y = [0.91658875132345297 0.23387411976724018];
  };
in
{
  # Export dconf settings into a nix file: `dconf dump / | dconf2nix > dconf.nix`
  # Use `dconf watch /` to track stateful changes you are doing, then set them here.
  dconf.settings = {
    "org/gnome/shell/world-clocks".locations = berlin;
    # [{'location': <(uint32 2, <('Berlin', 'EDDT', true, [(0.91746141594945008, 0.23241968454167572)], [(0.91658875132345297, 0.23387411976724018)])>)>}]
    "org/gnome/clocks".world-clocks = with lib.hm.gvariant; [ [ (mkDictionaryEntry [ "location" (builtins.head berlin) ]) ] ];
  };
}

I presume I am doing something wrong in "org/gnome/clocks".world-clocks as "org/gnome/shell/world-clocks".locations seems to work. Are there any ideas how I can resolve that issue?

09:02:32
@jtojnar:matrix.orgJan Tojnar
In reply to @bobby285271:matrix.org
I am fine to rebase the GNOME 45 branch later, just one question, will this fix the esc hack in nixosTests.gnome? (I have a branch for it and for some reason the test did not pass for me at least in the first 90 seconds 🤔)
If it is a proper fix, it might. But I have not looked into the details yet. I can only say I have not noticed any of the annoyances when using it on work laptop for two days.
10:07:01
@alper-celik:matrix.org@alper-celik:matrix.org joined the room.16:51:30
@vcunat:matrix.orgvcunatQuick question for gnome shell extensions - is it normal to find non-determinism in their interactions?16:55:10
@vcunat:matrix.orgvcunatIt's like different things happen when they get loaded in different order or something.16:55:32
@vcunat:matrix.orgvcunat * Quick question for gnome shell extensions - is it common to find non-determinism in their interactions?16:55:51
@vcunat:matrix.orgvcunat(I don't expect this is a NixOS-specific thing, though.)16:56:20
21 Aug 2023
@uep:matrix.orguepI mean, it doesn't surprise me, it's a twisty maze of javascript hooks manipulating state00:13:33
@uep:matrix.orguepand it's pretty easy to get conflicts deliberately between extensions that both want to do something similar, like say tiling managers that catch various window events and push new resizing events. So there can surely be less-intentional and less-intuitive interactions between others.00:18:49
@abose:matrix.orgcatch22 joined the room.04:25:35
22 Aug 2023
@kreativmonkey:matrix.orgkreativmonkey joined the room.12:16:37
23 Aug 2023
@ThorHop:matrix.org@ThorHop:matrix.org Is creating a user during the install process really necessary if you specify to install gnome? I'm seeing services.gnome.gnome-initial-setup.enable set to true, so it should trigger a user creation process at first boot... right? 23:54:40
24 Aug 2023
@flintflump:matrix.orgflintflump set a profile picture.08:21:04
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their profile picture.18:50:24
25 Aug 2023
@er10:matrix.org@er10:matrix.org joined the room.19:42:13
@rimuru:gentoo.chat@rimuru:gentoo.chat changed their display name from rimuru to rimuru (moved to @kaya:catnip.ee).21:59:35
@rimuru:gentoo.chat@rimuru:gentoo.chat left the room.22:27:18
27 Aug 2023
@nadimkobeissi:matrix.org@nadimkobeissi:matrix.org joined the room.08:14:27
28 Aug 2023
@onefjef:matrix.org@onefjef:matrix.org left the room.16:59:43
@neul:matrix.org@neul:matrix.org left the room.18:54:42
@nadimkobeissi:matrix.org@nadimkobeissi:matrix.org left the room.20:57:41
30 Aug 2023
@cifre:matrix.org@cifre:matrix.org

I got this error after doing sudo nixos-rebuild switch:

                         ^----
The variable "use_gnome_keyring" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list <out_dir>"

The build continued as if that argument was unspecified.

Done. Made 18727 targets from 3348 files in 47170ms
WARNING
Found gn WARNING, exiting nix build
error: builder for '/nix/store/4h2ifl3gc5pzvc4nqfi8hl2vai2m7ckd-chromium-unwrapped-116.0.5845.42.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/marfjgxxpskngy9fx4q7xsyh5nhw17l1-chromium-dev-116.0.5845.42.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3mh2z0ajflvn236d1kfynk0679zzp1bv-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hh5knw1a4wxd26kvfcg2r9vz65lml3va-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dqfkqsz6y63cizl4rb67prknccvf0rq9-nixos-system-nixos-23.05.2533.9652a97d9738.drv' failed to build
02:25:53
@cifre:matrix.org@cifre:matrix.org *

Hello. I got this error when I did sudo nixos-rebuild switch:

                         ^----
The variable "use_gnome_keyring" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list <out_dir>"

The build continued as if that argument was unspecified.

Done. Made 18727 targets from 3348 files in 47170ms
WARNING
Found gn WARNING, exiting nix build
error: builder for '/nix/store/4h2ifl3gc5pzvc4nqfi8hl2vai2m7ckd-chromium-unwrapped-116.0.5845.42.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/marfjgxxpskngy9fx4q7xsyh5nhw17l1-chromium-dev-116.0.5845.42.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3mh2z0ajflvn236d1kfynk0679zzp1bv-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hh5knw1a4wxd26kvfcg2r9vz65lml3va-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dqfkqsz6y63cizl4rb67prknccvf0rq9-nixos-system-nixos-23.05.2533.9652a97d9738.drv' failed to build
02:28:35
@openssl_rand:projectsegfau.lt@openssl_rand:projectsegfau.lt changed their profile picture.22:22:08
31 Aug 2023
@philiptaron:matrix.orgPhilip Taron (UTC-8) joined the room.21:46:20
1 Sep 2023
@jtojnar:matrix.orgJan Tojnar
In reply to @cifre:matrix.org

Hello. I got this error when I did sudo nixos-rebuild switch:

                         ^----
The variable "use_gnome_keyring" was set as a build argument
but never appeared in a declare_args() block in any buildfile.

To view all possible args, run "gn args --list <out_dir>"

The build continued as if that argument was unspecified.

Done. Made 18727 targets from 3348 files in 47170ms
WARNING
Found gn WARNING, exiting nix build
error: builder for '/nix/store/4h2ifl3gc5pzvc4nqfi8hl2vai2m7ckd-chromium-unwrapped-116.0.5845.42.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/marfjgxxpskngy9fx4q7xsyh5nhw17l1-chromium-dev-116.0.5845.42.drv' failed to build
error: 1 dependencies of derivation '/nix/store/3mh2z0ajflvn236d1kfynk0679zzp1bv-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hh5knw1a4wxd26kvfcg2r9vz65lml3va-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dqfkqsz6y63cizl4rb67prknccvf0rq9-nixos-system-nixos-23.05.2533.9652a97d9738.drv' failed to build
are you overriding chromium or something? That flag is no longer available in 116, see https://github.com/NixOS/nixpkgs/commit/57c54aff55b9e382689dd2e4e8006e8d5949ee5e
12:55:09

Show newer messages


Back to Room ListRoom Version: 6