From Fedora Project Wiki

Description

This test case covers configuring and using KScreen

Setup

Obtain a multihead configuration (Laptop LCD + at least one external monitor or multiple monitors), have only one display connected at first. Make sure kscreen is installed and kded_randrmonitor is uninstalled. Restart your session after installing KScreen.

# yum --enablerepo=updates-testing install kscreen
$ qdbus org.kde.kded /kded org.kde.kded.unloadModule randrmonitor
$ qdbus org.kde.kded /kded org.kde.kded.setModuleAutoloading randrmonitor false
$ qdbus org.kde.kded /kded org.kde.kded.loadModule kscreen

How to test

  1. Connect a new monitor
  2. Change configuration of monitors in the KCM (System Settings -> Display and Monitor -> Display Configuration) - change resolution, position or orientation of any monitor.
  3. Disconnect a monitor. The screen should be resized automatically, no window should be left "hidden" in the, now unavailable screen.
  4. Connect the monitor again. The previous configuration should be correctly restored.
  5. Repeat the steps above with different monitors and configurations.

Expected Results

  1. Configuration is correctly restored when monitor is plugged in. KScreen should remember setups for different monitors, projectors, etc.
  2. Screen is correctly resized when monitor is unplugged, all windows are moved to the remaining screens.
  3. Changing configuration in the KCM works.