| 11 Dec 2023 |
hpfr | but 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 joined the room. | 15:11:28 |
| @mountaind:matrix.org changed their display name from mountaind to Mountain D. | 15:20:11 |
| @mountaind:matrix.org set a profile picture. | 15:20:27 |
| @mountaind:matrix.org changed their profile picture. | 15:20:39 |
| 12 Dec 2023 |
| @mountaind:matrix.org left the room. | 01:15:24 |
edgar.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 | * 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 | Ah, home.sessionPath = [ "$HOME/.local/bin/" ]; seems to have done the trick.
| 13:32:40 |
| 14 Dec 2023 |
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de | Referencing in case it's relevant to NixOS's GNOME https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$ERBPJStEogpvCLpUFPzgdCAl1dmqyGzg3W60rWxpxsc?via=nixos.org&via=matrix.org&via=nixos.dev | 02:19:48 |
| schuelermine changed their profile picture. | 20:49:01 |
| 15 Dec 2023 |
| diamond (it/its) changed their profile picture. | 20:54:03 |
| Alex S changed their profile picture. | 21:02:41 |
Philip Taron (UTC-8) | Hmm. gnome-online-account depends on gvfs and gvfs depends on gnome-online-accounts. | 22:45:23 |
Philip Taron (UTC-8) | How does this even work?! | 22:45:32 |
Philip Taron (UTC-8) | https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gnome-online-accounts/default.nix#L28
https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gvfs/default.nix#L34 | 22:46:59 |
Lily Foster | In reply to @philiptaron:matrix.org https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gnome-online-accounts/default.nix#L28 https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gvfs/default.nix#L34 gvfs actually doesn't depend on gnome-online-accounts when gnomeSupport is false in the args (which is the default): https://github.com/NixOS/nixpkgs/blob/249d46fbd7aa6bd0bf30a44472116d06ed68c69c/pkgs/development/libraries/gvfs/default.nix#L30 | 22:51:40 |
Philip Taron (UTC-8) | It looks like Nix is trying the dependency lines that way, though.
$ nix path-info --recursive /run/current-system/ | grep gnome-online-accounts
/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
$ nix why-depends /run/current-system/ /nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0 -a
/nix/store/s8h11iwrm9vdhzhxqpp0v6xl5jsziq14-nixos-system-zebul-24.05.20231215.9236780
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ ├───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
│ └───/nix/store/84bj3yxyk6wqr5mmi68r6gg8pv7b0m06-libgdata-0.18.1
│ └───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
└───/nix/store/6ngzpjf0863049kiw241iw61gn8bqwqr-etc
├───/nix/store/bknclddagq7affyv9vpgvnrk2ndwvvk9-user-units
│ ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ └───/nix/store/9zgcgxpina3c4g7pd66fsbhykar8lshm-unit-dbus.service
│ └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
│ └───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
│ ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
├───/nix/store/x8yahcgsk7pbvhwqdxys5bndllm4iksd-etc-pam-environment
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
├───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
├───/nix/store/xbgm3qkh6n9a8pw45vgyqpg00f0b96si-etc-profile
│ └───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
└───/nix/store/p0q8ck2pcdnyfykyy6d2qld2kjbqbjjg-system-units
├───/nix/store/cfdk8zddcrqwvd94k4i41sr2nvpf73a2-unit-accounts-daemon.service
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/rxxc12xpxrsz4qv8w5klm2vqxdpjd8rk-unit-polkit.service
│ └───/nix/store/54wm3l06m7vc729d2phzhf76yvd8zi3z-X-Restart-Triggers-polkit
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
└───/nix/store/yg27m49l7apkq5ir9hskxlj54qd223cd-unit-dbus.service
└───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
| 22:54:23 |
Lily Foster | In reply to @philiptaron:matrix.org
It looks like Nix is trying the dependency lines that way, though.
$ nix path-info --recursive /run/current-system/ | grep gnome-online-accounts
/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
$ nix why-depends /run/current-system/ /nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0 -a
/nix/store/s8h11iwrm9vdhzhxqpp0v6xl5jsziq14-nixos-system-zebul-24.05.20231215.9236780
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ ├───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
│ └───/nix/store/84bj3yxyk6wqr5mmi68r6gg8pv7b0m06-libgdata-0.18.1
│ └───/nix/store/pqqbwn3pw76n8bmx4n49805g2fkzk0q3-gnome-online-accounts-3.48.0
└───/nix/store/6ngzpjf0863049kiw241iw61gn8bqwqr-etc
├───/nix/store/bknclddagq7affyv9vpgvnrk2ndwvvk9-user-units
│ ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ └───/nix/store/9zgcgxpina3c4g7pd66fsbhykar8lshm-unit-dbus.service
│ └───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
│ └───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
│ ├───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/kigis26mdp7yy9163k6zy69ziwdrww6m-dbus-1
├───/nix/store/x8yahcgsk7pbvhwqdxys5bndllm4iksd-etc-pam-environment
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
├───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
│ └───/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
├───/nix/store/xbgm3qkh6n9a8pw45vgyqpg00f0b96si-etc-profile
│ └───/nix/store/xmjmrmy3bik9dai2zacg5y2i1s04rj5r-set-environment
└───/nix/store/p0q8ck2pcdnyfykyy6d2qld2kjbqbjjg-system-units
├───/nix/store/cfdk8zddcrqwvd94k4i41sr2nvpf73a2-unit-accounts-daemon.service
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
├───/nix/store/rxxc12xpxrsz4qv8w5klm2vqxdpjd8rk-unit-polkit.service
│ └───/nix/store/54wm3l06m7vc729d2phzhf76yvd8zi3z-X-Restart-Triggers-polkit
│ └───/nix/store/dczk0rafavaii4y5h4lf1y30k5m456rb-system-path
└───/nix/store/yg27m49l7apkq5ir9hskxlj54qd223cd-unit-dbus.service
└───/nix/store/jrym3x5d3pfjh569pdv6qspbzfzmks34-X-Restart-Triggers-dbus
there are two gvfs's | 22:55:06 |
Lily Foster | the gvfs in the gnome package set does have gnomeSupport turned on, but gnome-online-accounts is outside of that set and uses the one there which has gnomeSupport turned off | 22:56:04 |
Philip Taron (UTC-8) | $ nix path-info --recursive /run/current-system/ | grep gvfs
/nix/store/dhvrg3hqcxb514079d9my8kc70c836kf-gvfs-1.52.1
/nix/store/bmi9p38rrhav1yc901dl8137ashwbrvw-gvfs-1.52.1
Right you are.
| 22:56:06 |
Philip Taron (UTC-8) | Thanks. I'm trying to rid my system of gnome-online-accounts, and I think I need to pick a different hammer than overlays for this one. | 22:58:08 |
Philip Taron (UTC-8) | Ah, I see there's services.gvfs.package. That'll do it. | 23:01:04 |
Philip Taron (UTC-8) | Thanks as always Lily Foster . | 23:10:16 |
Philip Taron (UTC-8) | Sidequest complete: https://github.com/philiptaron/nix-config/blob/lex/overlays.nix#L34-L38 | 23:28:44 |
Philip Taron (UTC-8) | New sidequest: make the X configuration in my user directory the same as GDM so that I don't get nasty mode switching back and forth. | 23:29:16 |
Philip Taron (UTC-8) | $ xrandr --query
Screen 0: minimum 8 x 8, current 3840 x 1600, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x1600+0+0 (normal left inverted right x axis y axis) 890mm x 390mm
3840x1600 59.99 + 174.97 159.95* 144.00 119.98 84.97
1024x768 60.00
800x600 60.32
640x480 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
That's my user and that's what it should be.
| 23:30:05 |
Philip Taron (UTC-8) | https://wiki.archlinux.org/title/GDM#Setup_default_monitor_settings hmmmm | 23:37:30 |
| 16 Dec 2023 |
Philip Taron (UTC-8) | OK, so they're now the same:
systemd.tmpfiles.rules = [
"L+ /run/gdm/.config/monitors.xml - - - - ${monitorsXml}"
];
systemd.user.tmpfiles.users.philip.rules = [
"L+ %h/.config/monitors.xml - - - - ${monitorsXml}"
];
But the modesetting delay is now even worse.
| 00:09:18 |
Philip Taron (UTC-8) | (The monitor confirms it's running at the same refresh rate.) | 00:09:31 |