Related to that: I noticed that the current gutsy CD correctly detected
my LCD's resolution (1280x1024), which is the first time Ubuntu does
that *ever* (through the DVI cable anyway) :-). This is is due to the
fact that xorg.conf does not contain any "Modes" lines any more, usually
on my system xorg.conf ends up with

        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection

If I look at this dexconf code

for DEPTH in 1 4 8 15 16 24; do
  printf "\tSubSection \"Display\"\n" >&4
  printf "\t\tDepth\t\t$DEPTH\n" >&4
  if [ -n "$DISPLAY_MODES" ]; then
        printf "\tSubSection \"Display\"\n" >&4
    printf "\t\tModes\t\t$DISPLAY_MODES\n" >&4
    printf "\tEndSubSection\n" >&4
  fi
done

it seems to me that $DISPLAY_MODES is empty (since it cannot detect
modes on my system) and thus EndSubSection is not written as well. It
seems to me that the code should look like this instead:

for DEPTH in 1 4 8 15 16 24; do
  printf "\tSubSection \"Display\"\n" >&4
  printf "\t\tDepth\t\t$DEPTH\n" >&4
  if [ -n "$DISPLAY_MODES" ]; then
    printf "\t\tModes\t\t$DISPLAY_MODES\n" >&4
  fi
  printf "\tEndSubSection\n" >&4
done

-- 
default xorg.conf does not have necessary EndSubSections
https://bugs.launchpad.net/bugs/130206
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to