146 lines
4.3 KiB
HTML
146 lines
4.3 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="cs">
|
||
|
<head>
|
||
|
<meta charset="UTF-8"/>
|
||
|
<meta
|
||
|
content="EndeavourOS svobodný operační systém...."
|
||
|
name="description"
|
||
|
/>
|
||
|
<meta content="EndeavourOS" name="keywords"/>
|
||
|
<meta content="Kankys" name="author"/>
|
||
|
|
||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||
|
<link href="style.css" rel="stylesheet"/>
|
||
|
<link href="../fullStyle.css" rel="stylesheet"
|
||
|
<link href="/img/icons.png" rel="shortcut icon"/>
|
||
|
<script
|
||
|
crossorigin="anonymous"
|
||
|
src="https://kit.fontawesome.com/0a43c6cd1f.js"
|
||
|
></script>
|
||
|
<!--icons dark, go to up-->
|
||
|
<link
|
||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
|
||
|
rel="stylesheet"
|
||
|
/>
|
||
|
|
||
|
<!--ubuntu fonts-->
|
||
|
<style>
|
||
|
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
||
|
</style>
|
||
|
|
||
|
<title>EndeavourOS</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<header>
|
||
|
<!-- EOS - logo () -->
|
||
|
<div class="logo">
|
||
|
<a href="../../index.html">
|
||
|
<img alt="" src="/img/EndeavourOS-logo.webp"/>
|
||
|
</a>
|
||
|
</div>
|
||
|
|
||
|
<!-- EOS - navigation -->
|
||
|
<nav>
|
||
|
<ul>
|
||
|
<li><a href="/index.html">Domů</a></li>
|
||
|
<li><a href="/novinky/index.html">Novinky</a></li>
|
||
|
<li><a href="/wiki/index.html">Wiki</a></li>
|
||
|
<li><a href="/clanky/index.html">Články</a></li>
|
||
|
<li>
|
||
|
<a href="https://forum.arch-linux.cz/" target="_blank">Fórum</a>
|
||
|
</li>
|
||
|
<li><a href="https://t.me/eoscz" target="_blank">Telegram</a></li>
|
||
|
<li><a href="/o-nas/index.html">O nás</a></li>
|
||
|
<li><a href="/rozcestnik/index.html">Rozcestník</a></li>
|
||
|
<li><a href="/odkazy/index.html">Odkazy</a></li>
|
||
|
|
||
|
</ul>
|
||
|
</nav>
|
||
|
|
||
|
<div class="menu-icon">
|
||
|
<!-- Ikona hamburger -->
|
||
|
<i class="fa-solid fa-bars"></i>
|
||
|
<!-- Ikona cross -->
|
||
|
<!-- <i class="fa-solid fa-xmark"></i> -->
|
||
|
</div>
|
||
|
</header>
|
||
|
<main>
|
||
|
<section class="welcome">
|
||
|
<h1>Jak v i3wm opravit nefunkční nastavení jasu monitoru</h1>
|
||
|
<p>
|
||
|
Pokud vám po instalaci i3wm nefunguje jas monitoru, náprava je poměrně
|
||
|
jednoduchá.
|
||
|
</p>
|
||
|
<p>Nainstalujte si brightnessctl pomocí příkazu:</p>
|
||
|
<div class="code-box">
|
||
|
<pre id="code-content">
|
||
|
yay -S brightnessctl
|
||
|
|
||
|
</pre>
|
||
|
<button id="copy-button">Kopírovat</button>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Restartujte počítač a otestujte funkčnost jasu monitoru. Změna se
|
||
|
provede tímto příkazem:
|
||
|
</p>
|
||
|
<div class="code-box">
|
||
|
<pre id="code-content">
|
||
|
brightnessctl se 30
|
||
|
|
||
|
</pre>
|
||
|
<button id="copy-button">Kopírovat</button>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
Pokud se vám jas snížil na 30% je vš v přádku a můžeme pokračovat
|
||
|
nastavení ovládání jasu na klávesnici.
|
||
|
</p>
|
||
|
<h3>Ovládání jasu pomocí klávesnice:</h3>
|
||
|
<p>
|
||
|
Ve skriptu
|
||
|
<strong>~/.config/i3/scripts/volume_brightness.sh</strong> na konci
|
||
|
změnit záznam na:
|
||
|
</p>
|
||
|
<div class="code-box">
|
||
|
<pre id="code-content">
|
||
|
brightness_up)
|
||
|
# Increases brightness and displays the notification
|
||
|
brightnessctl set "10%+"
|
||
|
show_brightness_notif
|
||
|
;;
|
||
|
|
||
|
|
||
|
brightness_down)
|
||
|
# Decreases brightness and displays the notification
|
||
|
brightnessctl set "10%-"
|
||
|
show_brightness_notif
|
||
|
;;
|
||
|
</pre>
|
||
|
<button id="copy-button">Kopírovat</button>
|
||
|
</div>
|
||
|
|
||
|
<p>
|
||
|
A to je vše,teď by Vám nastavení jasu mělo jít pomocí funkčních
|
||
|
kláves.
|
||
|
</p>
|
||
|
<code
|
||
|
><a href="https://lukaskanka.cz/" target="_blank">Kankys</a>
|
||
|
16.4.2024</code
|
||
|
</section>
|
||
|
</main>
|
||
|
<button id="scrollToTopBtn" onclick="scrollToTop()" title="Go to top">
|
||
|
<i class="fas fa-arrow-up"></i>
|
||
|
</button>
|
||
|
<footer>
|
||
|
Copyright ©
|
||
|
<a href="https://git.archoslinux.cz/kankys" target="_blank"
|
||
|
>Lukáš Kaňka</a
|
||
|
>
|
||
|
2024
|
||
|
</footer>
|
||
|
|
||
|
<script src="script.js"></script>
|
||
|
</body>
|
||
|
</html>
|