Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deimosfr/oled-backlight
Linux OLED backlight management for Linux
https://github.com/deimosfr/oled-backlight
archlinux backlight kernel lenovo linux oled
Last synced: 15 days ago
JSON representation
Linux OLED backlight management for Linux
- Host: GitHub
- URL: https://github.com/deimosfr/oled-backlight
- Owner: deimosfr
- License: gpl-3.0
- Created: 2020-04-23T21:07:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-01T12:11:43.000Z (over 3 years ago)
- Last Synced: 2024-10-27T05:47:22.374Z (2 months ago)
- Topics: archlinux, backlight, kernel, lenovo, linux, oled
- Language: Go
- Size: 22.5 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oled-backlight
Linux OLED backlight management for Linux intel cardsI've a Lenovo X1 Carbon Extreme Gen2 and recently the OLED support has been fixed (thanks to https://gitlab.freedesktop.org/drm/intel/issues/510)
Tested on Arch linux (Intel Corporation UHD Graphics 630):
* kernel 5.6.6-arch1-1
* xf86-video-intel 1:2.99.917+906+g846b53da-1However common softs like xbacklight doesn't recognize the screen. So I've made this quick program in order to control backlight through the command line. See usage:
```
# print help
$ ./oled-backlight
Please add one of those argument: current|+|-|XY%# return current percentage
$ ./oled-backlight current
50# lighter +5%
$ sudo ./oled-backlight +
55# darker -5%
$ sudo ./oled-backlight -
50# set light percentage
$ sudo ./oled-backlight 60%
60
```Note: it needs sudo permissions in order to modify the brightness