Re:Dell releases powerful, well-supported Linux Ultrabook
by pdebruic on Thursday November 29, 2012 @01:50PM
(#4849550)
One thing that works for me is setting up scripts using arandr for each display config. Then before undocking I open a terminal fullscreen and run the script for the post-docking config. The script pauses when asking for my password. I then undock the laptop and open it and type my password. The laptop screen wakes up no problem. I do the same thing when I want to dock it. This is definitely more annoying than things happening automatically, but less annoying than rebooting.
[ Parent
| on HN ]
Re:Dell releases powerful, well-supported Linux Ultrabook
by mdellabitta on Thursday November 29, 2012 @03:24PM
(#4850040)
I did that too, but I went the extra step of writing a little Ruby script to switch between them based on the number of outputs xrandr says is connected, and then I bound that to a keyboard shortcut, so I don't have to mess around in the terminal. I just hit ctrl-alt-M.