<html><head></head><body bgcolor="#FFFFFF"><div><br><br>On Jan 25, 2012, at 6:42 PM, Jesper Reenberg &lt;<a href="mailto:jesper.reenberg@gmail.com">jesper.reenberg@gmail.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">On 26 January 2012 00:40, Jesper Reenberg&nbsp;<span dir="ltr">&lt;<a href="mailto:jesper.reenberg@gmail.com">jesper.reenberg@gmail.com</a>&gt;</span>&nbsp;wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br><br><div class="gmail_quote"><div class="im">On 24 January 2012 21:42, Tom Davis&nbsp;<span dir="ltr">&lt;<a href="mailto:tom@recursivedream.com" target="_blank">tom@recursivedream.com</a>&gt;</span>&nbsp;wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

I'm sure there's some way to do this via ACPI or whatever, but I'm not<br>familiar enough with it to know. Basically i need an action for "docked"<br>that will try running "dock on" and see what happens. Any thoughts?<br>

<br></blockquote><div><br></div></div><div>I have hacked some really nasty stuff together, hooking (un)dock events through an udev rule, which runs a shell script that exports my users xauthority and display settings and then tests whether or not the dock is present (thus determining if it was a dock og undock,&nbsp;as doing this in the udev rules with attributes didn't always work), and then use xrandr to set the monitors as i wan't. However most of this is IBM specific (i think).</div>

</div></blockquote><div><br></div></div></div></blockquote><div><br></div><div>Well, I *am* using a Thinkpad/dock, but I just wonder why it no longer "magically" works... But I'd hack stuff to make it!</div><br><blockquote type="cite"><div><div class="gmail_quote"><div>And once more, such that everyone gets it (I'm used to the mail going to the list when just hitting reply).&nbsp;</div><div><br></div><div>--</div><div>Reenberg</div></div>
</div></blockquote></body></html>