-
-
Notifications
You must be signed in to change notification settings - Fork 46
Home
Laptop Mode Tools is a laptop power saving package for Linux systems. It allows you to extend the battery life of your laptop, in several ways. It is the primary way to enable the Laptop Mode feature of the Linux kernel, which lets your hard drive spin down. In addition, it allows you to tweak a number of other power-related settings using a simple configuration file.
Installation Install a package from the packages page. If you are going to use this on a non-laptop machine, be sure to read the FAQ first.
Internationalization
The language internationalization of laptop mode tools refers to the implementation of Qt language internationalization. If developers want to add a local language, they can refer to the following steps.
-
Environment configuration
You need to install the two packagesqttools5-dev-tools
andpyqt5-dev-tools
. -
Generate the corresponding language file
-
Enter the project root directory and execute the
./pylupdate.sh
script to generate the .ts file for the corresponding language -
Enter the
laptop-mode-tools/usr/share/laptop-mode-tools/locale
directory and generate theqm
file(named in the language of the system, such as zh_CN.qm) of the corresponding language, for example:
lrelease ./zh_CN.ts
Support
If you experience any problems, be sure to check the FAQ first. Otherwise, Open a ticket, or ask a question on the mailing list. If neither work, you can send an e-mail to Ritesh Raj Sarraf
If you experience any problems, be sure to check the FAQ first. Otherwise, Open a ticket, or ask a question on the Mailing List. If neither work, you can send an e-mail to Ritesh Raj Sarraf