!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
5 Nov 2024
@cbleslie:matrix.org@cbleslie:matrix.org changed their profile picture.16:46:25
@cbleslie:matrix.org@cbleslie:matrix.org left the room.17:06:46
@jtojnar:matrix.orgJan Tojnar
In reply to @andrew15_5:matrix.org
You will not like this... XD
oh, this is helpful. I remember there was some issue with GLib in the past in the xdg MIME code that caused a crash on Arch. Try double checking if readlink -f ~/.local/share/mime/packages/freedesktop.org.xml points to shared-mime-info-2.4
22:58:28
@jtojnar:matrix.orgJan TojnarOr it might be a new issue, since the trace looks a bit different: https://gitlab.gnome.org/GNOME/glib/-/issues/3516 – though it is likely a bug in Pop_OS!’s glib package23:04:50
6 Nov 2024
@elvishjerricco:matrix.orgElvishJerriccoSo, in GNOME, I have one of my monitors set to disabled manually (for... reasons...). Is there a way to do that declaratively? Especially if I can make it apply to GDM02:04:21
@elvishjerricco:matrix.orgElvishJerricco(reason: my monitor only supports DDC/CI over HDMI, but I can only get high refresh rate over DP, so I have it plugged into both, which is cursed :P)02:04:57
@elvishjerricco:matrix.orgElvishJerriccoI mean ideally I could make the computer pretend there is no HDMI display and only acknowledge its I2C interface for DDC/CI, but I'm not sure if that's possible02:06:05
@andrew15_5:matrix.orgAndrew
In reply to @jtojnar:matrix.org
oh, this is helpful. I remember there was some issue with GLib in the past in the xdg MIME code that caused a crash on Arch. Try double checking if readlink -f ~/.local/share/mime/packages/freedesktop.org.xml points to shared-mime-info-2.4
This does not exist. I have ~/.nix-profile/share/mime/packages/freedesktop.org.xml that points to /nix/store/sw0w471rbkfyliyckbfpjygdkv6j1ajk-shared-mime-info-2.4/share/mime/packages/freedesktop.org.xml.
04:11:45
@andrew15_5:matrix.orgAndrewI'm using unstable branch.04:24:42
@jtojnar:matrix.orgJan Tojnar
In reply to @elvishjerricco:matrix.org
So, in GNOME, I have one of my monitors set to disabled manually (for... reasons...). Is there a way to do that declaratively? Especially if I can make it apply to GDM
If you disabled it with control center, it will go to ~/.config/monitors.xml, IIRC. You should be able to create it with tmpfiles.d, though you will not be able to merge or modify it then.
08:45:11
@jtojnar:matrix.orgJan Tojnar
In reply to @andrew15_5:matrix.org
This does not exist. I have ~/.nix-profile/share/mime/packages/freedesktop.org.xml that points to /nix/store/sw0w471rbkfyliyckbfpjygdkv6j1ajk-shared-mime-info-2.4/share/mime/packages/freedesktop.org.xml.
Hmm, then I can only suggest reporting the issue to Pop_OS!, so that they can patch/update GLib.
09:01:23
@elvishjerricco:matrix.orgElvishJerricco
In reply to @jtojnar:matrix.org
If you disabled it with control center, it will go to ~/.config/monitors.xml, IIRC. You should be able to create it with tmpfiles.d, though you will not be able to merge or modify it then.
hm, yea that seems like a not-great way to go about this. Maybe I'll see if I can literally disable one of the video outputs at the kernel level or something somehow
09:02:33
@andrew15_5:matrix.orgAndrew
In reply to @jtojnar:matrix.org
Hmm, then I can only suggest reporting the issue to Pop_OS!, so that they can patch/update GLib.
Will this still happen if I use an older nixpkgs?
09:05:22
@andrew15_5:matrix.orgAndrew
In reply to @jtojnar:matrix.org
Hmm, then I can only suggest reporting the issue to Pop_OS!, so that they can patch/update GLib.
* Will this still happen if I use an older nixpkgs/home-manager?
09:05:36
@jtojnar:matrix.orgJan Tojnar Andrew: you could try using a revision with older shared-mime-info version but in the end it is the GLib from Pop_OS! crashing so it should be addressed there 09:11:19
@andrew15_5:matrix.orgAndrewhm, ok09:11:36
@jtojnar:matrix.orgJan Tojnaror you could maybe configure h-m to not install shared-mime-info since you already have it system-wide09:11:48
@andrew15_5:matrix.orgAndrewOh, and... how can I do that?09:12:05
@andrew15_5:matrix.orgAndrew xdg.mime.enable = false? 09:14:22
@jtojnar:matrix.orgJan Tojnaryeah, that should work if you do not use that module09:14:53
@jtojnar:matrix.orgJan Tojnarhttps://github.com/nix-community/home-manager/blob/2f607e07f3ac7e53541120536708e824acccfaa8/modules/misc/xdg-mime.nix#L1309:15:00
@andrew15_5:matrix.orgAndrew I don't use xdg.mime, at least not right now. 09:15:45
@andrew15_5:matrix.orgAndrew
In reply to @andrew15_5:matrix.org
xdg.mime.enable = false?
Hell yeah, fixed!
09:18:15
@andrew15_5:matrix.orgAndrewThanks for the support.09:18:30
@elvishjerricco:matrix.orgElvishJerricco
In reply to @elvishjerricco:matrix.org
hm, yea that seems like a not-great way to go about this. Maybe I'll see if I can literally disable one of the video outputs at the kernel level or something somehow
Oh sweet, this is actually possible. video=HDMI-A-1:d disables the unwanted video output, but I still get the i2c device to control the DDC/CI
09:32:35
@elvishjerricco:matrix.orgElvishJerriccoso now gnome just doesn't even know this video output exists09:33:04
@elvishjerricco:matrix.orgElvishJerricco I wonder if I can get it to be disabled in a udev rule instead so that I don't have to rely on the loose HDMI-A-1 name 09:33:29
@seapat:matrix.orgseapat joined the room.13:50:33
@mcnesium:exma.de@mcnesium:exma.de joined the room.18:15:44
8 Nov 2024
@jschvz:matrix.orgjschvz joined the room.02:57:52

Show newer messages


Back to Room ListRoom Version: 6