hamwaves.com
;

Laptop Brightness Buttons
under Linux

Serge Y. Stroobandt

Copyright 2015–2016, licensed under Creative Commons BY-NC-SA

  1. Home
  2. Information Technology
  3. Desktop Systems
  4. Brightness Buttons

Problem

Laptop brightness buttons may not function out of the box under Linux.

Solution

Here is how to get these special keys working. In a terminal window type:

$ sudo nano /etc/default/grub 

Using the arrow keys, navigate to the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

At the end of the line add acpi_osi= to get:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi="

Write the file out by hiiting [Ctrl]+[O], followed by [Enter]. Exit nano with [Ctrl]+[X].

Finally, do not forget to update grub using the following command:

$ sudo update-grub

Now the laptop can be rebooted and the brightness keys should be working.

$ sudo reboot 0
5
Creative Commons Licence
This work is licensed under a Creative Commons Attribution‑NonCommercial‑ShareAlike 4.0 International License.
Other licensing available on request.
GNU GPL v3
Unless otherwise stated, all originally authored software on this site is licensed under the terms of GNU GPL version 3.
cookie
This static web site has no backend database.
Hence, no personal data is collected and GDPR compliance is met.
Moreover, this domain does not set any first party cookies.

All Google ads shown on this web site are, irrespective of your location,
restricted in data processing to meet compliance with the CCPA and GDPR.
However, Google AdSense may set third party cookies for traffic analysis and
use JavaScript to obtain a unique set of browser data.
Your browser can be configured to block third party cookies.
Furthermore, installing an ad blocker like EFF's Privacy Badger
will block the JavaScript of ads.
Google's ad policies can be found here.
This page employs a Python Bottle server‑side script.
This page includes an open-source client-side script, written in Python and
transcoded by Brython to make it run as secure JavaScript in the browser.
Static XHTML generated from Markdown by Pandoc and
the GNU/Linux make, sed and gpp commands.
LaTeXmath markup rendered with MathJax.
BibTeX references are best read with JabRef.
Unattended CSS typesetting with Prince.
This work is published at https://hamwaves.com/brightness/en/.
profile for Serge Stroobandt on Stack Exchange, a network of free, community-driven Q&A sites
GnuPG
Use my OpenPGP public key to encrypt messages for:

echo c2VyZ2VAc3Ryb29iYW5kdC5jb20K |base64 -d
Last update: Wednesday, September 1, 2021.