[ltp] T41p/T42p/R50p VGA and DVI Out

Carlos Moffat linux-thinkpad@linux-thinkpad.org
Mon, 09 Jan 2006 17:23:21 -0500


--=-LCo5vPGK89Ih66VVpDgm
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2006-01-09 at 14:14 -0800, Dave Hansen wrote:
> On Thu, 2006-01-05 at 14:44 -0500, Carlos wrote:
> > On Thu, 2006-01-05 at 01:22 -0800, Dave Hansen wrote:
> > > #!/bin/bash
> > > # /etc/acpi/ibm-thinkpad-fn-f7.sh
> > >  . /etc/default/acpi-support
> > >  . /usr/share/acpi-support/power-funcs
> > >  . /usr/share/acpi-support/device-funcs
> > >=20
> >=20
> > Mhh.. what do these do? Where did you get them from?
>=20
> They're in a normal Ubuntu 5.10 install.
>=20

Ok. Thanks. They're not in Debian.=20

> > > DeviceConfig;
> > > function xrandr_reslines
> > > {
> > >         xrandr | grep '^[ \*][0-9][0-9]*'
> > > }
> > > RES_NR=3D"$(xrandr_reslines | grep -n ^\* | awk -F: '{print $1}')"
> > > NR_RESES=3D"$(xrandr_reslines | wc -l)"
> > >=20
> > > TARGET_RESLINE=3D"$(xrandr_reslines | head -$((RES_NR%NR_RESES + 1)) =
| tail -1)"
> > > # resline format is like this:
> > > #  1   1400 x 1050   ( 542mm x 406mm )   0
> > > #echo resline: "$TARGET_RESLINE"
> > > TARGET_RES=3D"$(echo "$TARGET_RESLINE" | awk '{print $2$3$4}')"
> > > xrandr --size $TARGET_RES
> > >=20
> > >=20
> >=20
> > What about this? Is this part of a script? (sorry about the ignorance)
>=20
> Yup, all part of the script.
>=20
> -- Dave
>=20

--=-LCo5vPGK89Ih66VVpDgm
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDwuJZ3nT9KmYQIVgRAjLDAJ9+sfZyF/2qTcjzTiDgqET19sit0ACeNuYM
+lhtxbj4ID+/ddWKEuZ4Oj4=
=h4iN
-----END PGP SIGNATURE-----

--=-LCo5vPGK89Ih66VVpDgm--