xrandr before logging in

Michael R. Head burner at suppressingfire.org
Thu May 29 23:22:58 UTC 2008

On Thu, 2008-05-29 at 22:24 +0200, Kilian Rambach wrote:
> Hi there,
> I want to use xrandr to switch one of the two connected monitors off as
> soon as kdm has started, before someone logged in. (I couldn't manage it
>    with some options in xorg.conf)


> So how can I execute xrandr before someone logged in?

You'll need to tweak the KDM config to run your script when X is

I use GDM, but there's /etc/gdm/Init/Default which I believe is run when
it starts up.

You may want to look at the KDM setup program: 

> Thanks for any help
> Cheers
> Kilian
Michael R. Head <burner at suppressingfire.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3259 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080529/4afbb852/attachment.bin>

More information about the ubuntu-users mailing list