<div class="gmail_quote">On Thu, May 31, 2012 at 12:50 PM, Michael Biebl <span dir="ltr"><<a href="mailto:biebl@debian.org" target="_blank">biebl@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
tags 658786 + moreinfo<br>
thanks<br>
<br>
On 06.02.2012 01:51, Patrik Dufresne wrote:<br>
> Package:gnome-settings-daemon<br>
><br>
> Version: 3.2.2-2<br>
><br>
> My computer is a ThinkPad T510 and I usually use the Fn+F7 keys to<br>
> change the monitor configuration. With Debian, using these keys invoke<br>
> the rotation using xrandr. Since I'm using Nvidia binary driver, the<br>
> Fn+F7 keys doesn't work as expected. When I press it, I get an error<br>
> message.<br>
><br>
> Here the step to reproduce.<br>
> 1. Connect an external display to the VGA port<br>
> 2. Press Fn+F7<br>
> 3. The following error message is displayed :<br>
> Could not switch the monitor configuration<br>
> could not set the configuration for CRTC 354<br>
<br>
So you created a custom keyboard shortcut (in gnome-control-center)<br>
which runs xrandr when pressing Fn+F7?<br>
If not, how is this keyboard shortcut configured/setup/triggered?<br></blockquote><div><br></div><div>I didn't create a custom keyboard shortcut. I guess either gnome or the kernel is intercepting Fn+F7 and try to switch between monitors using xrandr. Last time I try, the nouveau driver support it very well.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> I suggest to detect whether xrandr is working or not.<br>
<br>
I don't think this is solveable within gnome-settings-daemon if you<br>
simply run xrandr from a keyboard shortcut.<br>
I'd suggest running a shell script instead which does the necessary<br>
sanity check.<br>
Or even better, complain to NVIDIA to properly support xrandr.<br><font color="#888888"><br></font></blockquote><div>Checking if xrandr should be used within a shell script is the way to go. The script it self should be relatively simple. Since there is already a hook on Fn+F7, I don't know how to replace the default behavior. For this reason, I have submit a bug repport.</div>
<div><br></div><div>Notice, on most thinkpad, Fn+F7 is used to switch between monitors.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Michael<br>
<br>
<br>
--<br>
Why is it that all of the instruments seeking intelligent life in the<br>
universe are pointed away from Earth?<br>
<br>
</font></span></blockquote></div><br>