<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=8093&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Kde profiles with TLP]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=8093</link>
		<description><![CDATA[The most recent posts in Kde profiles with TLP.]]></description>
		<lastBuildDate>Mon, 27 Jul 2026 14:57:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64951#p64951</link>
			<description><![CDATA[<p>Guys Chat GTP managed to solve it. It was about autostart order. He created script to restart powerdevil after start.</p><div class="codebox"><pre><code>patryk@devuan:~$ cat ~/.config/autostart/powerdevil-restart.desktop
[Desktop Entry]
Type=Application
Name=PowerDevil restart
Exec=sh -c &quot;sleep 5; /usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil&quot;
X-KDE-autostart-after=panel
patryk@devuan:~$ </code></pre></div><p>Thank you steve_v</p>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Mon, 27 Jul 2026 14:57:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64951#p64951</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64949#p64949</link>
			<description><![CDATA[<p>Process is not alive, because it runs on demand/trigger. But it works. It changes profile when (un)plugging power source.</p><div class="codebox"><pre class="vscroll"><code>patryk@devuan:/usr/share/dbus-1/system-services$ sudo service tlp status
--- TLP 1.11.0-alpha.0 --------------------------------------------

+++ System Info
System         = Dell Inc.  Latitude 5400
BIOS           = Dell Inc. 1.4.2
OS release     = Devuan GNU/Linux 6 (excalibur)
Kernel         = 6.12.95+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64
/proc/cmdline  = root=UUID=a1c43d75-58d7-481e-baf8-5e10fe81c105 ro quiet initrd=boot\initrd.img-6.12.95+deb13-amd64
Init system    = sysvinit
Boot mode      = UEFI
Suspend mode   = [s2idle] deep

+++ TLP Status
tlp            = enabled, last run: 14:26:25, 1438 sec(s) ago
tlp-rdw        = enabled
tlp-pd         = installed, not running
TLP profile    = performance/AC
Power source   = AC

patryk@devuan:/usr/share/dbus-1/system-services$ sudo service tlp status
--- TLP 1.11.0-alpha.0 --------------------------------------------

+++ System Info
System         = Dell Inc.  Latitude 5400
BIOS           = Dell Inc. 1.4.2
OS release     = Devuan GNU/Linux 6 (excalibur)
Kernel         = 6.12.95+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.95-1 (2026-07-04) x86_64
/proc/cmdline  = root=UUID=a1c43d75-58d7-481e-baf8-5e10fe81c105 ro quiet initrd=boot\initrd.img-6.12.95+deb13-amd64
Init system    = sysvinit
Boot mode      = UEFI
Suspend mode   = [s2idle] deep

+++ TLP Status
tlp            = enabled, last run: 14:55:26, 8 sec(s) ago
tlp-rdw        = enabled
tlp-pd         = installed, not running
TLP profile    = balanced/BAT
Power source   = battery</code></pre></div><div class="codebox"><pre><code>patryk@devuan:/usr/share/dbus-1/system-services$ cat /usr/share/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service
[D-BUS Service]
Name=org.freedesktop.UPower.PowerProfiles
Exec=/bin/false
User=root
SystemdService=tlp-pd.service</code></pre></div><div class="codebox"><pre><code>patryk@devuan:/usr/share/dbus-1/system-services$ sudo tlp-pd --debug
patryk@devuan:/usr/share/dbus-1/system-services$ sudo  tlp-stat --trace
--- TLP 1.11.0-alpha.0 --------------------------------------------

2026-07-27T15:27:23.851627+02:00 devuan tlp-pd: _get_tlp_profile(): Current TLP profile is &#039;power-saver&#039;
2026-07-27T15:27:23.867819+02:00 devuan tlp-pd: Bus name org.freedesktop.UPower.PowerProfiles is owned by PID 12710.
2026-07-27T15:27:23.868093+02:00 devuan tlp-pd: TLP Profiles Daemon (or another one) is already running, exiting.</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Mon, 27 Jul 2026 13:14:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64949#p64949</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64786#p64786</link>
			<description><![CDATA[<p>That&#039;s dbus activation failing to start whatever is providing UPower.PowerProfiles (likely because the shipped definitions expect systemd and the &quot;Exec&quot; entry is /bin/false, see <span class="bbc">/usr/share/dbus-1/system-services/org.freedesktop.UPower.PowerProfiles.service</span>), which implies that it isn&#039;t already running, or if it is, it didn&#039;t register on the system bus.</p><p>Note sysvinit has no service supervision, so it&#039;ll say tlp-pd is &quot;started&quot; even if it later exited or crashed. Check that the process is actually alive.<br />The <a href="https://man.archlinux.org/man/tlp-pd.8.en" rel="nofollow">manual</a> suggests tlp-pd takes a &#039;--debug&#039; flag, that&#039;s probably worth a look too.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Fri, 17 Jul 2026 07:54:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64786#p64786</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64728#p64728</link>
			<description><![CDATA[<div class="codebox"><pre><code>patryk@devuan:~$ sudo dbus-send --system --print-reply --dest=org.freedesktop.UPower.PowerProfiles /org/freedesktop/UPower/PowerProfiles org.freedesktop.DBus.Properties.GetAll string:&quot;org.freedesktop.UPower.PowerProfiles&quot;
[sudo] password for patryk: 
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
patryk@devuan:~$ </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Mon, 13 Jul 2026 12:24:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64728#p64728</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64702#p64702</link>
			<description><![CDATA[<p>That <em>might</em> be because tlp isn&#039;t advertising profiles that match what ppd would offer, or it might be a polkit thing... but those are just guesses. The message has changed at any rate, so kde/powerdevil sees a ppd implementation now, it just doesn&#039;t like it.</p><p>The only time I&#039;ve messed with this nonsense is replacing ppd with tuned-ppd on gentoo/openrc... None of which is particularly relevant here.<br />You could perhaps have a look what tlp-ppd is providing on dbus (e.g. with qdbusviewer) and compare it to ppd.</p><p>Ed. What says (as root) </p><div class="codebox"><pre><code>dbus-send --system --print-reply --dest=org.freedesktop.UPower.PowerProfiles /org/freedesktop/UPower/PowerProfiles org.freedesktop.DBus.Properties.GetAll string:&quot;org.freedesktop.UPower.PowerProfiles&quot;</code></pre></div><p>?</p><p>(aside, the above BS syntax also illustrates why and how very much I hate dbus)</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 11 Jul 2026 14:34:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64702#p64702</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64701#p64701</link>
			<description><![CDATA[<p>Thanks for your input.<br />What do&#160; you think about installing from source? <br />Script seems to be supporting sysvinit</p><div class="codebox"><pre><code>TLP_SYSV
	/etc/init.d
Install directory for sysvinit script</code></pre></div><p><a href="https://linrunner.de/tlp/developers/makefile.html" rel="nofollow">https://linrunner.de/tlp/developers/makefile.html</a></p><p>Edit: I installed from source. Archive cointains tlp-pd and now it running but KDE is not talking to it. Any ideas?</p><div class="codebox"><pre><code>patryk@devuan:~$ sudo service --status-all | grep tlp
 [ ? ]  alsa-utils
 [ ? ]  hwclock.sh
 [ ? ]  kmod
 [ ? ]  mount-configfs
 [ ? ]  networking
 [ ? ]  speech-dispatcher
 [ + ]  tlp
 [ + ]  tlp-pd</code></pre></div><p><span class="postimg"><img src="https://i.imgur.com/9JM1rtp.png" alt="FluxBB bbcode test" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Sat, 11 Jul 2026 13:41:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64701#p64701</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64700#p64700</link>
			<description><![CDATA[<p>It appears Devuan does not ship a sysvinit script with tlp-pd (as usual, it&#039;s just the Debian package and no attempt was made to ensure it works properly without systemd), so somebody will need to write one.<br />I don&#039;t have any Devuan installs on laptops or any interest in tlp, so that someone isn&#039;t me. It should be trivial though, find an init script template and have it start /usr/sbin/tlp-pd after dbus and tlp.<br />...or just ask your artificial-stupid of choice to convert /usr/lib/systemd/system/tlp-pd.service, this is a pretty good example of something they should be able to do without screwing up.</p><p>Ed. Upstream just added an init script.<br />Grab <a href="https://github.com/linrunner/TLP/blob/main/tlp-pd.init" rel="nofollow">https://github.com/linrunner/TLP/blob/main/tlp-pd.init</a>, stick it in /etc/init.d as tlp-pd, make it executable, and enable it with update-rc.d.<br />Then either reboot or start the service manually then logout/login to kde. </p><p><em>Should</em> work, YMMV, etc. Again, I have no desktop Devuan installs. vOv.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 11 Jul 2026 12:42:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64700#p64700</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64699#p64699</link>
			<description><![CDATA[<p>I installed it from backports, but don’t know how to make it work with KDE</p>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Sat, 11 Jul 2026 12:16:55 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64699#p64699</guid>
		</item>
		<item>
			<title><![CDATA[Re: Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64698#p64698</link>
			<description><![CDATA[<p>Try tlp-pd from backports, <a href="https://linrunner.de/tlp/faq/ppd.html" rel="nofollow">apparently</a> it provides the same dbus namespace as ppd, which is what kde is after to enable that applet.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 11 Jul 2026 12:04:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64698#p64698</guid>
		</item>
		<item>
			<title><![CDATA[Kde profiles with TLP]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=64697#p64697</link>
			<description><![CDATA[<p>Is that possible to make it work at Devuan with TLP? I heard TLP is better then power profiles daemon. </p><p><span class="postimg"><img src="https://i.imgur.com/fVPRzmT.png" alt="FluxBB bbcode test" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (patgaw)]]></author>
			<pubDate>Sat, 11 Jul 2026 11:34:39 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=64697#p64697</guid>
		</item>
	</channel>
</rss>
