phillipberndt/fakexrandr

Is there a way to merge rather than split monitors?

Opened this issue · 3 comments

I'm trying to use this to make my dual-input monitor work properly. High end monitors like IBM T221 and Dell UP2715K use dual inputs and expose themselves as two separate monitors to the system. Unfortunately, most software doesn't know how to stitch the two together into a single monitor desktop.

fakexrandr-manage doesn't seem to allow for the option of stitching two monitors into one, it only allows for chopping up a screen into multiple screens.

How would I go about creating a fake xrandr display that only exposes a single 5120x2880 output?

Not supported right now, but should be fairly straightforward, just patch the code to unconditionally emit a single screen.

I don't suppose you could give me a hint on how/where to make it do that?

The hard_coded_splits branch might be a good starting point. It's the very first version of this tool and is rather straightforward to read. You just have to, rather than appending another input, skip one and add its dimensions to the previous one.