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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/950160

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to