[Parti-discuss] xpra resizing
Nathaniel Smith
njs at pobox.com
Fri Nov 6 01:24:29 PST 2009
On Thu, Nov 5, 2009 at 4:23 PM, Thomas Conway <drtomc at gmail.com> wrote:
> The laptop display is 1440x900 and the external display is 1680x1050.
> xwininfo -root reports 3120x1050.
> I notice that unlike a direct connection to the display which opens
> new windows in the display where the mouse is, coming through xpra,
> windows always appear in the "primary" display which is the laptop.
> Also, I have found that when I drag gvim across, the menus sort of
> half work, but the dropdown is displayed offset somewhat, and mouse
> clicks appear translated.
Okay, this is a known bug, worked around in current head, though I
guess not in "0.7.7". This tells me that I really need to do a release
:-).
More details about the underlying problem are in this thread:
http://lists.partiwm.org/pipermail/parti-discuss/2009-October/000301.html
As a workaround, I suggest finding the file 'xpra/scripts/server.py',
and finding a line that looks something like:
xvfb = subprocess.Popen(["Xvfb-for-Xpra-%s" % display_name,
display_name,
"-auth", xauthority,
"+extension", "Composite",
"-screen", "0",
"2048x2048x24+32", # <-- your problem is here
"-once"],
executable="Xvfb")
If you replace the "2048x2048" with something larger -- like
3120x1050, for instance -- than that should solve your problem, once
you restart the xpra server.
Just editing the package-installed file like this is pretty crude, I
know, but it should work, and while the next upgrade will wipe out
your change, it should replace it with a fix anyway, so in this case
it's probably the best option :-).
-- Nathaniel
More information about the Parti-discuss
mailing list