xrandr settings in xorg.conf file - how?

View: New views
5 Messages — Rating Filter:   Alert me  

xrandr settings in xorg.conf file - how?

by Łukasz Maśko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First: the "Enable" option doesn't work for me.
I have a Dell D430 with Intel graphics and I'm trying to turn off the DVI1
output by default, but not to ignore it at all. Therefore I've added such
section in my xorg.conf file:

Section "Monitor"
        Identifier      "DVI1"
        VendorName      "External monitor"
        DisplaySize     260 162
        Option          "DPMS"          "yes"
        Option          "Enable"        "false"
        Option          "PreferredMode" "1024x768"
        Option          "Position"      "0 0"
EndSection

In the Xorg log file I'm getting this (I've removes some lines which seem to
be not necessary here):

(II) intel(0): Output DVI1 using monitor section DVI1
(**) intel(0): Option "PreferredMode" "1024x768"
(**) intel(0): Option "Position" "0 0"
(**) intel(0): Option "Enable" "false"
(II) intel(0): Output DVI1 connected
(II) intel(0): Output DVI1 using initial mode 1024x768

So, the driver recognizez the Enable option, but it still enables the output
and uses it. But that's not what I want. I don't want to use the "Ignore"
option, for this disables this output at all.



Second: is it possible to somehow include the --scale option in the
xorg.conf file? I would like to obtain someting similar to this command:

xrandr --output DVI1 --mode 1024x768 --pos 0x0 --scale 1.25x1.04

I know, how to position the screen, but what about scaling?
--
Łukasz Maśko                                           GG:   2441498    _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xrandr settings in xorg.conf file - how?

by Alex Deucher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/5 Łukasz Maśko <ed@...>:

> First: the "Enable" option doesn't work for me.
> I have a Dell D430 with Intel graphics and I'm trying to turn off the DVI1
> output by default, but not to ignore it at all. Therefore I've added such
> section in my xorg.conf file:
>
> Section "Monitor"
>        Identifier      "DVI1"
>        VendorName      "External monitor"
>        DisplaySize     260 162
>        Option          "DPMS"          "yes"
>        Option          "Enable"        "false"
>        Option          "PreferredMode" "1024x768"
>        Option          "Position"      "0 0"
> EndSection
>
> In the Xorg log file I'm getting this (I've removes some lines which seem to
> be not necessary here):
>
> (II) intel(0): Output DVI1 using monitor section DVI1
> (**) intel(0): Option "PreferredMode" "1024x768"
> (**) intel(0): Option "Position" "0 0"
> (**) intel(0): Option "Enable" "false"
> (II) intel(0): Output DVI1 connected
> (II) intel(0): Output DVI1 using initial mode 1024x768
>
> So, the driver recognizez the Enable option, but it still enables the output
> and uses it. But that's not what I want. I don't want to use the "Ignore"
> option, for this disables this output at all.

You want:
Option "Disable" "TRUE"
Yes, it's stupid.

Alex
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xrandr settings in xorg.conf file - how?

by Łukasz Maśko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dnia czwartek, 5 listopada 2009, Alex Deucher napisał:
[...]
> You want:
> Option "Disable" "TRUE"
> Yes, it's stupid.

Strange. I did so and now I have in the log file this:

(II) intel(0): Output DVI1 using monitor section DVI1
(**) intel(0): Option "PreferredMode" "1024x768"
(**) intel(0): Option "Position" "0 0"
(**) intel(0): Option "Disable" "true"
(II) intel(0): Output DVI1 disabled by config file

...but... I still have the the external screen running as without this
option! What is wrong now?

--
Łukasz Maśko                                           GG:   2441498    _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xrandr settings in xorg.conf file - how?

by Alex Deucher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/5 Łukasz Maśko <ed@...>:

> Dnia czwartek, 5 listopada 2009, Alex Deucher napisał:
> [...]
>> You want:
>> Option "Disable" "TRUE"
>> Yes, it's stupid.
>
> Strange. I did so and now I have in the log file this:
>
> (II) intel(0): Output DVI1 using monitor section DVI1
> (**) intel(0): Option "PreferredMode" "1024x768"
> (**) intel(0): Option "Position" "0 0"
> (**) intel(0): Option "Disable" "true"
> (II) intel(0): Output DVI1 disabled by config file
>
> ...but... I still have the the external screen running as without this
> option! What is wrong now?

If the driver doesn't explicitly turn off the output it might still be
left on by the bios.  If xrandr thinks the output is off, this is
likely the case.

Alex
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: xrandr settings in xorg.conf file - how?

by Łukasz Maśko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dnia czwartek, 5 listopada 2009, Alex Deucher napisał:

> 2009/11/5 Łukasz Maśko <ed@...>:
> > Dnia czwartek, 5 listopada 2009, Alex Deucher napisał:
> > [...]
> >
> >> You want:
> >> Option "Disable" "TRUE"
> >> Yes, it's stupid.
> >
> > Strange. I did so and now I have in the log file this:
> >
> > (II) intel(0): Output DVI1 using monitor section DVI1
> > (**) intel(0): Option "PreferredMode" "1024x768"
> > (**) intel(0): Option "Position" "0 0"
> > (**) intel(0): Option "Disable" "true"
> > (II) intel(0): Output DVI1 disabled by config file
> >
> > ...but... I still have the the external screen running as without this
> > option! What is wrong now?
>
> If the driver doesn't explicitly turn off the output it might still be
> left on by the bios.  If xrandr thinks the output is off, this is
> likely the case.

Maybe. But the xrandr command displays a proper status - that this output is
on (a '*' character is in the right place).

--
Łukasz Maśko                                           GG:   2441498    _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg