After a few rounds of testing, I think there is different result to run
g-s-d with and without the "--debug" argument.

This is what I do:
  kill -9 `pgrep "gnome-settings"`; gnome-settings-daemon --debug

And then press the video switch hotkey or super+p and observe if the
xrandr-plugin is called. There will be log like:

(gnome-settings-daemon:21343): xrandr-plugin-DEBUG: applying
=== Applying Configuration Configuration ===
  Clone: false
  Output: (null) attached to VGA1
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
  Output: BenQ 22" attached to HDMI1
     status: on
     width: 1920
     height: 1080
     rate: 60
     primary: true
     position: 0 0
  Output: (null) attached to DP1
     status: off
     width: -1
     height: -1
     rate: -1
     primary: false
     position: -1 -1
(gnome-settings-daemon:21343): xrandr-plugin-DEBUG: done handling fn-f7


However when testing without killing the g-s-d process first and without the 
--debug argument. The video switch does not work.

This could be a race of grabbing the key or some timing issue as it
seems.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/950160

Title:
  Keyboard function key to switch between monitors no more works

Status in Gnome Settings Daemon:
  New
Status in OEM Priority Project:
  Confirmed
Status in “gnome-settings-daemon” package in Ubuntu:
  In Progress
Status in “gtk+3.0” package in Ubuntu:
  Invalid

Bug description:
  Using : 12.04 Beta 1, updated. and Unity.

  In 11.10 clicking:

  - the function key (Fn) + (F1) allowed to switch between the laptop
  screen and the external monitor.

  After upgrading to 12.04 this no more works and instead I get an
  unexpected behavior: see the video.

  https://www.youtube.com/watch?v=-vEnrV5TwXo

  System: Dell XPS 15 L502X

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubuntu-sso-client 2.99.90-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  ApportVersion: 1.94.1-0ubuntu1
  Architecture: amd64
  Date: Thu Mar  8 19:18:42 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  PackageArchitecture: all
  SourcePackage: ubuntu-sso-client
  UpgradeStatus: Upgraded to precise on 2012-03-02 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/950160/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to