-
-
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
laptop-mode-tools/gui
directory and generate the ts file of the corresponding language, for example: pylupdate5 ./lmt.py -ts ../usr/share/laptop-mode-tools/locale/zh_CN.ts -
Enter the
laptop-mode-tools/usr/share/laptop-mode-tools/locale
directory and generate the qm file 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