Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: can psensor be installed

  1. #1

    Default can psensor be installed

    would like to get psensor if it can be install on opensuse the latest version if somebody know how to install it and can tell me the directions. if there is another program for CPU temps and GPU temps. I'm using XFCE.

    What do you guys use for temps gpu?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,531
    Blog Entries
    15

    Default Re: can psensor be installed

    Quote Originally Posted by wherewolf View Post
    would like to get psensor if it can be install on opensuse the latest version if somebody know how to install it and can tell me the directions. if there is another program for CPU temps and GPU temps. I'm using XFCE.

    What do you guys use for temps gpu?
    Hi
    I use conky... psensors is built by home users here: https://software.opensuse.org/package/psensor
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: can psensor be installed

    Thanks malcolmlewis I tried that link seems to be broken

    What conky do you use for that send me the link

  4. #4

    Default Re: can psensor be installed

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I use conky... psensors is built by home users here: https://software.opensuse.org/package/psensor

    can you help me with getting conky working please lua cario and nvidia please

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,531
    Blog Entries
    15

    Default Re: can psensor be installed

    Hi
    Here is a snippet of my nvidia one...
    Code:
    conky.config = {
       own_window = true,
       own_window_type = 'normal',
       own_window_transparent = false,
       own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
       own_window_colour = 'black',
       own_window_class = 'Conky',
       own_window_title = 'Simple Default Conky',
       own_window_argb_visual = true,
       own_window_argb_value = 0,
       double_buffer = true,
       background = true,
       draw_borders = false,
       draw_outline = false,
       minimum_width = 320, minimum_height = 5,
       maximum_width = 320,
       gap_x = 1346,
       gap_y = 68,
       font = 'Cantarell:size=10',
       default_color = '#DCDCDC',
       color0 = '#1793d0',
       color2 = 'green',
       color3 = '#FFFF00',
       color4 = '#FF6400',
       color5 = '#FF0000',
       use_xft = true,
       xftalpha = 0.8,
       override_utf8_locale = true,
       draw_shades = false,
       default_shade_color = 'black',
       draw_outline = false,
       uppercase = false
    }
    
    conky.text = [[
    ${color2}ENVIRONMENT ${voffset -3}${hr 1}${color}
    ${voffset 5}${color0}Motherboard${color}
    CPU Env Temperature [it87]:$alignr ${execi 30 sensors|grep "CPU Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    CPU Core Temperature [k10temp]:$alignr ${execi 30 sensors|grep "CPU Core Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    M/B Env Temperature [it87]:$alignr ${execi 30 sensors|grep "M/B Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    CPU FAN: $alignr ${execi 30 sensors|grep "CPU Fan"|cut -f2 -d":"| sed -e 's/^[ \t]*//'|cut -f1-2 -d " "| sed -e 's/^[ \t]*//'}
    CHASSIS FAN: $alignr ${execi 30 sensors|grep "Chassis Fan"|cut -f2 -d":"| sed -e 's/^[ \t]*//'|cut -f1-2 -d " "| sed -e 's/^[ \t]*//'}
    ${color0}Nvidia GPU${color}
    Graphics Clock${alignr}${execi 30 nvidia-settings -t -q [gpu:0]/GPUCurrentClockFreqs} MHz
    GPU Temperature:${alignr}${execi 30 nvidia-settings -t -q [thermalsensor:0]/ThermalSensorReading}.0 °C
    GPU Board Temperature:${alignr}${execi 30 nvidia-settings -t -q [thermalsensor:1]/ThermalSensorReading}.0 °C
    GPU Fan Speed:${alignr 2}${execi 30 nvidia-settings -t -q GPUCurrentFanSpeed}.0 %
    ${color0}Hard Drive(s)${color}
    WDC WD3200BEKX (sda):${alignr}${execi 30 cat /tmp/sda_smartdatatemp}.0 °C
    SEAGATE ST3500413AS (sdc):${alignr}${execi 30 cat /tmp/sdc_smartdatatemp}.0 °C
    ]]
    I have a very customized setup, maybe look online at http://crunchbang.org/forums/viewtopic.php?id=33811 for something that will meet your needs;

    This is my desktop in here https://forums.opensuse.org/showthre...ay-Screenshots

    Else what do you want to monitor?
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: can psensor be installed

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Here is a snippet of my nvidia one...
    Code:
    conky.config = {
       own_window = true,
       own_window_type = 'normal',
       own_window_transparent = false,
       own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
       own_window_colour = 'black',
       own_window_class = 'Conky',
       own_window_title = 'Simple Default Conky',
       own_window_argb_visual = true,
       own_window_argb_value = 0,
       double_buffer = true,
       background = true,
       draw_borders = false,
       draw_outline = false,
       minimum_width = 320, minimum_height = 5,
       maximum_width = 320,
       gap_x = 1346,
       gap_y = 68,
       font = 'Cantarell:size=10',
       default_color = '#DCDCDC',
       color0 = '#1793d0',
       color2 = 'green',
       color3 = '#FFFF00',
       color4 = '#FF6400',
       color5 = '#FF0000',
       use_xft = true,
       xftalpha = 0.8,
       override_utf8_locale = true,
       draw_shades = false,
       default_shade_color = 'black',
       draw_outline = false,
       uppercase = false
    }
    
    conky.text = [[
    ${color2}ENVIRONMENT ${voffset -3}${hr 1}${color}
    ${voffset 5}${color0}Motherboard${color}
    CPU Env Temperature [it87]:$alignr ${execi 30 sensors|grep "CPU Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    CPU Core Temperature [k10temp]:$alignr ${execi 30 sensors|grep "CPU Core Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    M/B Env Temperature [it87]:$alignr ${execi 30 sensors|grep "M/B Temp"|cut -f2 -d"+"|cut -f1 -d"°"|sed -e 's/^[ \t]*//'|cut -f1-2 -d " "} °C
    CPU FAN: $alignr ${execi 30 sensors|grep "CPU Fan"|cut -f2 -d":"| sed -e 's/^[ \t]*//'|cut -f1-2 -d " "| sed -e 's/^[ \t]*//'}
    CHASSIS FAN: $alignr ${execi 30 sensors|grep "Chassis Fan"|cut -f2 -d":"| sed -e 's/^[ \t]*//'|cut -f1-2 -d " "| sed -e 's/^[ \t]*//'}
    ${color0}Nvidia GPU${color}
    Graphics Clock${alignr}${execi 30 nvidia-settings -t -q [gpu:0]/GPUCurrentClockFreqs} MHz
    GPU Temperature:${alignr}${execi 30 nvidia-settings -t -q [thermalsensor:0]/ThermalSensorReading}.0 °C
    GPU Board Temperature:${alignr}${execi 30 nvidia-settings -t -q [thermalsensor:1]/ThermalSensorReading}.0 °C
    GPU Fan Speed:${alignr 2}${execi 30 nvidia-settings -t -q GPUCurrentFanSpeed}.0 %
    ${color0}Hard Drive(s)${color}
    WDC WD3200BEKX (sda):${alignr}${execi 30 cat /tmp/sda_smartdatatemp}.0 °C
    SEAGATE ST3500413AS (sdc):${alignr}${execi 30 cat /tmp/sdc_smartdatatemp}.0 °C
    ]]
    I have a very customized setup, maybe look online at http://crunchbang.org/forums/viewtopic.php?id=33811 for something that will meet your needs;

    This is my desktop in here https://forums.opensuse.org/showthre...ay-Screenshots

    Else what do you want to monitor?


    Sorry my bad malcolmlewis

    can you help me with installing the conky on openSUSE with lua and nvidia. The conky itself. I got a copule configs but lua wont work conky. How did you inst the conky-lua-cario-nvidia do i have to complie it or something tell me the steps please


    Thank you

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,531
    Blog Entries
    15

    Default Re: can psensor be installed

    On Sat 06 Aug 2016 07:36:01 PM CDT, wherewolf wrote:

    <snip>

    *can you help me with installing the conky on openSUSE with lua and
    nvidia. The conky itself. I got a copule configs but lua wont work
    conky. How did you inst the conky-lua-cario-nvidia do i have to complie
    it or something tell me the steps please


    Thank you


    Hi
    Ahh, install the conky version from packman for nvidia support built in,
    the rest of the lua/cario etc should be installed along with conky, no
    need for any compiling.

    I use the default conky, then just use nvidia-settings to get the info
    I need.

    DO you have a link to the configs your trying, the may be old ones and
    need converting to the new lua format, see my example.
    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  8. #8

    Default Re: can psensor be installed

    Thanks a million malcolmlewis

    I was starting it up wrong LOL I was trying to start it up as a bash or run file instead of starting it up as
    Code:
    conky -c
    All working great now

  9. #9

    Default Re: can psensor be installed

    Tried compiling psensor for thew hell of it anyway. Can you help me out what i'm missing or doing wrong Thank you

    i get this
    Code:
    tj@wolf:~/Downloads/psensor-1.1.5> sudo makemake  all-recursive
    make[1]: Entering directory '/home/tj/Downloads/psensor-1.1.5'
    Making all in doc
    make[2]: Entering directory '/home/tj/Downloads/psensor-1.1.5/doc'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/home/tj/Downloads/psensor-1.1.5/doc'
    Making all in po
    make[2]: Entering directory '/home/tj/Downloads/psensor-1.1.5/po'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/home/tj/Downloads/psensor-1.1.5/po'
    Making all in src
    make[2]: Entering directory '/home/tj/Downloads/psensor-1.1.5/src'
    Making all in lib
    make[3]: Entering directory '/home/tj/Downloads/psensor-1.1.5/src/lib'
    gcc -DHAVE_CONFIG_H -I. -I../..  -Wall -Werror        -g -O2 -MT hdd_hddtemp.o -MD -MP -MF .deps/hdd_hddtemp.Tpo -c -o hdd_hddtemp.o hdd_hddtemp.c
    In file included from ./hdd.h:23:0,
                     from hdd_hddtemp.c:37:
    ./psensor.h:22:29: fatal error: sensors/sensors.h: No such file or directory
     #include <sensors/sensors.h>
                                 ^
    compilation terminated.
    Makefile:444: recipe for target 'hdd_hddtemp.o' failed
    make[3]: *** [hdd_hddtemp.o] Error 1
    make[3]: Leaving directory '/home/tj/Downloads/psensor-1.1.5/src/lib'
    Makefile:623: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/tj/Downloads/psensor-1.1.5/src'
    Makefile:523: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/tj/Downloads/psensor-1.1.5'
    Makefile:422: recipe for target 'all' failed
    make: *** [all] Error 2

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,531
    Blog Entries
    15

    Default Re: can psensor be installed

    Hi
    Only build as your user, the only time you need to be root is for the install..... (running sudo is not needed), plus all you need to run is make in you build location, nothing else.

    OK, so your missing a development package is why you see that, since your error is occuring with hddtemp, more than likely the smart devel package is missing. In this case install libatasmart-devel.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •