On Thu, May 31, 2012 at 12:50 PM, Michael Biebl <bi...@debian.org> wrote:
> tags 658786 + moreinfo > thanks > > On 06.02.2012 01:51, Patrik Dufresne wrote: > > Package:gnome-settings-daemon > > > > Version: 3.2.2-2 > > > > My computer is a ThinkPad T510 and I usually use the Fn+F7 keys to > > change the monitor configuration. With Debian, using these keys invoke > > the rotation using xrandr. Since I'm using Nvidia binary driver, the > > Fn+F7 keys doesn't work as expected. When I press it, I get an error > > message. > > > > Here the step to reproduce. > > 1. Connect an external display to the VGA port > > 2. Press Fn+F7 > > 3. The following error message is displayed : > > Could not switch the monitor configuration > > could not set the configuration for CRTC 354 > > So you created a custom keyboard shortcut (in gnome-control-center) > which runs xrandr when pressing Fn+F7? > If not, how is this keyboard shortcut configured/setup/triggered? > 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. > > > I suggest to detect whether xrandr is working or not. > > I don't think this is solveable within gnome-settings-daemon if you > simply run xrandr from a keyboard shortcut. > I'd suggest running a shell script instead which does the necessary > sanity check. > Or even better, complain to NVIDIA to properly support xrandr. > > 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. Notice, on most thinkpad, Fn+F7 is used to switch between monitors. > Michael > > > -- > Why is it that all of the instruments seeking intelligent life in the > universe are pointed away from Earth? > >