temperature icon and cpu control in system tray

Forum rules
Before you post please read this

temperature icon and cpu control in system tray

Postby syeager on Thu Aug 12, 2010 1:11 am

Is there an app that will live in the system tray, one to display the system temperature and another to display the speed of the cpu and allow you to control the cpu speed/policy?
syeager
Level 1
Level 1
 
Posts: 14
Joined: Sat Aug 07, 2010 12:00 pm

Linux Mint is funded by ads and donations.
 

Re: temperature icon and cpu control in system tray

Postby mick55 on Thu Aug 12, 2010 1:44 am

syeager wrote:display the system temperature

You have to install lm-sensors. Open a terminal and run this command.

Code: Select all
sudo apt-get install lm-sensors

Next run "sensors-detect" and answer YES to all YES/no questions.
Then test the sensor output using the lm-sensors utility "sensors".
What you can monitor depends on what your motherboard supports and what lm-sensors found.
You may have to reboot at different stages of this process.
Lm-sensors can be tricky to configure correctly so be prepared to Google. :wink:

syeager wrote:display the speed of the cpu and allow you to control the cpu speed/policy?


Right click the panel,
select "add to panel",
select "CPU Frequency Scaling Monitor",
select "add"

(This is how it's done in Mint Main Gnome Edition, I don't know how it's done on
the Fluxbox Edition, but "CPU Frequency Scaling Monitor" is the name of the utility.)


mick
Things are more like they are now than they ever were before.

Dwight D. Eisenhower (1890 - 1969)
User avatar
mick55
Level 7
Level 7
 
Posts: 1507
Joined: Fri Sep 25, 2009 2:47 am

Re: temperature icon and cpu control in system tray

Postby syeager on Thu Aug 12, 2010 5:12 pm

lm-sensors is installed and sensors works. however, that does not give me a icon in the system tray to display temperature.

the gnome method will not work in fluxbox and with the new tint2 panel. i believe the tool you are using is an applet for the gnome toolbar/panel, not the system tray. any other thoughts?
syeager
Level 1
Level 1
 
Posts: 14
Joined: Sat Aug 07, 2010 12:00 pm

Re: temperature icon and cpu control in system tray

Postby syeager on Sat Aug 14, 2010 12:03 pm

I found gatotray, which is a nice tool to display both cpu temp, usage, and frequency. You can find it here:

http://www.icewalkers.com/Linux/Softwar ... otray.html

I had to install libgtk2.0-dev and I modified the background color to show a different color for whether I am at the slower or faster speed. It is working.

It should display the top processes, but that does not work. I also wanted to make the background transparent but I could not find a way to do that.

So, now how can I set the cpu speed policy? I want to add menu options to set the speed to max/min/auto or whatever?
syeager
Level 1
Level 1
 
Posts: 14
Joined: Sat Aug 07, 2010 12:00 pm

Re: temperature icon and cpu control in system tray

Postby MrCambron on Sat Sep 11, 2010 12:06 am

nice app ! thanks !

gatotray
1. download and extract (current is 1.10)
2. sudo apt-get install libgtk2.0-dev
3. cd gatotray
4. make
5. ./gatotray

but doesnt have hdd temp or any options
MrCambron
Level 1
Level 1
 
Posts: 10
Joined: Fri Sep 10, 2010 8:32 pm

Re: temperature icon and cpu control in system tray

Postby wasp on Sat Sep 11, 2010 2:07 am

I use conky :)
Attachments
Screenshot.png
Screenshot.png (136.47 KiB) Viewed 9814 times
wasp
Level 1
Level 1
 
Posts: 16
Joined: Fri Aug 06, 2010 5:43 pm

Re: temperature icon and cpu control in system tray

Postby MrCambron on Sat Sep 11, 2010 3:33 am

How you setup conky ?

i installed it from the repository
MrCambron
Level 1
Level 1
 
Posts: 10
Joined: Fri Sep 10, 2010 8:32 pm

Re: temperature icon and cpu control in system tray

Postby MrCambron on Sat Sep 11, 2010 4:14 am

oh ok , in terminal

conky [options]

man conky for info

create a custom conky setup
http://linuxowns.wordpress.com/2008/04/ ... nky-setup/

post your .conkyrc files
http://ubuntuforums.org/showthread.php?t=281865

conky way better , you jus saved my conky life
MrCambron
Level 1
Level 1
 
Posts: 10
Joined: Fri Sep 10, 2010 8:32 pm

Re: temperature icon and cpu control in system tray

Postby wasp on Sat Sep 11, 2010 8:40 am

To me it was just my .conkyrc

TEMP HD : ${hddtemp /dev/sda}
TEMP CPU: ${execi 3 sensors | grep "Core 0" | cut -d+ -f2 | cut -c1-2}
CPU FREQ: ${freq} MHz

and CPU

${font sans:bold:size=7}CPU: ${cpu cpu}% ${cpubar cpu}
wasp
Level 1
Level 1
 
Posts: 16
Joined: Fri Aug 06, 2010 5:43 pm

Re: temperature icon and cpu control in system tray

Postby MrCambron on Wed Sep 15, 2010 7:06 am

nice ima try that .conkyrc , way to many examples didnt work for me then I found out I should have installed the conky-all in software manager
MrCambron
Level 1
Level 1
 
Posts: 10
Joined: Fri Sep 10, 2010 8:32 pm

Re: temperature icon and cpu control in system tray

Postby jamvaru on Mon Feb 18, 2013 9:31 pm

please explain '.conkyrc'
thanks
jamvaru
Level 3
Level 3
 
Posts: 196
Joined: Thu Dec 15, 2011 11:53 pm

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 0 guests