Re: AW: AW: AW: monitor hotplug resolution switch

2017-12-13 Thread j...@dodin.org

Le 13/12/2017 à 20:53, Johann Obermayr a écrit :



Now I'm search a way to set this 3 line with the xrandr extensions library.


did you look here?

http://dodin.org/wiki/pmwiki.php?n=Doc.AddXResolution#toc3

it need to be in a script at launch after X starts, for me simply 
launched by kde


jdd



--
http://dodin.org
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

AW: AW: AW: monitor hotplug resolution switch

2017-12-13 Thread Johann Obermayr
Hello,

> -Ursprüngliche Nachricht-
> Von: xorg [mailto:xorg-boun...@lists.x.org] Im Auftrag von j...@dodin.org
> Gesendet: Mittwoch, 13. Dezember 2017 20:05
> An: xorg@lists.x.org
> Betreff: Re: AW: AW: monitor hotplug resolution switch
> 
> Le 13/12/2017 à 11:14, Johann Obermayr a écrit :
> 
> > We are using VNC.
> >
> 
> so you need a way to set a resolution in VNC, I did that but so long time ago 
> I
> don't recall how :-(
> 
> sorry
> jdd
> 
> 
> --
> http://dodin.org
> ___
> xorg@lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

Thanks for help,

i think , i have found a solution.

Use newest xf86-video-intel 2.99.917
Enable SNA (+virtual output)
Enable virtual output in the xorg.conf. (Option  "VirtualHeads"  "2")

Call follow line after X started

xrandr --newmode "1280x1024@VIRT"  138.75  1280 1368 1504 1728  1024 1027 1034 
1072
xrandr --addmode VIRTUAL1 "1280x1024@VIRT"
xrandr --output VIRTUAL1 --mode "1280x1024@VIRT"

with xrandr I see always the same resolution at the current value.
Also with connect/disconnect HDMI/DP.

Now I'm search a way to set this 3 line with the xrandr extensions library.

Best regards
  Johann
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s