From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5652F1381F3 for ; Sat, 6 Jul 2013 17:31:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 552DEE0AA1; Sat, 6 Jul 2013 17:31:32 +0000 (UTC) Received: from mail-ye0-f181.google.com (mail-ye0-f181.google.com [209.85.213.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20794E0A6D for ; Sat, 6 Jul 2013 17:31:30 +0000 (UTC) Received: by mail-ye0-f181.google.com with SMTP id g12so1084590yee.26 for ; Sat, 06 Jul 2013 10:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=pav8nf4CJq+Qlt2SZyRDYvz/IHuvJ4l7eQxqEd1aty0=; b=WnRKlVfboUixiRumy2YBkgN6F39CRVucPnnj3p3n5TfDa693LWOt68ERrr/x+BXwvP oqx6WOQ11rOupVK9/gtYVCC3AxVmenSsfixwxPA4VTnkj4TPccHFA0ed/bAFc02SNYH8 Poeu9dd3dCHHKeysCj9vKpJ3EjAUpCx8Yak9AFWOxBz0EdV38U3HCR2NY5V6WSAC5gO5 EIrSPZYoYu5vazRDMVF/VvNXzASY41YM8+9yYItttq0n2YguEKSYsEhVK3mJj5bexdT3 M2FVH8kO7V9v8CTyyYEa7lCYu88Imac6kJdXwEASQm4T2dBKmuDu9XTNdsoShto0+i96 u8BA== X-Received: by 10.236.148.2 with SMTP id u2mr8625533yhj.175.1373131890242; Sat, 06 Jul 2013 10:31:30 -0700 (PDT) Received: from ?IPv6:2001:470:c5b9:beef:4eed:deff:fe93:63a0? ([2001:470:c5b9:beef:4eed:deff:fe93:63a0]) by mx.google.com with ESMTPSA id y70sm22087047yhe.15.2013.07.06.10.31.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jul 2013 10:31:29 -0700 (PDT) Message-ID: <51D8546B.5030001@gmail.com> Date: Sat, 06 Jul 2013 13:31:23 -0400 From: Michael Mol User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Very OT - Displaylink adapter and setting up X References: <4F5E77AF.9090603@gmail.com> <20120314131108.0a759dc7@gmail.com> In-Reply-To: <20120314131108.0a759dc7@gmail.com> X-Enigmail-Version: 1.6a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2DWKRXCUUTRKJVBXBJMDB" X-Archives-Salt: 19b74968-a867-48e9-9f8a-f0f5d1600fd9 X-Archives-Hash: 6564cb512efa87cc64fabd6f6cd01b72 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2DWKRXCUUTRKJVBXBJMDB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/14/2012 08:11 AM, Robert David wrote: > V Mon, 12 Mar 2012 17:24:47 -0500 > Michael Sullivan naps=C3=A1no: > >> 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.=20 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.). ------enig2DWKRXCUUTRKJVBXBJMDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR2FRwAAoJED5TcEBdxYwQqnEIAIGa83sxoKhDkbnNSmP8MN9b GExX14Igv/DeA70Ny+gUfcQmIH7gY9PgK/ldSk1dNVh/8uWpxvVoEwOfDIO+1u8O u4sw6zg+OCL2Pckw/uNSaSoAcU02GRhHhiNLHv3rsDl1ck0GP1U9vfeWdWDAwEJD gVsCivXsQxFzYInIqAIjtTWvO32qKzNh5pAuQfpqdikO56AD02vPstlkUmpnOvDz WzXMiA2Umn76A60BpRphcCQjyJTgI6M9iUlrDNh4OIOAkonhSuzcmSJORD6QncjY ZbLdvNmQ7iu1BjMXzBJ7g5glWbpWwtGSYCgpcfYEBC1HeBvQaJb/p+dpqonPnNo= =TKdg -----END PGP SIGNATURE----- ------enig2DWKRXCUUTRKJVBXBJMDB--