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