Thanks, but the patch seems quite a hacky solution, and very specific to your hardware too (eg, I don't even have a /sys/devices/platform/dock.0/docked when my laptop is docked). A more robust check would be to see if there are any external monitors connected.
-- g-p-m acts when switching to console and back to x when lid is closed https://bugs.launchpad.net/bugs/515465 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
