You are not logged in.

#581 2017-05-29 13:23:24

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Hi Steve....  Nice tweaks .. TUX looks good there!

Now a couple of points.  100% MHO and suggestions.
1. - Yes, IMHO, you should show the code above TEXT as well, someone visiting the forums that isn't running that conky can benefit from it.
2. - While not 100% necessary, I recommend putting all conky calls inside ${} the curly-brackets. REASON: A few years back Mark Buck (kaivalagi of the conkyForecast fame) found that under certain conditions calls like $color $hr will cause the conky to fail.  I didn't document it - I really wish I had.
3. - Conky reads and displays a line for every line of code below TEXT (more if toy use a calendar, rss feeds etc.) And since the ${image} command positions the images they can go anywhere
- - a. - add them to the beginning or end of an existing line, you'll save conky two lines of screen space, at times this is very important.
- - b. - use them as they are but add and " \ " to the end of the lines above them .  \ is a line break and joins the line following to the line:

${hr}\
${image ~/Pictures/dark2.png -p -1,1 -s 215x595}\
${image ~/Pictures/blpenguin.png -p 50,400 -s 85x135}

4. - Conky reads and executes lines from top to bottom.  Your images get added as an after thought where they are.  May I suggest, and it's only a suggestion, like this:

TEXT
${image ~/Pictures/dark2.png -p -1,1 -s 215x595}\
${image ~/Pictures/blpenguin.png -p 50,400 -s 85x135}\
${color}${alignc}Bunsenlabs System Info
#${color}${alignc}$conky_build_arch
${nodename}-${sysname}${kernel}${machine}

Also, another suggestion, again, just a suggestion, images you want to use for conky have a directory dedicated for them OOTB on Bunsen:  ~/.config/conky/images/  Move your images there so they are all together. wink


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#582 2017-05-29 13:42:47

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

Thankyou sector11 for the tips, much appreciated.

I have re edited my post and edited my conky as per your recs.

Yet to move images to the conky location, will do that tommorow.

Cheers
Steve

Offline

#583 2017-05-29 14:20:23

searchone
Member
From: Walhalla
Registered: 2016-01-31
Posts: 107

Re: Show us your conky

Here is now my new Conky ... as far as OK, only with the weather forecast I'm still not quite satisfied!

conky_1a.th.png

# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 280 0  ### width | height
maximum_width 800

gap_x 40   ### left | right
gap_y 200   ### up | down

alignment tr
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monospace:bold:size=9
#xftfont Liberation Sans:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame  & Bunsen Grey
#default_color 929292 # Labs Grey
default_color FAFAFA # white
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
#######################  End Borders Section  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2
 
# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

#################  End Miscellaneous Section  ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1

TEXT
${execi 900 bash $HOME/1_accuweather/1_accuweather -f2016 -h2016}
${goto 80}${font Impact:size=40}${time %H} : ${font Impact:size=30}${time %M}
${goto 40}${font Impact:size=40}${time %a }${font Impact:size=30}${time %d }${voffset -13}${font Impact:size=40}${time %Y}${font}


${alignc}${exec lsb_release -d | cut -f 2| tr "[:upper:]" "[:lower:]"} 
${alignc}${kernel}

${font Verdana:size=12}${alignc}${swapbar 2,80}  Wetter  ${swapbar 2,80}${font}


${font Verdana:size=18}Temperatur: ${voffset -20}${font}\
${goto 200}${font Verdana:size=24}${execi 300 sed -n '2p' ~/1_accuweather/curr_cond} C${font}

${font Verdana:size=12}${execi 300 sed -n '4p' ~/1_accuweather/curr_cond}${alignr}UV: ${execi 300 sed -n '9p' ~/1_accuweather/curr_cond}
Wind: ${execi 300 sed -n '5p' ~/1_accuweather/curr_cond}${alignr}${execi 300 sed -n '6p' ~/1_accuweather/curr_cond}
Luft: ${execi 300 sed -n '8p' ~/1_accuweather/curr_cond}${alignr}${execi 300 sed -n '7p' ~/1_accuweather/curr_cond}${font}

${voffset 210}${font Verdana:size=12}${alignc}${swapbar 2,80} Vorschau ${swapbar 2,80}

${color5}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
${alignr}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}${color}
${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 20,640 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 220,640 -s 45x45}\
${execpi 300 sed -n '3p' /home/stefan/1_accuweather/first_days}\
${alignr 60}${execi 300 sed -n '8p' ~/1_accuweather/first_days}${font}

${font Verdana:size=10}${color5}
${goto 70}${execpi 300 sed -n '4p' /home/stefan/1_accuweather/first_days}\
${alignr}${execi 300 sed -n '9p' ~/1_accuweather/first_days}${font}${color}

${font Verdana:size=12}
${color5}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${alignr}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}${color}
${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 20,760 -s 45x45}\
${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 220,760 -s 45x45}\
${execi 300 sed -n '13p' ~/1_accuweather/first_days}\
${alignr 60}${execi 300 sed -n '18p' ~/1_accuweather/first_days}${font}

${font Verdana:size=10}${color5}
${goto 70}${execi 300 sed -n '14p' ~/1_accuweather/first_days}\
${alignr}${execi 300 sed -n '19p' ~/1_accuweather/first_days}${font}${color}

${image $HOME/1_accuweather/forecast_2016/forecast_0.png -p 30,300 -s 250x250}
${image $HOME/1_accuweather/forecast_2016/wind_0.png -p 100,690 -s 80x80}

English by Google - blame them, Ich bin Deutscher.

Offline

#584 2017-05-29 14:53:04

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Steve wrote:

Thankyou sector11 for the tips, much appreciated.

You're welcome.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#585 2017-05-29 15:11:39

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

searchone wrote:

Here is now my new Conky ... as far as OK, only with the weather forecast I'm still not quite satisfied!

not quite satisfied = a tweak in the future = adding to conky addiction!  ]:D

Do you remember this one from 2009: Image.  The tar.gz


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#586 2017-05-29 15:19:11

searchone
Member
From: Walhalla
Registered: 2016-01-31
Posts: 107

Re: Show us your conky

@Sector11:
But, of course, I remember ... it's still Great, Fantastic ... Amazing!


English by Google - blame them, Ich bin Deutscher.

Offline

#587 2017-05-29 16:25:04

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

cool


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#588 2017-05-30 12:15:24

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

This conky business is too much fun, "says with german can of beer in hand"!

Ok so i done figured out some more neat stuff. Due to my screen size well im just running out so lowering text size and taking out some attributes now.

Can conky make you want a bigger screen? wink

Figured out hdd temps and core temps thanks to sector11 and packrat, conky pit stop and many others im sure. I would like the core temps positioning to be a bit better to fit my conky, not sure how i would do that?

Screenshot-300517-220923.th.png

# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 200 0  ### width | height
maximum_width 200

gap_x 20    ### left | right
gap_y 35    ### up | down

alignment tr
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Cantarell:regular:size=9
#xftfont Liberation Sans:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame  & Bunsen Grey
#default_color 929292 # Labs Grey
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
#######################  End Borders Section  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
default_bar_size 200 5
#################  End Miscellaneous Section  ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1
TEXT
${image ~/.config/conky/images/dark2.png -p -1,1 -s 215x725}\
${image ~/.config/conky/images/bl-flame-ellipses-grey.png -p 60,350 -s 85x85}\
${color}${alignc}Bunsenlabs System Info
#${color}${alignc}$conky_build_arch
${nodename}-${sysname}${kernel}${machine}
${hr}
#Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
#UTC:${alignr}${utime %H:%M}
#${goto 60}Used${alignr}Size
$hr
Root - ${fs_used /}${alignr}${fs_size /}
$color0${fs_bar}$color 
RAM  - ${mem}${alignr}${memmax}
$color0${membar}$color
Swap - ${swap}${alignr}${swapmax}
$color0${swapbar}$color
CPU  - $cpu% ${alignr}$freq_g
$color0${cpubar}$color
Battery - ${battery_percent BAT1}%
$color0${battery_bar BAT1}$color
${font Cantarell:bold:size=8}$color${alignc}--Shortcut Keys
[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
[S] + Space${alignr}Main Menu
[S] + Tab${alignr}Client Menu
[S] + t${alignr}Terminal
[S] + f${alignr}File Manager
[S] + e${alignr}Editor
[S] + m${alignr}Media Player
[S] + w${alignr}Web Browser
[S] + h${alignr}Task Manager
[S] + l${alignr}Lock Screen
[S] + v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot
$hr
${font Cantarell:bold:size=8}HDD Temp: ${execi 10 hddtemp /dev/sda |cut -c30-40}
Cores:
C1:${if_match ${hwmon 1 temp 1}<=50}${color7}${else}${if_match ${hwmon 1 temp 1}<=70}${color8}${else}${if_match ${hwmon 1 temp 1}>70}${color9}${endif}${endif}${endif}${hwmon 1 temp 1}${offset 1}°C${color}|${offset 3}\
C2:${if_match ${hwmon 0 temp 2}<=50}${color7}${else}${if_match ${hwmon 0 temp 2}<=70}${color8}${else}${if_match ${hwmon 0 temp 2}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 2}${offset 2}°C${color}${offset 3}
C3:${if_match ${hwmon 0 temp 3}<=50}${color7}${else}${if_match ${hwmon 0 temp 3}<=70}${color8}${else}${if_match ${hwmon 0 temp 3}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 3}${offset 2}°C${color}${offset 3}|
C4:${if_match ${hwmon 0 temp 4}<=50}${color7}${else}${if_match ${hwmon 0 temp 4}<=70}${color8}${else}${if_match ${hwmon 0 temp 4}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 4}${offset 2}°C${color}${offset 3}|
C5:${if_match ${hwmon 0 temp 5}<=50}${color7}${else}${if_match ${hwmon 0 temp 5}<=70}${color8}${else}${if_match ${hwmon 0 temp 5}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 5}${offset 2}°C${color}${offset 3}
$hr
${font Cantarell:bold:size=8}${alignc}Network Status:
${font Cantarell:regular:size=7} Current Totals - Up ${totalup usb0} | Down$color ${totaldown usb0}
${font Cantarell:regular:size=7} Vnstat    -     Line    |   Transfer   |   Total
${goto 10}Today:${font Cantarell:regular:size=7} ${execi 300 vnstat | grep "today" | awk '{print $2 $3}'}${goto 95}${execi 300 vnstat | grep "today" | awk '{print $5 $6}'}${goto 145}${execi 300 vnstat | grep "today" | awk '{print $8 $9}'}
${goto 10}Yesterday:${execi 300 vnstat | grep "yesterday" | awk '{print $2 $3}'}${goto 90}${execi 300 vnstat | grep "yesterday" | awk '{print $5 $6}'}${goto 130}${execi 300 vnstat | grep "yesterday" | awk '{print $8 $9}'}
${goto 10}Week: ${execi 300 vnstat -w | grep "current week" | awk '{print $3 $4}'}${goto 140}${execi 300 vnstat -w | grep "current week" | awk '{print $6 $7}'}${goto 205}${execi 300 vnstat -w | grep "current week" | awk '{print $9 $10}'}
${goto 10}Month: ${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 140}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${goto 205}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}${font}

Offline

#589 2017-05-30 14:58:36

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Hey Steve, there are a few things you can do with your small screen.

1. Remove ",sticky" conky will only run on the desktop you start it on.  So you can run a different conky on each desktop.  Three desktops - startup script:

#!/bin/bash

killall conky

# Remove Sticky
# own_window_hints skip_taskbar,skip_pager,undecorated,below #,sticky

# Start with low sleep on highest desktop
# Increase sleep as desktop lowers to insure the conky is running before changing desktops.

wmctrl -s 2 && conky -c /path/to/desktop3/conky
sleep 5 && wmctrl -s 1 && conky -c /path/to/desktop2/conky
sleep 10 && wmctrl -s 0 && conky -c /path/to/desktop1/conky

There you have it 3 conkys on 3 different desktops.

So you decide they use to much in the wau of CPU  resources. OK lets change that conky on desktop3 to be in a window, start it, read it, close it.

In the conky: conky -c /path/to/desktop3/conky put ",sticky" back in and remove ",undecorated"

own_window_hints skip_taskbar,skip_pager,below,sticky #,undecorated

edit the start script:

#!/bin/bash

killall conky

# Remove Sticky
# own_window_hints skip_taskbar,skip_pager,undecorated,below #,sticky

# Start with low sleep on highest desktop
# Increase sleep as desktop lowers to insure the conky is running before changing desktops.

conky -c /path/to/desktop3/conky
sleep 5 && wmctrl -s 1 && conky -c /path/to/desktop2/conky
sleep 10 && wmctrl -s 0 && conky -c /path/to/desktop1/conky

now that conky will show in a window, like any other application, read it and close it.
2017-05-30_114607_Scrot11.th.png
If you want to read it again later in the day create a menu item in OpenBox to start it - read and close

Here's one I do not need all day long, nor every day and for the most part uses ${pre_exec ...} because most of vnstats data is historical and will not change - other than drop off the list in time.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#590 2017-05-30 15:02:40

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

I am on vacation and have bad weather at the moment ...

You could use the variables

${alignc}

for alignment in the middle or

${alignr}

for right-aligned alignment. Like this:

Cores:
C1:${if_match ${hwmon 1 temp 1}<=50}${color7}${else}${if_match ${hwmon 1 temp 1}<=70}${color8}${else}${if_match ${hwmon 1 temp 1}>70}${color9}${endif}${endif}${endif}${hwmon 1 temp 1}${alignr}${offset 1}°C${color}${offset 3}
C2:${if_match ${hwmon 0 temp 2}<=50}${color7}${else}${if_match ${hwmon 0 temp 2}<=70}${color8}${else}${if_match ${hwmon 0 temp 2}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 2}${alignr}${offset 2}°C${color}${offset 3}
C3:${if_match ${hwmon 0 temp 3}<=50}${color7}${else}${if_match ${hwmon 0 temp 3}<=70}${color8}${else}${if_match ${hwmon 0 temp 3}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 3}${alignr}${offset 2}°C${color}${offset 3}
C4:${if_match ${hwmon 0 temp 4}<=50}${color7}${else}${if_match ${hwmon 0 temp 4}<=70}${color8}${else}${if_match ${hwmon 0 temp 4}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 4}${alignr}${offset 2}°C${color}${offset 3}
C5:${if_match ${hwmon 0 temp 5}<=50}${color7}${else}${if_match ${hwmon 0 temp 5}<=70}${color8}${else}${if_match ${hwmon 0 temp 5}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 5}${alignr}${offset 2}°C${color}${offset 3}

wink

Offline

#591 2017-05-30 16:02:00

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Or put the 8 cores on 2 lines - I only get one temp so  ... but you'd only need to change to your ${hwmon} code:

First build a couple of hard coded lines to test the spacing ... select one and build to that.
Example is your font and size and conky width (I can 'just see it' if I strain my eyes) :

${hr}
${font Cantarell:bold:size=8}HDD Temp: ${execi 10 hddtemp /dev/sda |cut -c30-40}
Cores: Hardcoded Lines
${alignc}C1: 36${offset 1}°C   |   C2: 36${offset 1}°C   |   C3: 36${offset 1}°C   |   C4: 36${offset 1}°C
${alignc}C1: 36${offset 1}°C  |  C2: 36${offset 1}°C  |  C3: 36${offset 1}°C  |  C4: 36${offset 1}°C
${alignc}C1: 36${offset 1}°C | C2: 36${offset 1}°C | C3: 36${offset 1}°C | C4: 36${offset 1}°C

selected hard coded line:
${alignc}C1: 36${offset 1}°C  |  C2: 36${offset 1}°C  |  C3: 36${offset 1}°C  |  C4: 36${offset 1}°C
${alignc}C1: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C2: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C3: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C4: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C
build the next line:
${alignc}C5: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C6: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C7: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C  |  \
C8: ${if_match ${platform f71882fg.2560 temp 2}<=50}${color7}${else}\
${if_match ${platform f71882fg.2560 temp 2}<=70}${color8}${else}\
${if_match ${platform f71882fg.2560 temp 2}>70}${color9}${endif}${endif}${endif}\
${platform f71882fg.2560 temp 2}${offset 1}${color}°C

${color9}${swapbar 0}${color}

save space:
2017-05-30_125549_Scrot11.th.png


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#592 2017-05-30 17:00:20

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

hddtemp no longer needs the execi or cut commands

${execi 10 hddtemp /dev/sda |cut -c30-40}

do this:

Crinos512 wrote:
 $ sudo chmod u+s /usr/sbin/hddtemp

Reconfigure hddtemp:

 $ sudo dpkg-reconfigure hddtemp

Answers: No, 0, Yes, OK, OK

Now to use in conky if you only have one HDD all you 'need' is:

${hddtemp}°

If you have two or more HDD's you need to identify them:

${hddtemp /dev/sda}°
${hddtemp /dev/sdb}°

while in the terminal it still gets full info:

 30 May 17 @ 13:09:22 ~
   $ hddtemp /dev/sda
/dev/sda: WDC WD5000AAKX-22ERMA0: 34°C
 
 30 May 17 @ 13:09:23 ~
   $ 

hddtemp is a natural conky command.

hddtemp (dev)
    Displays  temperature  of a selected hard disk drive as reported by the hddtemp daemon. Use hddtemp_host and hddtemp_port to specify a host and port for all hddtemp objects. If no  dev  parameter is given, the first disk returned by the hddtemp daemon is used.

What they don't tell you is it has to be setup right right.
Thanks Crinos515


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#593 2017-05-30 18:49:03

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

It's best with Icewea a mono font ... reason: Spacing! and soooooooo easy to change font size to see it.

I can't read this without straining my eyes ... it's an age thing:
2017-05-30_151909_Scrot11.th.png

going from size=8 to size=10 - is a little better I can at least read it ... but real comfortable :
2017-05-30_151909_Scrot11.th.png

and from 10 to 11:
2017-05-30_153608_Scrot11.th.png
Ahhhhhhhhhhh that's better!

The conky:

## pkill -xf "conky -c ~/.config/conky/BL-S11-AMD64.Nvidia.conkyrc" &
## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,below,undecorated,sticky
own_window_colour 000000
own_window_class Conky
own_window_title BL-S11-AMD64.Nvidia
#own_window_argb_visual yes
#own_window_argb_value 80

#minimum_size 300 0
#maximum_width 300

gap_x 10	## l|r
gap_y 10	## u|d

minimum_size 210 0
maximum_width 0

alignment tr

## ---------- End Window Settings
## ---------- Font Settings

## Force UTF8? requires XFT
override_utf8_locale yes

use_xft yes
xftfont Fira Mono:bold:size=11
xftalpha 1.0

## --------- End Font Settings
## --------- Color Settings

draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed

## ---------- End Color Settings
## ---------- Begin Borders Section

draw_borders no
stippled_borders 5
border_inner_margin 0
border_outer_margin 0
border_width 2
draw_graph_borders yes

## ---------- End Borders Secton
## ---------- Begin Miscellaneous Section

background no
use_spacer none
no_buffers yes
short_units yes
imlib_cache_size 0
#imlib_cache_flush_interval 900
double_buffer yes
#temperature_unit Fahrenheit

update_interval 1
TEXT
${image ~/.config/conky/images/bl-flame-ellipses-grey.png -p 0,0 -s 117x150}\
${alignc}${color0}${time %T %a %d %b %Y - Week %U}
${alignc}Boot:${color} ${pre_exec who -b | cut -c23-} ${color0}Up:${color} ${uptime_short}
${alignc}${color0}UTC:${color} ${utime %H:%M} ${color0}${execi 10 ~/.config/conky/scripts/swatch.sh}${color}

${alignc}${color0}CPU Avg${color} ${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
 | ${color0}1${color} ${if_match ${cpu cpu1}<10}${color0}  ${color}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color0} ${color}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}%\
 | ${color0}2${color} ${if_match ${cpu cpu2}<10}${color0}  ${color}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color0} ${color}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}%\
 | ${color0}3${color} ${if_match ${cpu cpu3}<10}${color0}  ${color}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color0} ${color}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}%
${alignc}${color0}CPU 3200 MHz\
 | 1 ${color}${if_match ${freq 1}<1000} ${freq 1}${else}${freq 1}${endif}\
 ${color0}| 2 ${color}${if_match ${freq 2}<1000} ${freq 2}${else}${freq 2}${endif}\
 ${color0}| 3 ${color}${if_match ${freq 3}<1000} ${freq 3}${else}${freq 3}${endif}
${alignc}Temperatures
${alignc}${color0}CPU${color} ${platform f71882fg.2560 temp 2}${color0}°${color}\
 ${color0}| M|B${color} ${execpi 5 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}${color0}°${color}\
 ${color0}| SDA${color} ${hddtemp}${color0}°${color}\
 ${color0}| GPU${color} ${nvidia temp}${color0}°${color}

${alignc}${color0}OS${color} ${pre_exec lsb_release -is} ${color0}Version ${color}${pre_exec cat /etc/debian_version}
${alignc}${color0}WM${color} ${pre_exec env | grep DESKTOP_SESSION= |cut -c 17-} ${color0}Display ${color}${pre_exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${alignc}${color0} Conky${color} v${conky_version}

And swatch.sh:

#!/bin/bash

# beats - swatch time
# by brontosaurusrex - https://forums.bunsenlabs.org/viewtopic.php?pid=39518#p39518
# http://www.timeanddate.com/time/internettime.html
# https://www.swatch.com/en/internettime/
# https://en.wikipedia.org/wiki/Swatch_Internet_Time#Calculation_from_UTC.2B1

# required
command -v bc >/dev/null 2>&1 || { echo "I need bc" ; exit 1; }

# UTC to variables
export TZ=GMT-1 # Not sure why is this minus and not plus
read h m s <<<$(date "+%H %M %S")

# echo $h $m $s

# (UTC+1seconds + (UTC+1minutes * 60) + (UTC+1hours * 3600)) / 86.4
# btw: beats smaller than one are not in the standard
# bc is "rounding down", which seems to be the correct way in this case

# h=23
# m=59
# s=59

beats=$(bc -l <<< "scale=0; ($s + ($m * 60) + (($h) * 3600)) / 86.4")
echo "@$beats"

... and the beat goes on thanks to: brontosaurusrex


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#594 2017-05-31 10:02:45

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

Good afternoon fellow Lab technicians.

Thankyou so much for all the help Sector11 and unklar.

While not the best of solutions in my way of ordering the conky (definetly not yours) i have managed to position the core temps the best way i can. Ive taken note of your suggestion for vnstat sector11 and will work on that some more.

Here is where i am so far, i decided to ditch the rounded corner background for max hight from tint2 to bottom of screen.

Many great tips and tweaks, cheers.

Screenshot-310517-194922.th.png

# For commands above TEXT check:
# http://conky.sourceforge.net/config_settings.html
#
# For commands available below TEXT check:
# http://conky.sourceforge.net/variables.html

# Bunsen Labs Conky help threads
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

# beta tested by: smacz
# Enjoy! :)

# pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" &
###  Begin Window Settings  #####################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Bunsen Labs Default Conky

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes # Options: yes or no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 50

minimum_size 200 0  ### width | height
maximum_width 200

gap_x 5    ### left | right
gap_y 36   ### up | down

alignment tr
#######################  End Window Settings  ###
###  Font Settings  #############################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Cantarell:regular:size=9
#xftfont Liberation Sans:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
#########################  End Font Settings  ###
###  Colour Settings  ###########################
draw_shades no #yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 656667 # Waldorf original colour
#default_color 7a7a7a # Flame  & Bunsen Grey
#default_color 929292 # Labs Grey
default_color C0C0C0 # Silver
color0 B0E0E6 # PowderBlue
color1 778899 # LightSlateGray
color2 D8BFD8 # Thistle
color3 9ACD32 # YellowGreen
color4 FFA07A # LightSalmon
color5 FFDEAD # NavajoWhite
color6 00BFFF # DeepSkyBlue
color7 5F9EA0 # CadetBlue
color8 BDB76B # DarkKhaki
color9 CD5C5C # IndianRed
#######################  End Colour Settings  ###
###  Borders Section  ###########################
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders yes #no
#default_graph_size 15 40
#######################  End Borders Section  ###
###  Miscellaneous Section  #####################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 6144

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

# Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
# $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit
default_bar_size 200 5
#################  End Miscellaneous Section  ###
#### ${font Monospace:bold:size=10}${alignc}${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh}
update_interval 1
TEXT
${image ~/.config/conky/images/dark3.png -p  -1,-10 -s 215x815}\
${image ~/.config/conky/images/bl-flame-ellipses-grey.png -p 60,365 -s 85x85}\
${font Cantarell:bold:size=10}${color}${alignc}Bunsen${font Cantarell:regular:size=10}labs - Sys Info ${font}\

#${color}${alignc}$conky_build_arch
${alignc}${nodename} - ${sysname} -
${alignc}${kernel}${machine}
${hr}
#Host:${alignr}${nodename}
Uptime:${alignr}${uptime}
#UTC:${alignr}${utime %H:%M}
#${goto 60}Used${alignr}Size
$hr
Root - ${fs_used /}${alignr}${fs_size /}
$color0${fs_bar}$color 
RAM  - ${mem}${alignr}${memmax}
$color0${membar}$color
Swap - ${swap}${alignr}${swapmax}
$color0${swapbar}$color
CPU  - $cpu% ${alignr}$freq_g
$color0${cpubar}$color
Battery - ${battery_percent BAT1}%
$color0${battery_bar BAT1}$color
${font Cantarell:bold:size=10}$color${alignc}${alignc}${cpubar cpu4 0,65} Shortcuts ${cpubar cpu4 0,65}\
${font Cantarell:regular:size=9}\
[Alt] + F2${alignr}Run Dialog
[Alt] + F3${alignr}Alt Menu
[S] + Space${alignr}Main Menu
[S] + Tab${alignr}Client Menu
[S] + t${alignr}Terminal
[S] + f${alignr}File Manager
[S] + e${alignr}Editor
[S] + m${alignr}Media Player
[S] + w${alignr}Web Browser
[S] + h${alignr}Task Manager
[S] + l${alignr}Lock Screen
[S] + v${alignr}Volume Control
[S] + x${alignr}Logout
[PrtSc]${alignr}Screenshot
$hr
${alignc}${font Cantarell:bold:size=9}HDD Temp: ${hddtemp}°
${alignc}${cpubar cpu4 0,65} Core Temps ${cpubar cpu4 0,65}
${font Cantarell:regular:size=9}${alignc}C1:${if_match ${hwmon 1 temp 1}<=50}${color7}${else}${if_match ${hwmon 1 temp 1}<=70}${color8}${else}${if_match ${hwmon 1 temp 1}>70}${color9}${endif}${endif}${endif}${hwmon 1 temp 1}${offset 1}°C${color} | ${offset 3}\
C2:${if_match ${hwmon 0 temp 2}<=50}${color7}${else}${if_match ${hwmon 0 temp 2}<=70}${color8}${else}${if_match ${hwmon 0 temp 2}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 2}${offset 2}°C${color}${offset 3} 
${alignc}C3:${if_match ${hwmon 0 temp 3}<=50}${color7}${else}${if_match ${hwmon 0 temp 3}<=70}${color8}${else}${if_match ${hwmon 0 temp 3}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 3}${offset 2}°C${color}${offset 3} | C4:${if_match ${hwmon 0 temp 4}<=50}${color7}${else}${if_match ${hwmon 0 temp 4}<=70}${color8}${else}${if_match ${hwmon 0 temp 4}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 4}${offset 2}°C${color}${offset 3} | C5:${if_match ${hwmon 0 temp 5}<=50}${color7}${else}${if_match ${hwmon 0 temp 5}<=70}${color8}${else}${if_match ${hwmon 0 temp 5}>70}${color9}${endif}${endif}${endif}${hwmon 0 temp 5}${offset 2}°C${color}${offset 3}
$hr
${font Cantarell:bold:size=9}${alignc}Network Status:
${alignc}${font Cantarell:regular:size=9}Totals - Up ${totalup usb0} | Down$color ${totaldown usb0}
${font}

One thing im curious about is that hwmon reports 5 cores, im not reall sure but i remember reading somewhere that my I7 intel core is really just an I5 with some sort of cpu sorcery, so is that why i only report 5 cores?

sc@debian:~$ ls /sys/class/hwmon/hwmon1/
device@     temp1_auto_point1_pwm	 temp1_crit_hyst       temp1_max
name	    temp1_auto_point1_temp	 temp1_emergency       temp1_max_hyst
power/	    temp1_auto_point1_temp_hyst  temp1_emergency_hyst  uevent
subsystem@  temp1_crit			 temp1_input	       update_rate
sc@debian:~$ ls /sys/class/hwmon/hwmon0/
device@     temp2_crit_alarm  temp3_crit_alarm	temp4_crit_alarm  temp5_crit_alarm
name	    temp2_input       temp3_input	temp4_input	  temp5_input
power/	    temp2_label       temp3_label	temp4_label	  temp5_label
subsystem@  temp2_max	      temp3_max		temp4_max	  temp5_max
temp2_crit  temp3_crit	      temp4_crit	temp5_crit	  uevent

Last edited by Steve (2017-05-31 10:04:18)

Offline

#595 2017-05-31 13:56:52

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

steve wrote:

in my way of ordering the conky (definetly not yours)

And that's the key.  No matter what anyone says, myself included, "how" you do things in Conky is personal.  Do it your way.  Just beware of errors and wrong commands etc.

You are showing the contents of the hwmon directories and there is nothing there that says those are "Core" temps.  Please show the output of:

sensors && echo && inxi -s

I'm going to bet that 4 of those are core temps the other is the motherboard temp.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#596 2017-06-01 08:04:46

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

Sorry for the delay in replying Sector11.

So looks like 4 cpu cores and 1 gpu core?

sc@debian:~$ sensors && echo && inxi -s
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +47.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:       +47.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:       +51.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:       +48.0°C  (high = +84.0°C, crit = +100.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:        +40.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)


Sensors:   System Temperatures: cpu: 47.0C mobo: N/A gpu: 40.0 
           Fan Speeds (in rpm): cpu: N/A 

Offline

#597 2017-06-01 12:50:10

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

Yup, - a quad core, one more inxi command I'd like to see:

inxi -CG

Thanks.

BTW:
Core0 = ${cpu cpu1}
Core1 = ${cpu cpu2}
Core2 = ${cpu cpu3}
Core3 = ${cpu cpu4}

${cpu} or ${cpu cpu0} will be the Total (average) od the 4 cores.

GPU you will have to get by other means ... if it's like mine:  ${nvidia temp}°

Strike that:  nouveau driver


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#598 2017-06-01 13:01:52

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

Thats a nice command from Inxi. Im not all that cluey on hardware specs, but from reading a little the i7 is hyper threaded, uses 2 threads per core?

CPU:       Quad core Intel Core i7 Q 740 (-HT-MCP-) cache: 6144 KB 
           Clock Speeds: 1: 933 MHz 2: 933 MHz 3: 933 MHz 4: 1734 MHz 5: 933 MHz 6: 933 MHz
           7: 933 MHz 8: 1066 MHz
Graphics:  Card: NVIDIA GT216M [GeForce GT 330M]
           Display Server: X.Org 1.16.4 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Gallium 0.4 on NVA5 GLX Version: 3.0 Mesa 10.3.2

Offline

#599 2017-06-01 14:18:04

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

@ steve

I have all of the inxi commands as aliases.  Check the man page:

man inxi

From your output you can do:

${cpu cpu1} ${cpu cpu2} ${cpu cpu3} ${cpu cpu4}
${cpu cpu5} ${cpu cpu6} ${cpu cpu7} ${cpu cpu8}

and ${cpu} or ${cpu cpu0} for the total or average

and ${freq 1} to ${freq 8} for MHz as well. ( or ${freq_q} for GHz )

You only get 4 temps because you only have 4 physical cores.

Looks like you'll need to grep the sensors info for your GPU - Unless you want to grab the nvidia drivers for your machine.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#600 2017-06-02 10:29:48

Steve
Member
Registered: 2017-01-03
Posts: 642

Re: Show us your conky

Thanks again Sector11, ill keep that in mind. Cheers.

Offline

Board footer

Powered by FluxBB