You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Edited ~/.config/xrandr-extend.cfg as follows:
set primary = 3840, 2160 in [resolutions]
added: [nvidia-g0] as a provider after being instructed by xrandr-extend hdmi with primary = eDP-1 and hdmi = HDMI-1-0
Running with -x 1 hdmi gives me a properly fixed window 1920x1080, but UI elements are all scaled to twice the size (i.e. enormous). A note that UI elements seem to be 2x scaled on the primary 4k laptop display, which is what I want, as without 2x UI scaling there, everything is impossibly small.
Essentially I want: primary to be at 4k with 2x UI scaling, secondary to be at 1080p with 1x UI scaling.
Description
External HDMI has 4x zoomed (i.e. I can only see the top left corner of a theoretical secondary 3840x2160)
What I Did
pip install xrandr-extendpython3 -m xrandr_extend.cfgEdited
~/.config/xrandr-extend.cfgas follows:set
primary = 3840, 2160in[resolutions]added:
[nvidia-g0]as a provider after being instructed byxrandr-extend hdmiwithprimary = eDP-1andhdmi = HDMI-1-0Running with
-x 1 hdmigives me a properly fixed window 1920x1080, but UI elements are all scaled to twice the size (i.e. enormous). A note that UI elements seem to be 2x scaled on the primary 4k laptop display, which is what I want, as without 2x UI scaling there, everything is impossibly small.Essentially I want: primary to be at 4k with 2x UI scaling, secondary to be at 1080p with 1x UI scaling.