# Thermald users -- \> little reminder

**URL:** <https://forum.endeavouros.com/t/thermald-users-little-reminder/7768>\
**Category:** Announcements and news\
**Created:** [September 6, 2020, 10:11am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768 "2020-09-06T10:11:45Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 10:11am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/1 "2020-09-06T10:11:45Z")

</div>

I just add some warning to our thermald WIKI:

> **WARNING:**
> 
> If thermald updates it will overwrite the file we do edit before, so we need to recreate the settings after each update or simple [chattr](https://man7.org/linux/man-pages/man1/chattr.1.html) it so that it can’t be changed on updates:
> 
> ```auto
> sudo chattr +i /usr/lib/systemd/system/thermald.service
> 
> ```
> 
> This will give you an warning on next update of thermald eventually, but better this then overheating on your hardware.
> 
> error: cannot remove file ‘/usr/lib/systemd/system/thermald.service’: Operation not permitted  
> (7/7) upgrading thermald [——————————–] 100%  
> warning: warning given when extracting /usr/lib/systemd/system/thermald.service (Could not unlink)

# if someone have a better solution, give it to me!

[https://endeavouros.com/docs/hardware-and-network/powersaving/cpu-frequency-scaling/](https://endeavouros.com/docs/hardware-and-network/powersaving/cpu-frequency-scaling/)

---

<div class="post-metadata">

**Author:** ![pebcak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pebcak/32/100472_2.png) [@pebcak](https://forum.endeavouros.com/u/pebcak)\
**Post date:** [September 6, 2020, 10:21am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/2 "2020-09-06T10:21:19Z")

</div>

How about copying it to **/etc/systemd/system** where it can override the “default” one?

---

<div class="post-metadata">

**Author:** ![inffy](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/inffy/32/8160_2.png) [@inffy](https://forum.endeavouros.com/u/inffy)\
**Post date:** [September 6, 2020, 10:25am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/3 "2020-09-06T10:25:37Z")

</div>

I would say this might be a far better solution than thermald

> **[GitHub - AdnanHodzic/auto-cpufreq: Automatic CPU speed & power optimizer...](https://github.com/AdnanHodzic/auto-cpufreq)**
>
> Automatic CPU speed & power optimizer for Linux. Contribute to AdnanHodzic/auto-cpufreq development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 10:26am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/4 "2020-09-06T10:26:53Z")

</div>

it is not in the repo … but I can mention it as an alternative to thermald sure.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 10:42am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/5 "2020-09-06T10:42:00Z")

</div>

`sudo cp /usr/lib/systemd/system/thermald.service /etc/systemd/system/`  
`sudo nano /etc/systemd/system/thermald.service`  
and change it to:

```auto
[Unit]
Description=Thermal Daemon Service
ConditionVirtualization=no

[Service]
Type=dbus
SuccessExitStatus=1
BusName=org.freedesktop.thermald
ExecStart=/usr/bin/thermald --systemd --dbus-enable --adaptive --ignore-cpuid-check

[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.thermald.service

```

e.g. adding `--ignore-cpuid-check` to ExecStart line  
is indeed the right solution!

thanks @pebcak ! makes your name honor again 😀

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [September 6, 2020, 10:42am UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/6 "2020-09-06T10:42:06Z")

</div>

@jonathon’s post:

> [@Emacs systemd service causes slow shutdown/reboot](https://forum.endeavouros.com/t/emacs-systemd-service-causes-slow-shutdown-reboot/6249/6):
>
> OK, it is emacs. The solution I had for Manjaro does not work here. Looking in to it. 2020-07-30 9:21 ➜ ~ ➜ emacsclient -e '(kill-emacs)' 2020-07-30 9:23 ➜ ~ took 1m 30s ➜ Above is the service files method of closing emacs, run from the command line - this is the problem!!

> [@Emacs systemd service causes slow shutdown/reboot](https://forum.endeavouros.com/t/emacs-systemd-service-causes-slow-shutdown-reboot/6249/8):
>
> Also remember that you can add overrides for services using `systemctl edit` , then you can add in just the specific changes, e.g.:
> 
> ```auto
> [Service]
> TimeoutStopSec=10
> 
> ```
> 
> This means the packaged service file isn’t changed and those changes won’t be lost when the package is upgraded.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 2:26pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/7 "2020-09-06T14:26:12Z")

</div>

> [@inffy](#):
>
> I would say this might be a far better solution than thermald

i do add this as alternative into the wiki entry!

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 2:32pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/8 "2020-09-06T14:32:49Z")

</div>

also a way to do it:

```auto
sudo systemctl edit thermald.service

```

that will create an override directory and file where you can putt your changed configuration

will look like this:  
`/etc/systemd/system/thermald.service.d/.#override.confc0d3c252f7819879`

i am still not sure what is the best way to do this, but both ways do work.

---

<div class="post-metadata">

**Author:** ![xircon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/xircon/32/9124_2.png) [@xircon](https://forum.endeavouros.com/u/xircon)\
**Post date:** [September 6, 2020, 9:20pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/9 "2020-09-06T21:20:56Z")

</div>

You asked, I replied. If you read the full post, I used chattr 🔨

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 9:34pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/10 "2020-09-06T21:34:15Z")

</div>

we both used the hammer 😉

---

<div class="post-metadata">

**Author:** ![Urworstnit3m3r](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/urworstnit3m3r/32/10899_2.png) [@Urworstnit3m3r](https://forum.endeavouros.com/u/Urworstnit3m3r)\
**Post date:** [September 6, 2020, 9:49pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/11 "2020-09-06T21:49:33Z")

</div>

One thing i saw in the wiki that should be corrected.

```auto
Not available on official Repository so needs to be builded from AUR:

```

builded should be built, on should probably be in as well.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 10:01pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/12 "2020-09-06T22:01:38Z")

</div>

![2020-09-07_00-01](https://forum.endeavouros.com/uploads/default/original/2X/d/df3b754efdedbd0d5bbadd12e179cb576dc95088.png)

---

<div class="post-metadata">

**Author:** ![Urworstnit3m3r](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/urworstnit3m3r/32/10899_2.png) [@Urworstnit3m3r](https://forum.endeavouros.com/u/Urworstnit3m3r)\
**Post date:** [September 6, 2020, 10:21pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/13 "2020-09-06T22:21:36Z")

</div>

I think there should probably also be an ‘it’ in there as well, perhaps like this?

```auto
Not available in the official repository so it needs to be built from AUR:

```

I also feel like there should be something after repository like a ‘;’ or a ‘,’ but I am not sure on that one. Perhaps someone else knows.

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/77608_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [September 6, 2020, 10:32pm UTC](https://forum.endeavouros.com/t/thermald-users-little-reminder/7768/14 "2020-09-06T22:32:45Z")

</div>

i am not a native speaker, and today i do read and write a lot, but seems legit to have a , there 🛌🏽
