Video display modes: Difference between revisions

Line 117:
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
</pre>
 
=={{header|Groovy}}==
{{trans|Kotlin}}
{{works with|Ubuntu 14.04}}
<lang groovy>def invoke(String cmd) { println(cmd.execute().text) }
 
invoke("xrandr -q")
Thread.sleep(3000)
 
invoke("xrandr -s 1024x768")
Thread.sleep(3000)
 
invoke("xrandr -s 1366x768")</lang>
 
{{out}}
<pre>Screen 0: minimum 640 x 480, current 5080 x 1898, maximum 5080 x 1920
default connected 5080x1898+0+0 0mm x 0mm
2880x1800 60.00
1440x900 60.00
2560x1600 60.00
2048x1280 60.00
1024x768 60.00
800x600 60.00
640x480 60.00
1680x1050 60.00
1280x800 60.00
5080x1898 1.00*
5080x1920 2.00 </pre>
 
=={{header|Icon}} and {{header|Unicon}}==
Anonymous user