GTK4 application for managing LG Gram laptop features on Linux.
- Reader mode (blue light filter)
- FN lock toggle
- Fan mode (optimal, silent, performance)
- USB charging when powered off
- Battery care (80% charge limit)
- Keyboard backlight control
- Touchpad LED control
Settings changed with the Fn keys (keyboard backlight, fan mode, reader mode, FN lock, touchpad) are picked up by the app automatically.
The driver reports Fn-F1 (the LG control panel key) as F15. Bind F15 to lg-gram-manager in your desktop's keyboard settings to open the app with a key press.
- LG Gram laptop with the
lg-laptopkernel module - Linux kernel 6.2+ (kernel 6.17+ required for Performance fan mode)
- GTK4 and libadwaita
- Python 3.8+
Packages for both Debian/Ubuntu and Arch-based distros are on the releases page.
Debian / Ubuntu:
sudo dpkg -i lg-gram-manager_*_all.debArch / CachyOS / EndeavourOS:
sudo pacman -U lg-gram-manager-*-any.pkg.tar.zst
sudo usermod -aG lg-gram $USERDuring installation, your user will be added to the lg-gram group, which grants permission to modify laptop settings without requiring a password each time. A system restart may be required for this change to take effect.
Or run from source:
python3 lg_gram_manager_gtk.pyNote: Running from source without installing the package will prompt for authentication when changing settings.
./build.shThe .deb package will be output to dist/.
If the driver is not loaded:
sudo modprobe lg-laptopTo load on boot:
echo "lg-laptop" | sudo tee -a /etc/modules