9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Lalonde <paul.a.lalonde@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] Multi-monitor rio in plan9port in Ubuntu
Date: Wed,  8 Jan 2014 20:09:56 -0800	[thread overview]
Message-ID: <CA+POUVhiOjbnAe2E1E4yRQJFJK6mjnf=5EqHx2hqxiAw3rkuxA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1336 bytes --]

                 reply	other threads:[~2014-01-09  4:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+POUVhiOjbnAe2E1E4yRQJFJK6mjnf=5EqHx2hqxiAw3rkuxA@mail.gmail.com' \
    --to=paul.a.lalonde@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).