On Fri, Apr 30, 2010 at 12:59 AM, Sam Liddicott <[email protected]> wrote:
> I'm running xpra v0.0.6 and find that it seems to truncate the X mouse
> position at around 2048.

Yep, 2048 is the default limit in 0.0.6.

> I have a dual monitor setup and if I drag an xpra-forwarded window onto the
> right desktop, then any mouse clicks after a certain way in to the right
> screen have their X position reduced to what I guess is 2048.
>
> This means the mouse clicks occur at the wrong place.

Sorry about that! Several people have run into this. The problem is
that the "secret" headless X server that xpra runs in the background
has a particular desktop size fixed at startup, so we just guess what
will be "big enough", and for you lucky people with giant dual
monitors, we guessed wrong :-).

The quick hack is to edit your xpra/scripts/server.py, where it says:

            xvfb = subprocess.Popen(["Xvfb-for-Xpra-%s" % display_name,
                                     display_name,
                                     "-auth", xauthority,
                                     "+extension", "Composite",
                                     "-screen", "0", "2048x2048x24+32",
                                     "-once"],
                                    executable="Xvfb")

and on line 241, where it says "2048x2048", pick some other
width-by-height size that will cover your whole desktop.

> However xpra (screen for X apps) is much more useful than x2x or x2vnc as it
> doesn't require a monitor on the other devices, so thanks for that!

You're welcome! Let us know if you run into any other problems...

-- Nathaniel

_______________________________________________
Parti-discuss mailing list
[email protected]
http://lists.partiwm.org/cgi-bin/mailman/listinfo/parti-discuss

Reply via email to