[winswitch] xpra dpi woes with a server running Ubuntu cosmic

Perry E. Metzger perry at piermont.com
Wed Sep 12 14:07:00 BST 2018


On Wed, 12 Sep 2018 08:43:56 -0400 "Perry E. Metzger via
shifter-users" <shifter-users at lists.devloop.org.uk> wrote:
> > > My impression from reading old trouble tickets is that I need to
> > > install a patched version of the Xdummy stuff but I'm not
> > > exactly sure. What do I need to do, roughly? (I searched and
> > > couldn't really find exact instructions...)
>
> > Everything you need should be here:
> > http://xpra.org/trac/browser/xpra/trunk/debian/xserver-xorg-video-dummy

BTW, thanks!

> Do I just patch xserver-xorg-video-dummy with what's in patches/ ?
> I presume I can use the Ubuntu source package to do this?

That worked for me. I'm still not quite sure what the _correct_ dpi
for my setup is (how can I figure that out?) but setting things to 72
is now accepted and the emacs I launch no longer looks crazy. When I
set the DPI to 110 (which is closer to what is actually true on my
screen) the emacs ends up a bit distorted again, with the width of the
display not being 80 columns when it first comes up. I'm not sure why.

> Is there a chance of contributing these patches upstream? It would
> help.

It really would....

> And can I install the patched Xdummy somewhere non-standard and
> point xpra at it? I imagine that something in /etc/xpra/* will let
> me do that but I don't know how.

For now I just did a dpkg -i on the generated .deb but I have to
confess I don't know what will happen if the thing gets
overwritten. My unix fu is stronger than my dpkg fu.

Perry
-- 
Perry E. Metzger		perry at piermont.com



More information about the shifter-users mailing list