Linux Lite Forums

Customization => Desktop Customization => Topic started by: GregO on April 30, 2018, 12:58:11 PM

Title: Looking for specific Conky module
Post by: GregO on April 30, 2018, 12:58:11 PM
I have Conky Manager installed which comes with a predefined set of Conky themes. All of them seem to work with the exception of the Nvidia panel, and I'm wondering if I have to change its configuration within its file to make it work.


  (http://imgur.com/ULnBxf3l.png)
 (http://i.imgur.com/ULnBxf3.png)

I copied the file and this is what's there...

# **********************************************************************
# Simple theme for Conky by Tony George ([email protected])
#
# Webpage: http://teejeetech.blogspot.in/
# **********************************************************************

background yes
double_buffer yes

alignment bottom_left

border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no

gap_x 850
gap_y 40
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no

own_window yes
own_window_type normal
own_window_transparent yes
own_window_colour 000000
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

minimum_size 200 220

stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none

show_graph_scale no
show_graph_range no

use_xft yes
xftalpha 0.1
xftfont Droid Sans:size=10
override_utf8_locale yes
color0 white
color1 EAEAEA
color2 FFA300
color3 grey

TEXT
${color2}GPU Temp ${alignr}${color0}${nvidia temp} °C
${color2}Fan Speed ${alignr}${color0}${execi 5 nvidia-settings -q [fan:0]/GPUCurrentFanSpeed -t} %
${color2}GPU Clock ${alignr}${color0}${nvidia gpufreq} MHz
${color2}Mem Clock ${alignr}${color0}${nvidia memfreq} MHz
${color2}Mem Used ${alignr}${color0}${execi 5 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t} MiB
${image ./nvidia.png -p 0,90 -s 200x132}

I have other modules on my desktop, and I'd really like to have this one (or one like it) to monitor its statistics.
Title: Re: Looking for specific Conky module
Post by: GregO on April 30, 2018, 01:22:32 PM
Checked the read me...


  (http://imgur.com/a66VFF5l.png)
 (http://i.imgur.com/a66VFF5.png)
Title: Re: Looking for specific Conky module
Post by: GregO on May 01, 2018, 05:38:18 PM
Well it looks as if all of my hardware is Intel. Can anyone help me with getting a display for hardware temps and fan speeds.

I'd rather have a module on my desktop than using
Code: [Select]
watch sensors in a terminal. I do have Conky installed and I'm wondering if there's a script I can use and instructions on how to do it, or if use of Xsensors or Psensors would be the way to go.


  (http://imgur.com/X6lYwikl.png)
 (http://i.imgur.com/X6lYwik.png)
Title: Re: Looking for specific Conky module
Post by: GregO on May 04, 2018, 06:52:44 PM
Would I be able to use this...
https://www.zufallsheld.de/2013/09/03/my-conky-setup/

Or this...
https://ubuntuforums.org/showthread.php?t=2224695
Title: Re: Looking for specific Conky module
Post by: m654321 on May 04, 2018, 10:50:50 PM
@GregO
I notice you're using the ~/.conky/Gotham/Gotham (time/date/HD/RAM/CPU widget) on your desktop. Do you have a link for this, as I'd like to use it with LL.
Sorry I'm unable to answer the questions you asked in this thread.
Title: Re: Looking for specific Conky module
Post by: GregO on May 05, 2018, 08:07:47 AM
@GregO
I notice you're using the ~/.conky/Gotham/Gotham (time/date/HD/RAM/CPU widget) on your desktop. Do you have a link for this, as I'd like to use it with LL.
Sorry I'm unable to answer the questions you asked in this thread.

I installed Conky Manager from a ppa (from the following link I believe)...
http://www.teejeetech.in/p/conky-manager.html

Once you have Conky Manager installed you can locate it in the whisker menu and open it. Once it's opened, tick the widget and you will see a preview of it, and it should now be on your desktop.

This youtube upload covers installation and instructions for use...
https://www.youtube.com/watch?v=dM0_zyRWIy4

You can also get Gotham here...
https://www.opendesktop.org/search?projectSearchText=gotham

Hope this helps.
Title: Re: Looking for specific Conky module
Post by: trinidad on May 05, 2018, 09:43:07 AM
${color1}CPU Core0 Temp: ${color2}${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${color1}CPU Core1 Temp: ${color2}${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C

This is my code for a core 2 duo. First cpu is always 0. Run lmsensors first to find sensors.

TC
Title: Re: Looking for specific Conky module
Post by: GregO on May 05, 2018, 10:05:41 AM
${color1}CPU Core0 Temp: ${color2}${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${color1}CPU Core1 Temp: ${color2}${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C

This is my code for a core 2 duo. First cpu is always 0. Run lmsensors first to find sensors.

TC

Used your code and cleaned up CPU temps (thanks for that). Still need to fix GPU temp (which would have to be Intel rather than Nvidia) and fan speed.

I ran lm-sensors, sensors-detect, and hddtemp. I'm thinking if I get a different code compatible with my Intel GPU, it will all work.


  (http://imgur.com/Vo2yCYtl.png)
 (http://i.imgur.com/Vo2yCYt.png)

background no
font Sans:size=8
use_xft yes
xftalpha 0.9
update_interval 5.0
total_run_times 0
own_window yes
own_window_type normal
own_window_argb_visual no
own_window_argb_value 196
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 220 190
maximum_width 220
draw_shades yes
draw_outline no
draw_borders no
border_inner_margin 5
#border_inner_margin 20
draw_graph_borders yes
default_color CDE0E7
default_shade_color black
default_outline_color green
alignment top_left
gap_x 0
gap_y 90
no_buffers yes
uppercase no # set to yes if you want all text to be in uppercase
cpu_avg_samples 2
override_utf8_locale no

own_window_colour 000000
TEXT
${voffset 1} ${voffset -1}

${color white}SYSTEM ${hr 1}${color}
Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime

${color1}CPU Core0 Temp: ${color2}${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C
${color1}CPU Core1 Temp: ${color2}${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C

Fan 1: ${alignr}${hwmon 1 fan 1} RPM
Fan 2: ${alignr}${hwmon 1 fan 2} RPM

Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg

${color yellow}CPU LOAD ${hr 1}${color}
${color b0b000}CPU Frequency: ${alignr}${freq} MHz
CPU1 ${alignr}${cpu cpu1}%
${cpubar cpu1}
${cpugraph cpu1 000000 ffffff}
CPU2 ${alignr}${cpu cpu2}%
${cpubar cpu2}
${cpugraph cpu2 000000 ffffff}
CPU3 ${alignr}${cpu cpu3}%
${cpubar cpu3}
${cpugraph cpu3 000000 ffffff}
CPU4 ${alignr}${cpu cpu4}%
${cpubar cpu4}
${cpugraph cpu4 000000 ffffff}
${color b0b040}CPU All
${cpugraph cpu0 000000 ff0000}${color}

${color 30b030}RESOURCE USAGE ${hr 1}${color}
${color 30b030}RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
Title: Re: Looking for specific Conky module
Post by: GregO on May 05, 2018, 06:57:36 PM
Also, when I use
Code: [Select]
watch sensors a fan is detected, but I can't figure out how to make it work with the config.


  (http://imgur.com/WXa79YQl.png)
 (http://i.imgur.com/WXa79YQ.png)