Package Details: laptop-mode-tools 1.74-1

Git Clone URL: (read-only, click to copy)
Package Base: laptop-mode-tools
Description: Power saving tool for Linux
Upstream URL:
Licenses: GPL
Submitter: stativ
Maintainer: dbermond
Last Packager: dbermond
Votes: 176
Popularity: 0.30
First Submitted: 2014-01-25 11:30 (UTC)
Last Updated: 2020-07-19 15:13 (UTC)

Dependencies (12)

Required by (0)

Sources (1)

Latest Comments

dginovker commented on 2021-12-23 05:43 (UTC)

PSA - If nothing happens on launch (and you're expecting a GUI), install python-pyqt5

dbermond commented on 2020-05-23 22:52 (UTC)

@psydev Thanks. Package updated.

psydev commented on 2020-05-22 14:44 (UTC)

Great package! Just a note: laptop-mode-tools seems to also support iw, which is a more modern replacement for wireless_tools (deprecated). This could be reflected in the package dependencies.


dbermond commented on 2019-10-03 10:59 (UTC)

@aminvakil This is not mandatory:

aminvakil commented on 2019-10-02 08:55 (UTC) (edited on 2019-10-02 08:55 (UTC) by aminvakil)

I wonder why the maintainer hasn't used the url variable in source.

As url has been defined like this:


So shouldn't he change





rosekunkel commented on 2018-03-31 00:50 (UTC)

Since the last update, I've been experiencing periodic full-system hangs, particularly when doing CPU-intensive tasks like watching YouTube videos. Uninstalling laptop-mode-tools seems to have fixed the problem. I've opened an issue here:

hcartiaux commented on 2018-02-02 13:49 (UTC)

I've switched to tlp, so I cannot test laptop-mode-tools easily.

I've received this message from the person who flagged the PKGBUILD:

Laptop Mode Tools 1.72 released, see

Please note the switch to PyQt5 and Python3 despite only small version number bump.

cyrevolt commented on 2017-12-25 19:54 (UTC)

The systemd unit is simply called laptop-mode and being installed @thepasto :)

thepasto commented on 2017-10-16 07:56 (UTC)

No systemd service on clean installation.

hcartiaux commented on 2015-10-15 15:32 (UTC)

@dluciv: should be fixed in 1.68.1, sorry for the late reply

dluciv commented on 2015-09-10 18:43 (UTC)

Comment from author: This change look really useful, 1.68 works ok with it. So may be we can patch 1.68 when building package?

dluciv commented on 2015-09-10 10:01 (UTC)

Confirming recent comments. 1.68 is restarting continuously, 1.67 works ok. ACER Aspire V3. Users report 1.68 works ok on Gentoo, so possibly systemd issue...

der_fenix commented on 2015-08-30 15:57 (UTC)

Guess you should report this to the upstream issues list ( Here we just make package.

cfr42 commented on 2015-08-29 12:15 (UTC)

Downgrading to 1.67-1 seems to solve the issue for now, although it is obviously a workaround. Note that another user is reporting problems with the update on the forums, and that user is also on a ThinkPad - although a different model. I have no idea whether this is of any significance or not.

cfr42 commented on 2015-08-29 02:30 (UTC)

The latest version of the package restarts every time I connect a USB device (a mouse) to my laptop. Moreover, the mouse doesn't work at all. Before rebooting, it worked for a short while. After rebooting, it does nothing. For example the journal shows: Aws 29 03:15:17 MyComputer kernel: usb 1-1.1: new low-speed USB device number 5 using ehci-pci Aws 29 03:15:17 MyComputer kernel: input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/0003 :046D:C00E.0002/input/input23 Aws 29 03:15:17 MyComputer kernel: hid-generic 0003:046D:C00E.0002: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1a.0-1.1/input0 Aws 29 03:15:17 MyComputer mtp-probe[8233]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1" Aws 29 03:15:17 MyComputer mtp-probe[8233]: bus: 1, device: 5 was not an MTP device Aws 29 03:15:17 MyComputer systemd[1]: Stopping Laptop Mode Tools... ... Aws 29 03:15:17 MyComputer kdeinit5[2352]: kcm_keyboard: New device id: 15 ... Aws 29 03:15:17 MyComputer kdeinit5[2352]: kcm_keyboard: id: 15 name: Logitech USB-PS/2 Optical Mouse used as: 4 Aws 29 03:15:17 MyComputer kdeinit5[2352]: kcm_keyboard: new pointer device, id: 15 name: Logitech USB-PS/2 Optical Mouse used as: 4 ... Aws 29 03:15:17 MyComputer laptop-mode[8286]: Laptop mode Aws 29 03:15:17 MyComputer laptop-mode[8287]: disabled, not active ... Aws 29 03:15:17 MyComputer kcminit[8272]: Initializing "kcm_input" : "kcminit_mouse" ... Aws 29 03:15:18 MyComputer systemd[1]: Stopped Laptop Mode Tools. Aws 29 03:15:18 MyComputer systemd[1]: Starting Laptop Mode Tools... Aws 29 03:15:18 MyComputer laptop-mode[8934]: Laptop mode Aws 29 03:15:18 MyComputer laptop-mode[8935]: enabled, not active ... And then it all starts over. I'm not sure if this is an interaction between laptop-mode-tools and KDE or what. I noticed that makepkg caused it to try (unsuccessfully) to restart acpid when building. However, I forced a rebuild after rebooting. I also removed the dangling acpid.socket left in /etc/systemd/system/ But nothing seems to help.

lybin commented on 2015-08-28 05:01 (UTC)

I disowned the package. I don't use more, I can't to check. It has a new version.

ei-grad commented on 2015-08-26 22:30 (UTC)

Don't know where this discussion should have place, but: Any cons for AUTOSUSPEND_USBTYPE_BLACKLIST="usbhid" to be added to /etc/laptop-mode/conf.d/usb-autosuspend.conf by default? See for details.

jvybihal commented on 2015-07-08 10:28 (UTC)

cladmi commented on 2015-05-16 10:28 (UTC)

I think python2 dependency can be removed. The only place where I found 'python' in the source was in lmt-gui script, and it would be installed by python2-pyside when used.

lybin commented on 2015-05-02 18:32 (UTC)

python2-pyside (optional) – LMT GUI

stas_nobody commented on 2015-05-02 18:26 (UTC)

lmt-gui not work: Traceback (most recent call last): File "/usr/bin/lmt-gui", line 21, in <module> from PySide.QtGui import (QWidget, QMessageBox, QVBoxLayout, QHBoxLayout, ImportError: No module named PySide.QtGui

rarvolt commented on 2015-04-06 09:32 (UTC)

@aaditya's PKGBUILD not works. lmt-gui_1.65.tar.gz - 404

kaptoxic commented on 2015-04-04 18:27 (UTC)

GUI works nicely. Thanks!

lybin commented on 2015-04-04 13:03 (UTC)

Updated. To work LMT GUI need to install optional package: python2-pyside.

aaditya commented on 2014-08-20 16:52 (UTC)

Hi, I created a PKGBUILD for the Gui: Earlier I had tried to create a split package for LMT and the Gui, but had not succeeded at it; maybe I will give it a go later. Note that I havent actually tested this PKGBUILD though. To run it you could try in a terminal: lmt-gui Or if that does not work: sudo python2 /usr/bin/lmt-gui

kaptoxic commented on 2014-08-20 15:07 (UTC)

Do you think it is possible to make a new (separate) package just for the GUI? I agree that it is not a good idea to include the GUI within this package...

aaditya commented on 2014-08-14 15:09 (UTC)

@kaptoxic, There is a GUI in the source, but it was not being installed by the package. However to use the GUI I had to install python2-pyside from the AUR, which took some time to build along with its dependencies (15-20 min), and was a big package as well (40+ Mb). So if you want to use the GUI you can build and install the dependencies, and copy from the gui folder in the source to your system, and run as sudo python2

aaditya commented on 2014-08-14 14:01 (UTC)

The usb-autosuspend module was dropped by upstream and is now handled by the runtime-pm module. [1] It has been removed from this package as well. [1]:

aaditya commented on 2014-08-14 14:01 (UTC)

I dont think there is a GUI (at least not in this package).

kaptoxic commented on 2014-07-05 01:05 (UTC)

Should not there be a GUI?

aaditya commented on 2014-06-05 15:54 (UTC)

I simply removed an option in the make install line that removed the file /etc/init.d/laptop-mode, so that I can use it with OpenRC init system. Don't think it makes any change for normal (systemd) users though, but I bumped pkgrel as I made changes in the PKGBUILD.

hcartiaux commented on 2014-06-05 08:56 (UTC)

@aaditya, Thanks for the update, but could you explain your changes please?

muon commented on 2014-04-27 14:36 (UTC) may be of interest here, recommending TLP as a replacement for laptop-mode-tools: Just as an FYI.

valr commented on 2014-04-25 10:21 (UTC)

I'm really lacking time to work on this. Upstream not contacted yet, and I only passed a very limited time to look at the bug reports. I disown, hoping that someone having more time will look at it.

valr commented on 2014-04-02 19:51 (UTC)

Info received: I'm checking and will contact upstream.

valr commented on 2014-04-02 08:02 (UTC)

Well, I might have missed the bugs in the bug tracker as I don't see them. I'll contact the previous maintainer, see directly with him. It seems there are 2 bugs to fix, if I refer to the mailing list (

ctown.myth commented on 2014-04-01 21:08 (UTC)

I don't keep up with upstream, has the bug that caused it to be pulled from the official repos been fixed?