[X2Go-Dev] Setting dpi by default

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Wed Apr 10 21:13:33 CEST 2013


Hi Orion,

On Mi 10 Apr 2013 20:19:52 CEST Orion Poplawski wrote:

> On 04/10/2013 01:15 AM, Mike Gabriel wrote:
>> 1Hi Nable, hi Orion,
>>
>> On Mi 10 Apr 2013 08:51:33 CEST Nable 80 wrote:
>>
>>> 2013/4/10, Orion Poplawski <orion at cora.nwra.com>:
>>>> Is there some reason x2goclient doesn't set the DPI to match the local
>>>> display
>>>> by default?
>>
>>> Oh, I'm finally not the only one who find that somehow annoying.
>>> Vanga mode> That's because noone has written crossplatform support to
>>> determine local display DPI, isn't it?
>>>
>>
>> it may also well be that none of has ever thought about querying the local
>> X-server for its DPI.
>>
>> Please file two bugs, one against python-x2go, one against x2goclient and
>> possibly even provide a patch!
>
> Filed bug 164 for x2goclient with a patch.  May look at python-x2go later.

The patch looks fine. I wait for Alex to approve it. With python-x2go,  
please note that there is not x-platform way of detecting the local  
DPI value. On Linux you probably can use python-xlib. On Windows you  
maybe will be successful with win32api.  Don't bother about MacOS X at  
this point as it is not supported by python-x2go, yet, anyway.

Thanks for your contributions!!!
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130410/b2ed1376/attachment.pgp>


More information about the x2go-dev mailing list