mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-17 09:17:02 +02:00
Deployed 1accbf6 with MkDocs version: 1.5.2
This commit is contained in:
File diff suppressed because one or more lines are too long
+52
-26
@@ -595,6 +595,13 @@
|
|||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#autohotkey-executable-not-found" class="md-nav__link">
|
||||||
|
AutoHotKey executable not found
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#komorebi-is-unresponsive-when-the-display-wakes-from-sleep" class="md-nav__link">
|
<a href="#komorebi-is-unresponsive-when-the-display-wakes-from-sleep" class="md-nav__link">
|
||||||
Komorebi is unresponsive when the display wakes from sleep
|
Komorebi is unresponsive when the display wakes from sleep
|
||||||
@@ -4097,6 +4104,13 @@
|
|||||||
</label>
|
</label>
|
||||||
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#autohotkey-executable-not-found" class="md-nav__link">
|
||||||
|
AutoHotKey executable not found
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
<a href="#komorebi-is-unresponsive-when-the-display-wakes-from-sleep" class="md-nav__link">
|
<a href="#komorebi-is-unresponsive-when-the-display-wakes-from-sleep" class="md-nav__link">
|
||||||
Komorebi is unresponsive when the display wakes from sleep
|
Komorebi is unresponsive when the display wakes from sleep
|
||||||
@@ -4163,6 +4177,18 @@
|
|||||||
|
|
||||||
|
|
||||||
<h1 id="troubleshooting">Troubleshooting</h1>
|
<h1 id="troubleshooting">Troubleshooting</h1>
|
||||||
|
<h2 id="autohotkey-executable-not-found">AutoHotKey executable not found</h2>
|
||||||
|
<p>If you try to start komorebi with AHK using <code>komorebic start --ahk</code>, and you have
|
||||||
|
not installed AHK using <code>scoop</code>, you'll probably receive an error:</p>
|
||||||
|
<div class="highlight"><pre><span></span><code>Error: could not find autohotkey, please make sure it is installed before using the --ahk flag
|
||||||
|
</code></pre></div>
|
||||||
|
<p>Depending on how AHK is installed the executable on your system may have a
|
||||||
|
different name. In order to account for this, you may set the <code>KOMOREBI_AHK_EXE</code>
|
||||||
|
environment variable in your
|
||||||
|
<a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.4">PowerShell profile</a>
|
||||||
|
to match the name of the executable as it is found on your system.</p>
|
||||||
|
<p>After setting <code>KOMOREBI_AHK_EXE</code> make sure to either reload your PowerShell
|
||||||
|
profile or open a new terminal tab.</p>
|
||||||
<h2 id="komorebi-is-unresponsive-when-the-display-wakes-from-sleep">Komorebi is unresponsive when the display wakes from sleep</h2>
|
<h2 id="komorebi-is-unresponsive-when-the-display-wakes-from-sleep">Komorebi is unresponsive when the display wakes from sleep</h2>
|
||||||
<p>This can happen in rare cases when your monitor state is not preserved after it
|
<p>This can happen in rare cases when your monitor state is not preserved after it
|
||||||
wakes from sleep.</p>
|
wakes from sleep.</p>
|
||||||
@@ -4178,8 +4204,8 @@ disrupt how the device is persisted in the <em>komorebi</em> state following sus
|
|||||||
alias by referring to the manufacturer's documentation.</p>
|
alias by referring to the manufacturer's documentation.</p>
|
||||||
<div class="admonition warning">
|
<div class="admonition warning">
|
||||||
<p class="admonition-title">Warning</p>
|
<p class="admonition-title">Warning</p>
|
||||||
<p>Disabling VRR within Windows (e.g. <em>Nvidia Control Panel</em>) may work and can indeed
|
<p>Disabling VRR within Windows (e.g. <em>Nvidia Control Panel</em>) may work and can indeed
|
||||||
change the configuration you see within your monitor's OSD, but some monitors
|
change the configuration you see within your monitor's OSD, but some monitors
|
||||||
will re-enable the setting regardless following suspension.</p>
|
will re-enable the setting regardless following suspension.</p>
|
||||||
</div>
|
</div>
|
||||||
<h3 id="reproducing">Reproducing</h3>
|
<h3 id="reproducing">Reproducing</h3>
|
||||||
@@ -4188,8 +4214,8 @@ normal.</p>
|
|||||||
<p>If <em>komorebi</em> is already unresponsive, then please restart <em>komorebi</em> first by
|
<p>If <em>komorebi</em> is already unresponsive, then please restart <em>komorebi</em> first by
|
||||||
running <code>komorebic stop</code> and <code>komorebic start</code>.</p>
|
running <code>komorebic stop</code> and <code>komorebic start</code>.</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li><strong><code>komorebic state</code></strong></li>
|
||||||
<p><strong><code>komorebic state</code></strong></p>
|
</ol>
|
||||||
<div class="highlight"><pre><span></span><code><span class="p">{</span>
|
<div class="highlight"><pre><span></span><code><span class="p">{</span>
|
||||||
<span class="w"> </span><span class="nt">"monitors"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
<span class="w"> </span><span class="nt">"monitors"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
||||||
<span class="w"> </span><span class="nt">"elements"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
|
<span class="w"> </span><span class="nt">"elements"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
|
||||||
@@ -4210,29 +4236,31 @@ running <code>komorebic stop</code> and <code>komorebic start</code>.</p>
|
|||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>This appears to be fine -- <em>komorebi</em> is aware of the device and associated
|
<p>This appears to be fine -- <em>komorebi</em> is aware of the device and associated
|
||||||
window handles. </p>
|
window handles.</p>
|
||||||
</li>
|
<ol>
|
||||||
<li>
|
<li><strong>Let your display go to sleep.</strong></li>
|
||||||
<p><strong>Let your display go to sleep.</strong></p>
|
</ol>
|
||||||
<p>Simply turning the monitor off is not enough to reproduce the problem; you must
|
<p>Simply turning the monitor off is not enough to reproduce the problem; you must
|
||||||
let Windows turn off the display itself.</p>
|
let Windows turn off the display itself.</p>
|
||||||
<p>To avoid waiting an eternity:</p>
|
<p>To avoid waiting an eternity:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><em>Control Panel</em> -> <em>Hardware and Sound</em> -> <em>Power Options</em> -> <em>Edit Plan
|
<li>
|
||||||
Settings</em></li>
|
<p><em>Control Panel</em> -> <em>Hardware and Sound</em> -> <em>Power Options</em> -> <em>Edit Plan
|
||||||
</ul>
|
Settings</em></p>
|
||||||
<p><em>Turn off the display: 1 minute</em></p>
|
<p><em>Turn off the display: 1 minute</em></p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<p>Allow a minute for the display to reset, then once it actually shuts off
|
<p>Allow a minute for the display to reset, then once it actually shuts off
|
||||||
allow for any additional time as prompted by your monitor for the cycle to
|
allow for any additional time as prompted by your monitor for the cycle to
|
||||||
complete.</p>
|
complete.</p>
|
||||||
</li>
|
<ol>
|
||||||
<li>
|
<li><strong>Wake your display again</strong> by pressing any key.</li>
|
||||||
<p><strong>Wake your display again</strong> by pressing any key.</p>
|
</ol>
|
||||||
<p><em>komorebi</em> should now be unresponsive.</p>
|
<p><em>komorebi</em> should now be unresponsive.</p>
|
||||||
</li>
|
<ol>
|
||||||
<li>
|
<li><strong><code>komorebic state</code></strong></li>
|
||||||
<p><strong><code>komorebic state</code></strong></p>
|
</ol>
|
||||||
<p>Don't stop <em>komorebi</em> just yet. </p>
|
<p>Don't stop <em>komorebi</em> just yet.</p>
|
||||||
<p>Since it's unresponsive, you can open another shell instead to execute the above command.</p>
|
<p>Since it's unresponsive, you can open another shell instead to execute the above command.</p>
|
||||||
<div class="highlight"><pre><span></span><code><span class="p">{</span>
|
<div class="highlight"><pre><span></span><code><span class="p">{</span>
|
||||||
<span class="w"> </span><span class="nt">"monitors"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
<span class="w"> </span><span class="nt">"monitors"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span>
|
||||||
@@ -4241,17 +4269,15 @@ complete.</p>
|
|||||||
<span class="w"> </span><span class="nt">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">65537</span><span class="p">,</span>
|
<span class="w"> </span><span class="nt">"id"</span><span class="p">:</span><span class="w"> </span><span class="mi">65537</span><span class="p">,</span>
|
||||||
<span class="w"> </span><span class="nt">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"DISPLAY1"</span><span class="p">,</span>
|
<span class="w"> </span><span class="nt">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"DISPLAY1"</span><span class="p">,</span>
|
||||||
<span class="w"> </span><span class="nt">"device"</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span>
|
<span class="w"> </span><span class="nt">"device"</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span>
|
||||||
<span class="w"> </span><span class="nt">"device_id"</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span><span class="p">,</span>
|
<span class="w"> </span><span class="nt">"device_id"</span><span class="p">:</span><span class="w"> </span><span class="kc">null</span>
|
||||||
<span class="w"> </span><span class="p">}</span>
|
<span class="w"> </span><span class="p">}</span>
|
||||||
<span class="w"> </span><span class="p">]</span>
|
<span class="w"> </span><span class="p">]</span>
|
||||||
<span class="w"> </span><span class="p">}</span>
|
<span class="w"> </span><span class="p">}</span>
|
||||||
<span class="p">}</span>
|
<span class="p">}</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
<p>We can see the <em>komorebi</em> state is no longer associated with the previous
|
<p>We can see the <em>komorebi</em> state is no longer associated with the previous
|
||||||
device: <code>null</code>, suggesting an issue when the display resumes from a suspended
|
device: <code>null</code>, suggesting an issue when the display resumes from a suspended
|
||||||
state.</p>
|
state.</p>
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user