Skip to content

bryfur/lg-gram-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LG Gram Manager

GTK4 application for managing LG Gram laptop features on Linux.

Features

  • 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

Requirements

  • LG Gram laptop with the lg-laptop kernel module
  • Linux kernel 6.2+ (kernel 6.17+ required for Performance fan mode)
  • GTK4 and libadwaita
  • Python 3.8+

Installation

sudo dpkg -i lg-gram-manager_1.0.0_all.deb

During 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.py

Note: Running from source without installing the package will prompt for authentication when changing settings.

Building

./build.sh

The .deb package will be output to dist/.

Troubleshooting

If the driver is not loaded:

sudo modprobe lg-laptop

To load on boot:

echo "lg-laptop" | sudo tee -a /etc/modules

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors