What is this screen resolution tool and does it exist in the kubuntu
distribution? Also the default behaviour has clearly changed since the
Feisty distribution. IMHO, the default behaviour in Feisty was correct
and the default behaviour in Hardy is incorrect, and for Ubuntu to meet
its goals of user friendliness it should default to the Feisty behaviour
without user intervention.

FWIW, I think the problem came about due to some change in the handling
of dual monitors in X11 - possibly the Xinerama to xrandr change over.

BTW, for Kubuntu I have inserted these lines into my
/etc/kde3/kdm/Xsetup script, which roughly gives me the behaviour I had
before in Feisty - i.e. laptop screen is switched off when the laptop is
docked, but I haven't fully investigated this problem:

if xrandr -q | grep "VGA connected"; then
  if xrandr -q | grep "VGA connected ("; then
    if xrandr -q | grep "1680x1050"; then
      xrandr --output LVDS --off --output VGA --mode 1680x1050
    else
      if xrandr -q | grep "1280x1024"; then
        xrandr --output LVDS --off --output VGA --mode 1280x1024
      else
        xrandr --output LVDS --off --output VGA --mode 1024x768
      fi
    fi
  else
    xrandr --output LVDS --off
  fi
else
  xrandr --output VGA --off --output LVDS --mode 1024x768
fi

It's perhaps a bit more complicated than it needs to be.

Interestingly according to the "toshset" utility the laptop screen was
off when I boot in the dock, but although the backlight was switched off
the graphics were still displaying. This is what lead to the problems I
described.

-- 
laptop screen remains on with external monitor and lid closed
https://bugs.launchpad.net/bugs/145501
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to