Prerequisites
Before installing KVantage, ensure you have:- A Lenovo laptop (required for ACPI interface compatibility)
- Java Runtime Environment (JRE) installed on your system
- The acpi_call kernel module loaded (see System Requirements for details)
Download KVantage
You can download the latest version of KVantage from:- Direct download: Latest release (v2.1.0)
- Releases page: GitHub releases
.jar file for portability and ease of installation.
Install Java Runtime
KVantage requires a Java Runtime Environment to run. Install it using your distribution’s package manager:Installation Process
Download the JAR file
Download
com.korealm.kvantage-linux-x64-2.1.0-release.jar to your preferred location (e.g., ~/Downloads).Run KVantage for the first time
Navigate to the download location and run:
Do not run the application as root or with
sudo. The GUI must run as a regular user. Root access is handled internally by the backend service.Complete the embedded installer
On first launch, KVantage will prompt you to install the application:
- The installer copies the JAR file to
~/.local/bin/ - Creates a desktop entry at
~/.local/share/applications/kvantage.desktop - Extracts the application icon to
~/.local/share/icons/ - Allows you to launch KVantage from your application menu
Grant root permissions
When KVantage starts, the backend service (kvand) will prompt for your password using your system’s authentication dialog (e.g., polkit, pkexec, or sudo).Root access is required once per session to interact with
/proc/acpi/call for reading and writing ACPI values.The password prompt is for the backend daemon only. The GUI never runs with elevated privileges for security reasons.
Portable Usage (No Installation)
If you prefer to use KVantage without installing, you can run it directly:Uninstallation
To remove KVantage from your system:Troubleshooting
Backend service fails to start
If you see “Failed to initialize the backend service” error:-
Verify the acpi_call module is loaded:
-
Check if
/proc/acpi/callexists: -
Ensure you’re not running as root:
Application won’t start with “must never be started as root” error
Never run KVantage withsudo or as the root user. Run it as your regular user: