fakexrandr icon indicating copy to clipboard operation
fakexrandr copied to clipboard

How to only use xrandr 1.5 and --setmonitor

Open yoshegg opened this issue 6 years ago • 6 comments

As written in the README.md, this should be possible, but I can't find out how. I found the following post, but this does not work (for me at least). According to an older mailinglist discussion, it was also not clear how to use this option.

Does somebody have any working solution that they want to share?

I'm using a MatroxTripleHead2Go.

yoshegg avatar May 15 '18 19:05 yoshegg

My setup has more or less completely changed, so I haven't followed up or ever got this to work (I have no need for fakexrandr anymore).

Does Aaron's idea of using ~--addmonitor~ --setmonitor without an associated Output (output of none) not work?

nmschulte avatar May 15 '18 19:05 nmschulte

The important thing is that the applications you use must actually be aware of the monitors API and actively use it - that goes in particular for your WM. Did you check that it is sufficiently recent?

phillipberndt avatar May 15 '18 19:05 phillipberndt

@nmschulte Unfortunately not, I only get the output that for monitors are somehow known but that's it.

xrandr --listmonitors 
Monitors: 4
 0: +*DVI-I-2 5040/473x1050/296+0+0  DVI-I-2
 1: DVI-I-2~1 1680/490x1050/270+0+0 
 2: DVI-I-2~2 1680/490x1050/270+1680+0 
 3: DVI-I-2~3 1680/490x1050/270+3360+0

@phillipberndt I'm using the "standard" Ubuntu 18.04 with unity-like Gnome. I must say that I did not check and that I just don't understand enough of these things.

yoshegg avatar May 15 '18 20:05 yoshegg

Following these directions worked for me, with i3wm and modesetting driver:

https://askubuntu.com/questions/659381/use-one-monitor-as-multiple-monitors/998429#998429

nmschulte avatar May 29 '18 00:05 nmschulte

That's the post I mentioned above, but I could get it to work.

Nevertheless I got it working another way (cf. issue #49).

yoshegg avatar May 29 '18 12:05 yoshegg

I can't get the soln at https://askubuntu.com/questions/659381/use-one-monitor-as-multiple-monitors/998429#998429 to work either. Linux Mint 19.3 and nvidia in my case. The commands all seem to be accepted, but nothing happens at step 3 (the hack to force an X refresh).

Perhaps there are xorg.conf equivalents to setmonitor or something.

EDIT: I must have spent 8-10 hours trying to use the 'pure' xrandr approach after reading "With xrandr 1.5, this library shouldn't be needed…" but finally gave up and installed fakexrandr and it just worked! Thanks @phillipberndt

Justin-Maxwell avatar Feb 22 '20 03:02 Justin-Maxwell