public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Very OT - Displaylink adapter and setting up X
Date: Sat, 06 Jul 2013 13:31:23 -0400	[thread overview]
Message-ID: <51D8546B.5030001@gmail.com> (raw)
In-Reply-To: <20120314131108.0a759dc7@gmail.com>

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

On 03/14/2012 08:11 AM, Robert David wrote:
> V Mon, 12 Mar 2012 17:24:47 -0500
> Michael Sullivan <msulli1355@gmail.com> napsáno:
>
>> I feel really stupid asking this, but I want to use an HDMI component
>> to output one of my PCs to the TV set.  I've followed all of the wiki
>> entry at http://wiki.gentoo.org/wiki/DisplayLink, but there's
>> something else I need to know.  I get the green screen on the TV that
>> it mentions when the kernel module is being loaded correctly.  The
>> problem is that I use gdm in /etc/conf.d/xdm DISPLAYMANAGER variable
>> to start X, and I don't know where the actual gdm configuration lives
>> so I can tell it to use ~/.xinitrc2 from the wiki.  My google
>> searching hasn't been going well. Can anybody give me any hints as to
>> how to make progress on this problem?
>>
> Hi Michael,
>
> it depends on how you would like to use the external card. Please
> specify your scenario. 

So my laptop has a built-in display and a VGA output. While working, I
use both. In fact, here's the content of the script I run when logging
in to arrange things the way I like them:

#!/bin/sh
xrandr --output LVDS1 --auto
xrandr --output VGA1 --off # Force a full reset of VGA1
xrandr --output VGA1 --left-of LVDS1 --auto


Let's say I were able to set up the DisplayLink adapter using "xrandr
--output FBUSB1 --auto". The effect I'm looking for could then be
achieved via:

#!/bin/sh
xrandr --output LVDS1 --auto
xrandr --output VGA1 --off
xrandr --output VGA1 --left-of LVDS1 --auto
xrandr --output FBUSB1 --off
xrandr --output FBUSB1 --left-of VGA1 --auto

In effect, I want all three displays arranged as part of the same
extended desktop with xinerama. (xinerama is pretty explicitly part of
my workflow, as one thing I often do is have 3-4 remote desktops active
*per local display*, and I drag them around as necessary.

> Anyway, try to look in /etc/gdm, /etc/init.d/xdm, /etc/X11 (there can
> be specified which server start in file xdm/Xservers)
>
> I have DL adapter connected to my docking station and a simple script
> to activate the second xserver on docking and deactivate that when
> undocking. I simply run here second desktop using x2x. I just use that
> primary for web browser, so I dont need xinerama.
>
> You can also use DL with your primary card and xinerama. But it needs
> specific xorg.conf and needs to be connected when xserver starting. So
> nothing suitable for notebook and hotplug.

This latter scenario is what I'd be interested in. I'd have no
complaints if I needed it plugged in when X started; that's fine, if a
bit weird. (though it couldn't be done via xrandr? Seriously?)

I don't do anything with hotplug, really. I don't use PulseAudio, I
don't use GNOME, KDE or udev automount. About the only automagic thing I
use is NetworkManager (and even that fails to notice when the laptop's
moved five miles away from the AP it was connected to.).



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]

  reply	other threads:[~2013-07-06 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 22:24 [gentoo-user] Very OT - Displaylink adapter and setting up X Michael Sullivan
2012-03-14 12:11 ` Robert David
2013-07-06 17:31   ` Michael Mol [this message]
2013-07-06 17:32     ` Michael Mol

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=51D8546B.5030001@gmail.com \
    --to=mikemol@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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