I have installed endevour os i3 edition and I like it but i see the cpu temp widget is stuck at 32.8 C for some reason
I have tried running sudo sensors-detect
and I think the widget is getting the temperature from the wrong place. It says 32.0C but the actual CPU temp is around 40C when i ran sensors
#!/usr/bin/env perl
# Copyright 2014 Pierre Mavro <deimos@deimos.fr>
# Copyright 2014 Vivien Didelot <vivien@didelot.org>
# Copyright 2014 Andreas Guldstrand <andreas.guldstrand@gmail.com>
# Copyright 2014 Benjamin Chretien <chretien at lirmm dot fr>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Edited by Andreas Lindlbauer <endeavouros.mousily@aleeas.com>
This file has been truncated. show original
is the script we do offer for temperatures, it could be you need to edit this.
We do take it from here:
you may need to define the sensor-chip:
[CPU-temperature]
label=
command=~/.config/i3/scripts/temperature
interval=30
#T_WARN=70
#T_CRIT=90
SENSOR_CHIP="coretemp-isa-0000"
// example //
take the “sensor-Chip” from output of sensors:
Thanks for reporting i just add a hint inside the config:
committed 07:37PM - 03 Apr 21 UTC
#T_WARN=70
#T_CRIT=90
#SENSOR_CHIP=""
# where SENSOR_CHIP can be find with se… snors output
# can be used also for GPU temperature or other temperature sensors lm-sensors detects.
3 Likes
Pudge
April 3, 2021, 9:39pm
4
Welcome to the forums. Thanks for giving EndeavourOS a try. I hope you enjoy your time here.
One Topic and you have already made a contribution to EndeavourOS.
Pudge
4 Likes
Pudge:
Welcome to the forums.
yes also from my side forget to welcome you, and only pull you a bunch of informations
That seems to work I changed it to the sensors that is actually my cpu and now it is updating at the correct temperature. Thank you for your help
2 Likes