This program lets you control the bias lighting LEDs on the LG 27GN950, 38GN950, and 38GL950G monitors without needing to use the official LG software. This program has no affiliation with LG.
This program has the following benefits:
Video sync is currenty in development. All other functionality is supported.
This project also provides a library that other applications can use to control the supported monitors. See the lib27gn950.py
file for details and documentation.
OS | Normal controls | Multi-monitor | GUI | Video sync |
---|---|---|---|---|
Linux | Functional | Untested | Functional | In development |
Windows | Functional | Untested | Functional | In development |
macOS | Functional | Untested | Untested | In development |
'Untested' means that it should work. But I only have a single 27GN950 and don't have an Apple computer. If you are able to get this program to successfully work under untested situations, please open an issue and report your success so that this document can be updated.
This requires Python 3, the Python HID package, and the HIDAPI library as dependencies.
On Arch Linux:
sudo pacman -S hidapi python-hid python-pyqt5
On other Linuxes and macOS:
pip3 install --user hid
sudo pip3 install --user hid
pip3 install --user pyqt5
sudo pip3 install --user pyqt5
sudo apt install hidapi
sudo dnf install hidapi
brew install hidapi
py -m pip install hid
py -m pip install pyqt5
pip install
instead of py -m pip install
sudo ./console.py
help
for help / command referencesudo ./gui.py
console.py
or gui.pyw
(gui.pyw is the same as gui.py, but it won't open a command prompt window on Windows)To control the monitor brightness (of the screen, not the bias lighting), see: https://www.subraizada.com/blog/ddc/
Multimonitor support:
info
and select
commands in the command line interface.Any CLI command can be provided as a command line argument. For example, to turn on your monitor's lighting you would normally run the CLI and enter 'turn_on'. Instead, you can run:
sudo ./console.py turn_on
By default, that command will apply to all monitors. You can select specific monitors to apply the command to by prepending them to the command, comma-separated. For example:
sudo ./console.py 2,turn_off
sudo ./console.py 1,3,set 2 00ff00