https://github.com/hyperb1iss/fake-backlight
Control backlight brightness automatically with xbacklight or xrandr
https://github.com/hyperb1iss/fake-backlight
acpi backlight blade brightness eyes hurt linux pro razer xbacklight xrandr
Last synced: 6 months ago
JSON representation
Control backlight brightness automatically with xbacklight or xrandr
- Host: GitHub
- URL: https://github.com/hyperb1iss/fake-backlight
- Owner: hyperb1iss
- Created: 2016-12-11T04:57:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T16:18:45.000Z (over 4 years ago)
- Last Synced: 2024-07-21T00:27:40.459Z (about 1 year ago)
- Topics: acpi, backlight, blade, brightness, eyes, hurt, linux, pro, razer, xbacklight, xrandr
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fake Backlight
==============*fake-backlight* shouldn't need to exist, but it does.
*fake-backlight* fakes a backlight for your display because..
- You can't control it any other way in linux
- ACPI is hard
- Your OEM sucks
- Your eyes hurt
- Life is painWhat on earth is this?
----------------------If you have a bleeding-edge laptop from certain manufacturers,
you might not be able to control the backlight brightness.
You might have tried a hundred random hacks, none of which
helped, and Linux doesn't have some esoteric driver for your
system either.If you have a /sys/class/backlight/acpi_video0, but it does
nothing, *fake-backlight* can help until someone figures out
what insane thought process your oem went thru to arrive at
their decision to not support the ACPI standard. Hopefully
the developer trying to resolve the problem without any
documentation doesn't off themselves in the process.*fake-backlight* works with GNOME, and will use xbacklight
to control the display brightness when you change the
backlight using the hotkeys or other method. If xbacklight
isn't working and you are really hurting, xrandr can
be used (set USE_XRANDR=True) to apply software brightness.*fake-backlight* requires Python 3.
Install:
--------```bash
sudo pip3 install pydbus;
mkdir -p ~/.config/systemd/user;
cp fake-backlight.service ~/.config/systemd/user;
sudo cp fake-backlight /usr/local/bin/;
systemctl --user enable fake-backlight;
systemctl --user start fake-backlight;
```