Power Management

/etc/xdg/autostart/lxqt-powermanagement.desktop

Is this in 24.04 as it was in 18.04 or has something changed?

https://discourse.lubuntu.me/t/how-on-lubuntu-18-04-one-may-disable-power-management-from-cli/631

It’s all related to the Freedesktop Autostart Specification 9. tl;dr in $XDG_CONFIG_DIRS/autostart (in our case, it’s /etc/xdg) are the applications that get autostarted. Remove xfce4-power-manager.desktop there and you’re set.¹

If you still want to access it, you’ll still have a link to the settings (since there is /usr/share/applications/xfce4-power-manager-settings.desktop) in the menu. It will ask you if you want to start the daemon upon opening.

¹ I did try to set Hidden=true which should disable it, but it didn’t work for some odd reason. Perhaps the specification is poorly implemented by LXDE. This is not surprising given its relative lack of development once LXQt came around in ~2014. Given that we’ve only got about a year left of support in 18.04 and little hope of any real development, I’d personally suggest jumping ship to LXQt.

Just like the topic says, 18.04. Technically, to those before it, too. Cosmic Cuttlefish/18.10 was the transition from LXDE to LXQt. At that point, the entire suite of applications changed in addition to the desktop environment. So basically anything involving Lubuntu ≤18.04 will not apply to any supported release of Lubuntu.

That said, for releases based on LXQt, you can manage Power Management Settings/lxqt-config-powermanagement as shown in the manual page that was linked in the original.

If you want to just shut off the daemon altogether, you can uncheck the LXQt module in Setting Settings/lxqt-config-session. Or remove the Desktop Entry, but updates might bring it back. There are ways to have a Desktop Entry in your local folder that supercedes the other one, effectively nullifying it. You’d need a Hidden=true entry.

Freedesktop/XDG still applies (and does basically on any GUI-based flavor/distro out there).

1 Like