Will something like below work? If not, how to improve it?

dbus-monitor --system
"type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1/seat/seat0',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'"
| grep --line-buffered "ActiveSession" | while read line; do xrandr
--auto; done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1783895

Title:
  Screen locking fails on Suspend/Resume for laptop lid-switch

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-session/+bug/1783895/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to