xrandr before logging in

Kilian Rambach kilian.rambach at gmx.net
Fri May 30 20:33:34 UTC 2008


Thanks for the help. It works now.
Cheers
Kilian

Michael R. Head schrieb:
> 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
> started.
> 
> 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: 
> http://docs.kde.org/stable/en/kdebase-workspace/kdm/kdm-scripts.html#kdmrc-xsetup
> 
>> Thanks for any help
>> Cheers
>> Kilian
>>




More information about the ubuntu-users mailing list