Comment 9 for bug 515465

Revision history for this message
Chris Coulson (chrisccoulson) wrote : Re: g-p-m acts when switching to console and back to x when lid is closed

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.