Xbacklight: Difference between revisions

From wikinotes
No edit summary
No edit summary
Line 23: Line 23:
</syntaxhighlight>
</syntaxhighlight>
</blockquote><!-- Usage -->
</blockquote><!-- Usage -->
= Troubleshooting =
<blockquote>
== Wrong Display ==
<blockquote>
If xbacklight is unable to determine the display (or chooses the wrong one),
you can configure the correct one in your Xorg.conf
<syntaxhighlight lang="dosini">
# /etc/X11/xorg.conf
Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
EndSection
</syntaxhighlight>
</blockquote><!-- Wrong Display -->
</blockquote><!-- Troubleshooting -->

Revision as of 01:38, 17 April 2022

Adjust the screen backlight from the commandline.

Documentation

man xbacklight https://man.archlinux.org/man/extra/xorg-xbacklight/xbacklight.1.en

Install

pacman -S xorg-xbacklight

Usage

xbacklight -set 40

Troubleshooting

Wrong Display

If xbacklight is unable to determine the display (or chooses the wrong one), you can configure the correct one in your Xorg.conf

# /etc/X11/xorg.conf

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "Backlight"  "intel_backlight"
EndSection