From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 8 Jan 2014 20:09:56 -0800 Message-ID: From: Paul Lalonde To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=14dae94ed90d477c6004ef81c89e Subject: [9fans] Multi-monitor rio in plan9port in Ubuntu Topicbox-Message-UUID: b0aec5d6-ead8-11e9-9d60-3106f5b1d025 --14dae94ed90d477c6004ef81c89e Content-Type: text/plain; charset=ISO-8859-1 I got fed up with Ubuntu's crappy UI, so I went back to basics, but the default new window manager stuff gave me a small, mirrored desktop across both my monitors. To save someone else the grief, here's a quick how-to: 1) Add a new window manager for rio. Your paths will vary. ~ $ cat /usr/share/xsessions/rio.desktop [Desktop Entry] Encoding=UTF-8 Name=rio Comment= Exec=/home/plalonde/plan9port/bin/rio.sh Icon= Type=Application ~ $ 2) Fill in rio.sh to use xrandr to set up your display, and run whatever init you prefer: ~ $ cat plan9port/bin/rio.sh #!/bin/sh xrandr --output LVDS1 --mode 1600x900 xrandr --auto --output HDMI1 --mode 1920x1200 --right-of LVDS1 /home/plalonde/plan9port/bin/plumber & /home/plalonde/plan9port/bin/rio ~ $ Replace LVDS1 and HDMI1 with the names of your video outputs, as reported by "xrandr -q" That should be enough for demuddling the desperate and sufficient for the method to be indexed for posterity. Paul --14dae94ed90d477c6004ef81c89e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I got fed up with Ubuntu's crappy UI, so I went back t= o basics, but the default new window manager stuff gave me a small, mirrore= d desktop across both my monitors.

To save someone else = the grief, here's a quick how-to:

1) Add a new window manager for rio. =A0Your paths will= vary.
~ $ cat /usr/share/xsessions/rio.desktop
[D= esktop Entry]
Encoding=3DUTF-8
Name=3Drio
Com= ment=3D
Exec=3D/home/plalonde/plan9port/bin/rio.sh
Icon=3D
Type=3DApplication
~ $=A0

2) Fill= in rio.sh to use xrandr to set up your display, and run whatever init you = prefer:
~ $ cat plan9port/bin/rio.sh
#!/bin/sh
xrandr= --output LVDS1 --mode 1600x900
xrandr --auto --output HDMI1 --mo= de 1920x1200 --right-of LVDS1=A0
/home/plalonde/plan9port/bin/plu= mber &
/home/plalonde/plan9port/bin/rio
~ $=A0

=
Replace LVDS1 and HDMI1 with the names of your video outputs, as= reported by "xrandr -q"

That should be = enough for demuddling the desperate and sufficient for the method to be ind= exed for posterity.

Paul
--14dae94ed90d477c6004ef81c89e--