[Savage40] Dual Head on T23?

Tim Roberts timr at probo.com
Tue Mar 15 10:41:52 PST 2005


Albert.deJongh at sanlam.co.za wrote:

>Philip,
>
>I am using a slightly unsavory solution for picking dual / single head.
>I've got two xorg.conf files in /etc/X11 - xorg.conf.single xorg.conf.dual
>Then I added an entry in my grub.conf (bootloader) for dualhead - it has
>an extra parameter that is passed to the kernel - "dualhead".
>
>I also create a script that runs in /etc/init.d - xheadconfig (posted 
>below).
>This script checks /proc/cmdline to see if I specified dualhead and then 
>selects
>the correct x setup.  As I said - a bit unsavory, but its better than 
>logging in as root and selecting your setup by hand...
>
>What do you think?
>  
>

I don't think there's anything particularly unsavory about that.  
Another alternative is to have the xheadconfig script prompt the console 
and read a response:

   Do you want [S]inglehead or [D]ualhead configuration?

With bash tools like readline, it wouldn't be too bad.  That way, you 
wouldn't have to remember it at boot time.

-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Savage40 mailing list