1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <?xml-stylesheet type="text/xsl" href="helma.xsl"?>
3 <xmlroot xmlns:hop="http://www.helma.org/docs/guide/features/database">
4 <hopobject id="2849" name="xrandr" prototype="Page" created="1373419652782" lastModified="1373651802038">
5 <hop:parent idref="2765" prototyperef="Page"/>
6 <is_xhtml type="boolean">true</is_xhtml>
7 <http_remotehost>127.0.0.1</http_remotehost>
8 <http_language>en-US,en;q=0.8</http_language>
10 <http_browser>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36</http_browser>
11 <time type="date">12.07.2013 12:56:42 CDT</time>
12 <hopsession>127.0.0.192.94.94.14b7cmzrlg33r</hopsession>
13 <body><script src="/static/bonescript-demo.js"></script>
\r
14 <div id='side-menu' class="t3_sidebar">
\r
15 <ul class="left-menu"><strong>Navigation</strong>
\r
16 <li><a href="/static/side-menu.html">Menu contents</a></li>
\r
19 <div class="t3_content_1"><div id='connect-status'></div><div id="content_child">
\r
20 <h1>XRandR</h1>
\r
21 <h2><a href="http://www.x.org/wiki/Projects/XRandR/">
\r
22 http://www.x.org/wiki/Projects/XRandR
\r
23 </a></h2>
\r
24 <p>xrandr is a command-line interface to the XRandR X11 resize, rotate and
\r
25 reflection extension</p>
\r
27 usage: xrandr [options]
\r
29 -display &lt;display> or -d &lt;display>
\r
31 -o &lt;normal,inverted,left,right,0,1,2,3>
\r
32 or --orientation &lt;normal,inverted,left,right,0,1,2,3>
\r
34 -s &lt;size>/&lt;width>x&lt;height> or --size &lt;size>/&lt;width>x&lt;height>
\r
35 -r &lt;rate> or --rate &lt;rate> or --refresh &lt;rate>
\r
39 --screen &lt;screen>
\r
44 --prop or --properties
\r
45 --fb &lt;width>x&lt;height>
\r
46 --fbmm &lt;width>x&lt;height>
\r
47 --dpi &lt;dpi>/&lt;output>
\r
48 --output &lt;output>
\r
50 --mode &lt;mode>
\r
52 --pos &lt;x>x&lt;y>
\r
53 --rate &lt;rate> or --refresh &lt;rate>
\r
54 --reflect normal,x,y,xy
\r
55 --rotate normal,inverted,left,right
\r
56 --left-of &lt;output>
\r
57 --right-of &lt;output>
\r
58 --above &lt;output>
\r
59 --below &lt;output>
\r
60 --same-as &lt;output>
\r
61 --set &lt;property> &lt;value>
\r
62 --scale &lt;x>x&lt;y>
\r
63 --transform &lt;a>,&lt;b>,&lt;c>,&lt;d>,&lt;e>,&lt;f>,&lt;g>,&lt;h>,&lt;i>
\r
65 --crtc &lt;rtc>
\r
66 --panning &lt;w>x&lt;h>[+&lt;x>+&lt;y>[/&lt;track:w>x&lt;h>+&lt;x>+&lt;y>[/&lt;border:l>/&lt;t>/&lt;r>/&lt;b>] ] ]
\r
67 --gamma &lt;r>:&lt;g>:&lt;b>
\r
70 --newmode &lt;name> &lt;clock MHz>
\r
71 &lt;hdisp> &lt;hsync-start> &lt;hsync-end> &lt;htotal>
\r
72 &lt;vdisp> &lt;vsync-start> &lt;vsync-end> &lt;vtotal>
\r
73 [+HSync] [-HSync] [+VSync] [-VSync]
\r
74 --rmmode &lt;name>
\r
75 --addmode &lt;output> &lt;name>
\r
76 --delmode &lt;output> &lt;name>
\r
78 <h2>Shell script</h2>
\r
79 <p>This script sets the BeagleBone Black HDMI resolution to 1024x768</p>
\r
80 <button class="dynlink" onclick="shellRun('code');">Run</button>
\r
81 <pre id="code" class="use-editor" syntax="sh" style="height:60px;">
\r
82 export XAUTHORITY=`ls /var/run/gdm/auth-for-root-*/database`
\r
84 xrandr --output HDMI-0 --mode 1024x768 --rate 60</pre>
\r
85 <h2>Output</h2>
\r
86 <div readonly id="console-output" style="height:140px;"></div>
\r
87 </div></div><div style="clear:both;"></div></body>
88 <pseudoparent idref="2765" prototyperef="Page"/>
89 <http_referer>http://beagleboard.org/support/bone101/xrandr/edit</http_referer>
90 <http_host>beagleboard.org</http_host>
91 <user>blog.hangerhead.com</user>