ArminHornung.de

The private homepage of Armin Hornung

Keine dt. Übersetzung /flag

Dynamic display switching script for ATI

The proprietary fglrx driver from ATI allows dynamic display switching, e.g. to switch to an external display for a presentation. Xorg RandR 1.2 allows the same, but sometimes the newer version is not available, or not compatible e.g. when the proprietary ATI driver needs to be used for some reasons. The current version of it does not support the dynamic switching capabilities of XRandR 1.2.

In these cases, the following switching script provides the same functionality, which you can bind to a keypress such as Fn-F7 on Thinkpad laptops. The script uses ATI's aticonfig tool for switching, XRandR for resolution adjustment, and Xosd for displaying OSD status messages. Thus, it should work on most Linux-running laptops whith ATI graphics cards (tested with Ubuntu 7.04 and 7.10 on a Thinkpad T43). When an external display is connected, the script switches from internal to both internal and extarnal, then to external only, and finally back to internal display only.

Installation

Last modified: 2008-01-06