You are not logged in.

#1 2012-10-29 08:11:17

arnold
Member
Registered: 2012-10-29
Posts: 1

Resume hook for changed display configuration

Hi arch forum,

I need some help configuring my resume process. First the scenario:
I'm working with my notebook (ThinkPad T420s) on the train
and when I get off the train I close the lid and the notebook suspends. When I get to work
I drop the notebook into the docking station, where an external monitor is connected.
If I hit the power button on the docking station the notebook resumes without opening the lid,
but it does not check for changed display configuration. I have to open the lid and type my password to
get the new configuration started.

Question is: Is it possible to create a resume hook, so that X checks for the changed setup on resume before I opened the lid?
If someone could direct me to the right place in the wiki that would be great.

Now I should specify my configuration:
Gnome3 and proprietary nvidia drivers
Its a new installation so I have a systemd only setup (which takes care of suspend/resume so far)
If you need to know more, just ask.

Thanks for any help in advance,
arnold

Offline

Board footer

Powered by FluxBB