Hello,

I am using Guix system with the GNOME desktop environment on my computer. I am 
using a 4k television as my display (resolution of 3840x2160). In order to 
comfortably view what is on-screen, I have display scaling set to 200% in GNOME 
settings. This scales GNOME and GTK apps like GNU IceCat fine, but Emacs and QT 
apps like QDirStat are still displayed at 100% scale.

When searching for a solution to this problem, I came across this link: 
https://forum.systemcrafters.net/t/configuring-gnome-hidpi/
In the post, wegei8 shares gsettings commands which fixed their issue 
temporarily when run:
> $ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides 
> "[{'Gdk/WindowScalingFactor', <2>}, {'Gtk/CursorThemeSize', <48>}]"
> $ gsettings set org.gnome.desktop.interface scaling-factor 2

When I tried running the command, bash reports "gsettings: command not found".

When searching for a way to get the gsettings command, I came across this link: 
https://www.reddit.com/r/GUIX/comments/11hz4q3/which_package_provides_gsettings/
In the post, daviwil reports:
> If you use specification->package+output you can resolve it by the name 
> "glib:bin".


Based on this information, I attempted to add the following to my system 
configuration file, just before the system services:
> (packages (append (list (specification->package+output "glib:bin")) 
> %base-packages))

When running 'guix system reconfigure' against the new configuration file, I 
receive the following error:
> guix system: error: profile contains conflicting entries for glib
> guix system: error:   first entry: [email protected] 
> /gnu/store/bfyhz5cgw6vry5yqmrqag8f13la6mkbr-glib-2.83.3
> guix system: error:   second entry: [email protected] 
> /gnu/store/03wgdb4480fffhczj7kdxzvhpx3rfbr1-glib-2.83.3
> guix system: error:    ... propagated from libgudev@238
> guix system: error:    ... propagated from [email protected]
> guix system: error:    ... propagated from [email protected]
> hint: Try upgrading both `glib' and `gst-plugins-good', or remove one of them 
> from the profile.

I assume this error has something to do with the fact that 
'gnome-desktop-service-type' already provides glib in my system configuration.

Since I am already diverting from my original issue of "some apps aren't 
scaling properly" to "I can't use the gsettings command", I'm hoping someone 
here may have a solution to the scaling issue without going down the gsettings 
rabbit hole. If not, how would I resolve the conflicting entries for glib so I 
can get the gsettings command?

Any help or guidance is much appreciated!


Kind Regards,

Graysen Pitts

Reply via email to