Home » Questions » Computers [ Ask a new question ]

Find out if laptop is docked in Linux

Find out if laptop is docked in Linux

I've recently purchased a Lenovo X200s laptop with a docking station which I used with Ubuntu 9.10. When the laptop is docked, I use a keyboard and trackball. I would like to have some different configuration options when the laptop is docked vs. when it is not docked. Is there some event I can hook up to and run a script when the laptop gets docked/undocked? Otherwise, is there anyway to find out if the laptop is docked? Kind of like an "is_docked" command.

Asked by: Guest | Views: 211
Total answers/comments: 0