• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

qml/H04-Jan-2022-248198

Messages.shH A D04-Jan-2022101 41

READMEH A D04-Jan-20221.6 KiB4633

config.cppH A D04-Jan-20227.9 KiB285236

config.hH A D04-Jan-20221.5 KiB7449

daemon.cppH A D04-Jan-202217.7 KiB501390

daemon.hH A D04-Jan-20222.1 KiB9162

device.cppH A D04-Jan-20224.6 KiB165132

device.hH A D04-Jan-20221.2 KiB6041

generator.cppH A D04-Jan-202218.5 KiB631491

generator.hH A D04-Jan-20222.3 KiB8660

kscreen.desktop.cmakeH A D04-Jan-20222.9 KiB108106

org.freedesktop.DBus.Properties.xmlH A D04-Jan-2022451 1111

org.kde.KScreen.xmlH A D04-Jan-2022799 2221

osd.cppH A D04-Jan-20226.2 KiB209165

osd.hH A D04-Jan-20221.2 KiB6442

osdaction.cppH A D04-Jan-20221.7 KiB6849

osdaction.hH A D04-Jan-2022864 4327

osdmanager.cppH A D04-Jan-20225.3 KiB191151

osdmanager.hH A D04-Jan-2022849 4631

output.cppH A D04-Jan-202218.4 KiB488381

output.hH A D04-Jan-20221.9 KiB6036

README

1This file describes everything that the Daemon does or should do.
2
3This daemon will restore and save screen configurations depending on which monitors are connected.
4In case not known configuration is saved, a new one will be created following some principles.
5
6This daemon also handles the laptop keys for managing screens.
7
8-Configuration format:
9    Each configuration will represent a set of connected outputs, atm we are using the hash of their
10    EDID sorted alphabetically to identify a unique set of outputs
11-Config generator for unknown set of outputs.
12
13    Laptop:
14        -If embedded display is running
15            -Embedded enabled
16            -Embedded primary
17            -External extended to the right
18
19        -If docked and embedded is running
20            -Embedded enabled
21            -External extended to the right
22            -External primary
23
24        -If embedded display is NOT running
25            -External primary
26
27        -When no more monitors can be enabled
28            -If the difference is only 1, disable embedded
29            -Notification for opening KCM
30
31    Desktop:
32        The configuration of a desktop machine is different from a laptop since a desktop machine
33        is way more static than a notebook and the set of monitors doesn't change that much.
34
35        -Always extend to the right
36        -When no more monitors can be enabled show KCM
37
38Laptop special key:
39    This key is usually used to go from mode to mode, we will implement it in the following order:
40
41        -Clone
42        -Extended to the left
43        -Extended to the right
44
45    Since by default we are extending to the right, make sense to clone next.
46