| 5 Nov 2024 |
| @cbleslie:matrix.org changed their profile picture. | 16:46:25 |
| @cbleslie:matrix.org left the room. | 17:06:46 |
Jan 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 |
Jan Tojnar | Or 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 package | 23:04:50 |
| 6 Nov 2024 |
ElvishJerricco | 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 | 02:04:21 |
ElvishJerricco | (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 | I 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 possible | 02:06:05 |
Andrew | 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 |
Andrew | I'm using unstable branch. | 04:24:42 |
Jan 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 |
Jan 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 | 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 |
Andrew | 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 |
Andrew | 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 |
Jan 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 |
Andrew | hm, ok | 09:11:36 |
Jan Tojnar | or you could maybe configure h-m to not install shared-mime-info since you already have it system-wide | 09:11:48 |
Andrew | Oh, and... how can I do that? | 09:12:05 |
Andrew | xdg.mime.enable = false? | 09:14:22 |
Jan Tojnar | yeah, that should work if you do not use that module | 09:14:53 |
Jan Tojnar | https://github.com/nix-community/home-manager/blob/2f607e07f3ac7e53541120536708e824acccfaa8/modules/misc/xdg-mime.nix#L13 | 09:15:00 |
Andrew | I don't use xdg.mime, at least not right now. | 09:15:45 |
Andrew | In reply to @andrew15_5:matrix.org
xdg.mime.enable = false? Hell yeah, fixed! | 09:18:15 |
Andrew | Thanks for the support. | 09:18:30 |
ElvishJerricco | 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 | so now gnome just doesn't even know this video output exists | 09:33:04 |
ElvishJerricco | 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 joined the room. | 13:50:33 |
| @mcnesium:exma.de joined the room. | 18:15:44 |
| 8 Nov 2024 |
| jschvz joined the room. | 02:57:52 |