mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
labwc-config(5): add example for autoEnableOutputs
Some checks failed
labwc.github.io / notify (push) Has been cancelled
Some checks failed
labwc.github.io / notify (push) Has been cancelled
...with inspiration from example in #3059 by @jlindgren90
This commit is contained in:
parent
9f7e532852
commit
f2639226c7
1 changed files with 17 additions and 0 deletions
|
|
@ -228,6 +228,23 @@ this is for compatibility with Openbox.
|
|||
unless an external tool such as `wlr-randr` or `kanshi` is used to
|
||||
manage outputs.
|
||||
|
||||
The reason for the existance of this option is that after losing signal
|
||||
from the PC (e.g. by `wlopm -off`), some monitors do an input detection
|
||||
that makes it appear (from the PC side) to disconnect and reconnect a
|
||||
few seconds later, causing the monitor to turn back on again (as labwc
|
||||
auto-enables newly connected outputs by default).
|
||||
|
||||
An example usage pattern to avoid the above behavior looks as follows:
|
||||
- Set *<core><autoEnableOutputs>* to *no*
|
||||
- Run kanshi (e.g. from autostart) and rely on it to enable new outputs
|
||||
- Have swayidle kill and restart kanshi when entering powersave as
|
||||
follows:
|
||||
|
||||
```
|
||||
swayidle -w timeout 600 \\
|
||||
'pkill kanshi ; wlopm --off \*' resume 'kanshi & wlopm --on \*'
|
||||
```
|
||||
|
||||
*<core><reuseOutputMode>* [yes|no]
|
||||
Try to re-use the existing output mode (resolution / refresh rate).
|
||||
This may prevent unnecessary screenblank delays when starting labwc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue