On 2009-02-24, Matthieu Herrb <mhe...@gmail.com> wrote: > On Mon, Feb 23, 2009 at 9:53 PM, Dorian B|ttner <dorian.buett...@gmx.de> > wrote: >> Found this one in the www: > http://www.thinkwiki.org/wiki/Sample_Fn-F7_script >> >> Is there something similar one can do in OpenBSD? No clue, how to grab the >> fn-f8 event here... brightness adjustment works somehow out of the box, but >> the screen toggle doesn't seem to do anything. >> Would be nice for attaching the eee to larger display. Or does the intel >> driver only allow for mirroring at the moment? >> > > xrandr is fully supported on OpenBSD. The kernel currently doesn't > report the Fn-* key events to userland, > so you'd have to implement it in your window manager using a standard > function key or menu entries to switch between your favourite xrandr > configs.
Depending on your screen size you may also need to set a Virtual size large enough to cover both displays, e.g. 'Virtual <xsize> <ysize>' in the relevant "Display" section. $ xrandr --output VGA --mode 1024x768 $ xrandr --output LVDS --mode 1024x600 $ xrandr --output LVDS --above VGA