You are not logged in.

#501 2017-04-16 17:40:05

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

Sector11 wrote:

Does ${freq_g 0} ${freq_g 1} ${freq_g 2} ... to ... ${freq_g 7} ${freq_g 8} work as well?

Yes

Sector11 wrote:

In a terminal what does:  inxi -s  - tell you?

sensors && inxi -s
(I am wondering what "Physical id 0:" is)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +106.0°C)
temp2:        +29.8°C  (crit = +106.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +34.0°C  (high = +85.0°C, crit = +105.0°C)
Core 0:         +29.0°C  (high = +85.0°C, crit = +105.0°C)
Core 1:         +27.0°C  (high = +85.0°C, crit = +105.0°C)
Core 2:         +30.0°C  (high = +85.0°C, crit = +105.0°C)
Core 3:         +28.0°C  (high = +85.0°C, crit = +105.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1:        +32.0°C  (crit = +120.0°C, hyst = +90.0°C)

Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 32.0 
           Fan Speeds (in rpm): cpu: N/A 

Current conky file

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
# 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

### 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

### 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 150

minimum_size 260 900	## w|h
maximum_width 260		## w

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

alignment tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont monofur:bold:size=10
#xftfont Sans Mono:size=9
#xftfont Liberation Mono:bold:size=9
#xftfont Fantasque Sans Mono:bold:size=10
#xftfont Fira Mono:bold:size=8.5

# 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  ###
###  Color Settings  #########################################################
draw_shades no #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color 0078B5 # 
default_color 00c2ff # 
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed  #FF0000 #255   0   0	Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  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 512

# 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

# 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

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

top_name_width 6

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or it blinks.
##
# lua_load ~/wea_conky/draw_bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
##
## OR Both above TEXT (No composite manager required - no blinking!)
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg 10 0 0 0 0 0xffffff 0.1
#
# TEXT
#
#######################################################  End LUA Settings  ###
# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1



## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©

TEXT
┌─ Time
│${goto 26}├─ Local ${goto 110}${time %I:%M %p}
#│${goto 26}├─ UTC ${goto 110}${utime %H:%M}
│${goto 26}├─ Boot${goto 110}${exec who -b | cut -c23-}
│${goto 26}└─ Uptime${goto 110}${uptime}
│
├─ System
│${goto 26}├─ OS${goto 110}${pre_exec lsb_release -is} ${pre_exec lsb_release -rs}
│${goto 26}├─ Kernel ${goto 110}${kernel}
│${goto 26}└─ Machine${goto 110}${machine}
│
├─ Memory
│${goto 26}├─ Total${goto 110}${memmax}
│${goto 26}├─ In Use${goto 110}${mem} (${memperc}%)
│${goto 26}├─ Free${goto 110}${memfree}
│${goto 26}├─ Up to${goto 110}${memeasyfree} easy free
# swap is never used so just going to hide it
#│${goto 26}├─ Swap
#│${goto 26}│${goto 45}├─ Total${goto 110}${swapmax}
#│${goto 26}│${goto 45}├─ Used${goto 110}${swap} ${swapperc}%
#│${goto 26}│${goto 45}└─ Free${goto 110}${swapfree}
│${goto 26}├─ Ram${goto 110}${memperc}%
│${goto 26}└─ LoadAvg${goto 110}${loadavg}
│
├─ CPU Status${goto 110}Temp: ${platform coretemp.0 Physical 0}° # This doesn't actually work..need to fix
│${goto 26}├─ CPU 0${goto 110}${cpu cpu0}%${goto 155}@ ${freq_g 0}GHz
│${goto 26}├─ CPU 1${goto 110}${cpu cpu1}%${goto 155}@ ${freq_g 1}GHz
│${goto 26}├─ CPU 2${goto 110}${cpu cpu2}%${goto 155}@ ${freq_g 2}GHz
│${goto 26}├─ CPU 3${goto 110}${cpu cpu3}%${goto 155}@ ${freq_g 3}GHz
│${goto 26}├─ CPU 4${goto 110}${cpu cpu4}%${goto 155}@ ${freq_g 4}GHz
│${goto 26}├─ CPU 5${goto 110}${cpu cpu5}%${goto 155}@ ${freq_g 5}GHz
│${goto 26}├─ CPU 6${goto 110}${cpu cpu6}%${goto 155}@ ${freq_g 6}GHz
│${goto 26}├─ CPU 7${goto 110}${cpu cpu7}%${goto 155}@ ${freq_g 7}GHz
│${goto 26}└─ CPU 8${goto 110}${cpu cpu8}%${goto 155}@ ${freq_g 8}GHz
│
├─ Sensors
│${goto 26}├─ CPU${goto 110}${platform coretemp.0 core 2}° # This sensor still needs fixed
# Removed since fan speed is not show anywhere
# ${goto 26}├─ CPU Fan${goto 110}${platform coretemp.0 fan 1} RPM
│${goto 26}├─ M|B${goto 110}${execi 15 sensors acpitz-virtual-0 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│${goto 26}├─ SDA${goto 110}${hddtemp /dev/sda}° # For some reason does not want to work
│${goto 26}└─ GPU${goto 110}${execi 15 sensors radeon-pci-0100 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}°
│
├─ HDD Status
│${goto 26}├─ Disk${goto 110}${execi 30 inxi -D |grep 'Size'| cut -c35-55}
│${goto 26}├─ Diskio ${goto 110}${diskio}
│${goto 26}│${goto 45}├─ Read${goto 110}${diskio_read}
│${goto 26}│${goto 45}└─ Write${goto 110}${diskio_write}
│${goto 26}├─ /${goto 110}${fs_free /}${goto 170}/ ${fs_size /}
│${goto 26}├─ /home${goto 110}${fs_free /home}${goto 170}/ ${fs_size /home}
│${goto 26}├─ /SECOND${goto 110}${fs_free /media/mih/SECOND/}${goto 170}/ ${fs_size /media/mih/SECOND/}
│${goto 26}└─ /EXT${goto 110}${fs_free /media/mih/My\ Book/}${goto 170}/ ${fs_size /media/mih/My\ Book/}
│
├─ Processes
│${goto 26}├─ Total${goto 110}${processes}
│${goto 26}├─ Running${goto 110}${running_processes}
│${goto 26}│
│${goto 26}├─ CPU
│${goto 26}│${goto 45}├─ ${top name 1}${goto 110}${top cpu 1}${top mem 1}
│${goto 26}│${goto 45}├─ ${top name 2}${goto 110}${top cpu 2}${top mem 2}
│${goto 26}│${goto 45}└─ ${top name 3}${goto 110}${top cpu 3}${top mem 3}
│${goto 26}│
│${goto 26}└─ MEM
│${goto 45}├─ ${top_mem name 1}${goto 110}${top_mem cpu 1}${top_mem mem 1}
│${goto 45}├─ ${top_mem name 2}${goto 110}${top_mem cpu 2}${top_mem mem 2}
│${goto 45}└─ ${top_mem name 3}${goto 110}${top_mem cpu 3}${top_mem mem 3}
│
└─ Net
${goto 26}├─ eth0${goto 110}${addr}
${goto 26}├─ Up
${goto 26}│${goto 45}├─ Speed${goto 110}${upspeed eth0}
${goto 26}│${goto 45}└─ Total${goto 110}${totalup eth0}
${goto 26}│
${goto 26}└─ Down
${goto 45}├─ Speed${goto 110}${downspeed eth0}
${goto 45}└─ Total${goto 110}${totaldown eth0}

Offline

#502 2017-04-16 18:28:28

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

miharkula wrote:
Sector11 wrote:

Does ${freq_g 0} ${freq_g 1} ${freq_g 2} ... to ... ${freq_g 7} ${freq_g 8} work as well?

Yes

Well, you can use those as well.  That's good.

miharkula wrote:

sensors && inxi -s
(I am wondering what "Physical id 0:" is)

Yea, something seems screwy here. This says that it's the CPU - but your output of sensors and inxi don't match that.

sudo apt-get install psensor

and in a terminal:

psensor & exit

See if that sheds any light on the subject.  Mine


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#503 2017-04-16 19:39:56

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

psensors shows the same as sensors does plus info on 2 of the hard drives.

Offline

#504 2017-04-16 21:24:23

Sun For Miles
Member
Registered: 2017-04-12
Posts: 150

Re: Show us your conky

Afer some tinkering here is the final result:

conky-SunForMiles.th.png

.conkyrc

#=============================================================================================
#                                SunForMiles.conkyrc
# Date    : 15 April 2017
# Author  : Sun For Miles
# Version : v0.3
# License : Distributed under the terms of GNU GPL version 2 or later
# 
# This version is a modification of conkyrc_seamod, which is modification of conkyrc_lunatico,
# which is modification of conkyrc_orange
# 
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
# conkyrc_seamod:    http://custom-linux.deviantart.com/art/Conky-Seamod-v0-1-283461046
#=============================================================================================

background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 20
gap_y 20
minimum_size 150 600
maximum_width 300
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 C9621D
# Green, in case you like this one better
color5 77B753

# Loading lua script for drawning rings
lua_load ~/.config/conky/LUA/sun_rings.lua
lua_draw_hook_post main


# CPU
TEXT
${voffset 80}
${offset 15}${font Ubuntu:size=10,weight:bold}${color2}${alignr}${voffset 20}CPU
# Showing TOP 5 CPU-consumers
${offset 100}${font Ubuntu:size=10,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 100}${font Ubuntu:size=10,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 100}${font Ubuntu:size=10,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 100}${font Ubuntu:size=10,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 100}${font Ubuntu:size=10,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%
# Showing CPU Graph
${voffset 5}${offset 100}${cpugraph 20,193 666666 C9621D}

#Showing memory part with TOP 5
${voffset 40}
#${goto 140}${font Ubuntu:size=8,weight:normal}${memmax}
${offset 90}${font Ubuntu:size=10,weight:bold}${color2}${alignr}MEM
${offset 100}${font Ubuntu:size=10,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem_res 1}
${offset 100}${font Ubuntu:size=10,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem_res 2}
${offset 100}${font Ubuntu:size=10,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem_res 3}
${offset 100}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem_res 4}
${offset 100}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem_res 5}

# Network data 
${voffset 20}
${offset 90}${font Ubuntu:size=10,weight:bold}${color2}${alignr}NET
${offset 100}${color2}${font Ubuntu:size=9,weight:normal}u/l: ${color4}${upspeed wlan0}${color2}${alignr}${totalup wlan0} total
${offset 100}${upspeedgraph wlan0 20,193 666666 C9621D -l}
${offset 100}${color2}${font Ubuntu:size=9,weight:normal}d/l: ${color4}${downspeed wlan0}${color2}${alignr}${totaldown wlan0} total
${offset 100}${downspeedgraph wlan0 20,193 666666 C9621D -l}

# End

sun_rings.lua

--==============================================================================
--                            sun_rings.lua
--
--  Date    : 15 April 2017
--  Author  : Sun For Miles
--  Version : v0.3
--  License : Distributed under the terms of GNU GPL version 2 or later
--
--  This version is a modification of seamod_rings.lua which is modification of
--  lunatico_rings.lua which is modification of conky_orange.lua 
--
--  conky_orange.lua:    http://gnome-look.org/content/show.php?content=137503
--  lunatico_rings.lua:  http://gnome-look.org/content/show.php?content=142884
--  seamod_rings.lua:    http://custom-linux.deviantart.com/art/Conky-Seamod-v0-1-283461046
--==============================================================================

require 'cairo'


--------------------------------------------------------------------------------
--                                                                    gauge DATA
gauge = {
{
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=100,                          y=130,
    graph_radius=54,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=64,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=100,                          y=130,
    graph_radius=48,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=40,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=9.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
--  If you have quad core CPU uncomment lines below that relate to CPU
--{
--    name='cpu',                    arg='cpu2',                  max_value=100,
--    x=100,                          y=130,
--    graph_radius=20,
--    graph_thickness=5,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=30,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='',
--    caption_weight=1,              caption_size=9.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
--},
--{
--    name='cpu',                    arg='cpu3',                  max_value=100,
--    x=100,                          y=130,
--    graph_radius=14,
--    graph_thickness=5,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=4,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='',
--    caption_weight=1,              caption_size=9.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
--},
{
    name='memperc',                arg='',                      max_value=100,
    x=100,                          y=330,
    graph_radius=54,
    graph_thickness=10,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=42,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
--{
--    name='fs_used_perc',           arg='/media/Data',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=54,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=64,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Data',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='fs_used_perc',           arg='/home/',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=42,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=32,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Home',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='fs_used_perc',           arg='/',                     max_value=100,
--    x=70,                          y=470,
--    graph_radius=30,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
--    txt_radius=22,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=23,
--    graduation_thickness=0,        graduation_mark_thickness=2,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Root',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='downspeedf',           arg='wlan0',                     max_value=100,
--    x=70,                          y=660,
--    graph_radius=54,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
--    txt_radius=64,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Down',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
--{
--    name='upspeedf',           arg='wlan0',                     max_value=100,
--    x=70,                          y=660,
--    graph_radius=42,
--    graph_thickness=7,
--    graph_start_angle=180,
--    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
--    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
--    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
--    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
--    txt_radius=30,
--    txt_weight=0,                  txt_size=9.0,
--    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
--    graduation_radius=28,
--    graduation_thickness=0,        graduation_mark_thickness=1,
--    graduation_unit_angle=27,
--    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
--    caption='Up',
--    caption_weight=1,              caption_size=12.0,
--    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
--},
}

-------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end


-------------------------------------------------------------------------------
--                                                              draw_gauge_ring
-- displays gauges
--
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end


-------------------------------------------------------------------------------
--                                                               go_gauge_rings
-- loads data and displays gauges
--
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end
    
    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then 
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
    
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
    
    if update_num > 5 then
        go_gauge_rings(display)
    end

    cairo_surface_destroy(cs)
    cairo_destroy(display)

end

Señor Chang, why do you teach Spanish?

Online

#505 2017-04-17 20:32:13

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

miharkula wrote:

psensors shows the same as sensors does plus info on 2 of the hard drives.

Hmmmm ... getting any closer to having it finished?


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#506 2017-04-17 21:19:43

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Sun For Miles wrote:

Afer some tinkering here is the final result:

https://cdn.scrot.moe/images/2017/04/16/conky-SunForMiles.th.png

# This version is a modification of conkyrc_seamod, which is modification of conkyrc_lunatico,
# which is modification of conkyrc_orange

In my best Maxwell Smart imitation {cough cough}

Maxwell Smart said:

Ahhhh yes, the old modification of a modification of a modification trick huh!  And still can't get rid of the Ubuntu orange.  Agent 99, quick, call the Chief!  We've got to get this guy into the Lab quick, he's infected!

Just kidding Sun For Miles, I use the "Mercury" theme here on the forums that's ... well, Orange.  big_smile
Cool conky - but is it really finished?


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#507 2017-04-17 23:20:43

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

SBruleMD wrote:

Based on this setup.

And tweaked, still in progress, from the original and SBruleMD's version to fit my machine.  Also showing is my "All-Txt" conky that dates back to at least 2013, and tweaked a few times since then.  smile

Nice stuff SBruleMD!
2017-04-17_200819_Scrot11.th.jpg

And my tweaks - not sure I'll keep the slackware "net" section. Also a single font call (the default font) so as not to confuse these tired old eyes.  big_smile

# pkill -xf "conky -c /media/5/conky/SBruleMD-branch.conky" &
# branchy-conky by SBruleMD taken from slacker conky config by 0x6c756b65
#

background yes
use_xft yes
xftfont Fira Mono:bold:size=9
xftalpha 1
update_interval 1.0

## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below
own_window_colour 000000
own_window_class Conky
own_window_title SBruleMD-branch.conky

double_buffer yes

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

#minimum_size 0 0
maximum_width 250

alignment tl
## ---------- End Window Settings

draw_borders no
draw_graph_borders yes
stippled_borders 0
border_width 0

## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 98FB98 #PaleGreen
color1 778899 #LightSlateGray
color2 FFD700 #Gold
color3 B0E0E6 #PowderBlue
color4 F4A460 #SandyBrown
color5 DEB887 #BurlyWood
color6 00BFFF #DeepSkyBlue
color7 5F9EA0 #CadetBlue
color8 FFA500 #Orange
color9 FF4500 #OrangeRed
## ---------- End Color Settings
alignment top_right
no_buffers yes
use_spacer none

default_bar_size 150 5

short_units yes

## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀


TEXT
${alignr 126}▼
${alignr 126}│
${alignr}└──bunsenlabs─────┐
${alignr}${pre_exec lsb_release -rs} ver─┤
${alignr}│
${alignr}${time %T} art─┤
${alignr}${time %a %d %b %Y} day─┤
${alignr}${utime %H:%M} utc─┤
${alignr}│
${alignr}sys─┤
${alignr}${kernel} kernal─┤   │
${alignr}${uptime} uptime─┘   │
${alignr}cpu─┤
${alignr}${platform f71882fg.2560 temp 2}° temp─┤   │
${alignr}${freq_g 1}ghz / ${if_match ${cpu cpu1} < 10}  ${cpu cpu1}\
${else}${if_match ${cpu cpu1} < 100} ${cpu cpu1}\
${else}${color9}${cpu cpu1}${color}${endif}${endif}% cpu1─┤   │
${alignr}${freq_g 2}ghz / ${if_match ${cpu cpu2} < 10}  ${cpu cpu2}\
${else}${if_match ${cpu cpu2} < 100} ${cpu cpu2}\
${else}${color9}${cpu cpu2}${color}${endif}${endif}% cpu2─┤   │
${alignr}${freq_g 3}ghz / ${if_match ${cpu cpu3} < 10}  ${cpu cpu3}\
${else}${if_match ${cpu cpu3} < 100} ${cpu cpu3}\
${else}${color9}${cpu cpu3}${color}${endif}${endif}% cpu3─┤   │
${alignr}│   │
${alignr}${freq_g 0}ghz / ${if_match ${cpu cpu0} < 10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0} < 100} ${cpu cpu0}\
${else}${color9}${cpu cpu0}${color}${endif}${endif}% cpuA─┘   │
${alignr}│
${alignr}sda─┤
${alignr}${hddtemp /dev/sda}° temp─┤   │
${alignr}${diskio_read}  read─┤   │
${alignr}${diskio_write} write─┤   │
${alignr}${fs_used /} / ${fs_size /} root─┤   │
${alignr}${fs_bar /}│   │
${alignr}${fs_used /home} / ${fs_size /home} home─┤   │
${alignr}${fs_bar /home}│   │
${alignr}${fs_used /media/5} / ${fs_size /media/5}  m/5─┤   │
${alignr}${fs_bar /media/5}│   │
${alignr}${fs_used /media/10} / ${fs_size /media/10} m/10─┘   │
${alignr}${fs_bar /media/10}    │
${alignr}│
${alignr}ram─┤
${alignr}${mem} / ${memmax} ${memperc}% ─┘   │
${alignr}${membar}    │
${alignr}│
${alignr}net─┤
${alignr}${upspeed eth0} ul─┤   │
${alignr}${upspeedgraph eth0 12,150 E4DF5F AA0E12}│   │
${alignr}${downspeed eth0} dl─┘   │
${alignr}${downspeedgraph eth0 12,150 E4DF5F AA0E12}    │
${alignr}│
${alignr}┌────────────────┘
${alignr}┌─┴────────────────┐
${alignr}│   don't panic!   │
${alignr}└──────────────────┘

${alignr}net -─┘
${alignr}< ${tcp_portmon 1 65535 count} > connections -─┤
${alignr}< ${tcp_portmon 1 32767 count} > in / locale -─┤
${alignr}< ${tcp_portmon 1 32767 rhost 0} ${tcp_portmon 1 32767 lservice 0} > -─┤    │
${alignr}< ${tcp_portmon 1 32767 rhost 1} ${tcp_portmon 1 32767 lservice 1} > -─┤    │
${alignr}< ${tcp_portmon 1 32767 rhost 2} ${tcp_portmon 1 32767 lservice 2} > -─┘    │
${alignr}< ${tcp_portmon 32768 61000 count} > out / remote -─┤
${alignr}< ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} > -─┤    │
${alignr}< ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} > -─┤    │
${alignr}< ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} > -─┤    │

cool Now I have one for each side.

OH MY!  I just realized that this script (All-Txt) is older than the one in the 2013 screenie - it only had a single core so that would be my old Sempron.  I must have another version here as well for the AMD Athlon since the 2013 shot shows x3 cores.  I have way too many conkys! I feel another search coming. {sigh}

Last edited by Sector11 (2017-04-17 23:29:09)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#508 2017-04-17 23:33:17

damo
....moderator....
Registered: 2015-08-20
Posts: 5,269

Re: Show us your conky

Conky Meister wrote:

I have way too many conkys!

One for the BL quotes thread? big_smile


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#509 2017-04-17 23:54:47

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Found them ... imagine "them" smile smile smile

find text in files ie: ftxt filepattern /path
ack-grep - grep-like text finder
ack-grep [options] PATTERN [FILE...]
ack-grep -f [options] [DIRECTORY...]

is awesome... searched for "Cap Lock"

Neither can run today without tweaking:

/media/5/Conky/S11_all-text.conky
157:${goto 12}│${goto 30}├─ ${exec xset q | grep Cap |awk '{print "Cap Lock     "$4}'}

- has some conkyForecast weather stuff on the bottom (now defunct), and

/media/5/Conky/S11_all-text.conky_2
165:${goto 12}│${goto 30}├─ ${exec xset q | grep Cap |awk '{print "Cap Lock     "$4}'}

- has two data partitions; M/6 and M/7 that are now Bunsen / and Bunsen ~/  smile

${goto 12}│${goto 30}├─ /M/5  ─┬─${goto 125}${fs_free /media/5} / ${fs_size /media/5}
${goto 12}│${goto 30}│${goto 91}└─${goto 125}${fs_used_perc /media/5}% Used
${goto 12}│${goto 30}├─ /M/6  ─┬─${goto 125}${fs_free /media/6} / ${fs_size /media/6}
${goto 12}│${goto 30}│${goto 91}└─${goto 125}${fs_used_perc /media/6}% Used
${goto 12}│${goto 30}├─ /M/7  ─┬─${goto 125}${fs_free /media/7} / ${fs_size /media/7}
${goto 12}│${goto 30}│${goto 91}└─${goto 125}${fs_used_perc /media/7}% Used

M/5 still going strong as my personal data partition though (like my conkys) ...

And since I'm here two commands I have to add to the conky above:

${goto 12}│${goto 30}├─ ${exec xset q | grep Cap |awk '{print "Cap Lock     "$4}'}
${goto 12}│${goto 30}└─ ${exec xset q | grep Num |awk '{print "Num Lock     "$8}'}

will show if they are "On" or "Off"  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#510 2017-04-17 23:57:40

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

damo wrote:
Conky Meister wrote:

I have way too many conkys!

One for the BL quotes thread? big_smile

lol  lol Spies, spies, we have spies in the Labs!

Well, I'm glad the "Conky Meister" said that cuz I'd never say that, might type it, but I'd never say it. devil

EDIT:
Just did an ff on three active partitions ~/ and two data partitions /media/5 and /media/10 looking for files that end with .conky ....

# find a file
ff() {
find "$1" -name "$2"
}
ff ~/ "*.conky" > conkys.txt
ff /media/5 "*.conky" >> conkys.txt
ff /media/10 "*.conky" >> conkys.txt

the last one sits on line 2906 in the text file

And that is only the conkys that end with ".conky" ie: somename.conky

 17 Apr 17 @ 21:03:15 ~
  $ ff ~/ "*conkyrc">conkyrc.txt
 
 17 Apr 17 @ 21:13:42 ~
  $ ff /media/5 "*conkyrc">>conkyrc.txt
 
 17 Apr 17 @ 21:14:01 ~
  $ ff /media/10 "*conkyrc">>conkyrc.txt
 
 17 Apr 17 @ 21:14:14 ~
  $ 

last "conkyrc" is on line 1401

1401 + 2906 + othernames = almost enough conkys!

Last edited by Sector11 (2017-04-18 00:21:24)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#511 2017-04-18 00:44:17

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Thanks damo ... because after that I did a search to .txt files and found a conky I've been looking for for a while.  smile
2017-04-17_213611_Scrot11.th.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#512 2017-04-18 01:04:41

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

Sector11 wrote:

Thanks damo ... because after that I did a search to .txt files and found a conky I've been looking for for a while.  smile
https://cdn.scrot.moe/images/2017/04/18/2017-04-17_213611_Scrot11.th.jpg

Nice..reminds me of SenseUI Weather widget on the last HTC phone I had.

Offline

#513 2017-04-18 01:45:13

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Hope that's a good thing, that clock has to be in Teo's weather scripts thread - someplace if you want it.

I actually thought it was made with this clock.  I want to use the "tweaked" version of this clock, mine has the seconds, with Teo's weather:
https://cdn.scrot.moe/images/2017/04/18/2017-04-17_222742_Scrot11.jpg
Problem is the backgrounds, I'm horrible at creating things in GIMP so it was shelved until I could get some time to try - then I lost it, now (thanks again damo) I found it again, I'm going to try. 

Need one with 4 flips as well:  | MON | 17 | APR | 17 |  - more GIMP but that's "tweaking" an existing image ... I did that to get the "third part" here so it won't be too hard. (I think)  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#514 2017-04-18 04:35:20

miharkula
Member
Registered: 2016-05-20
Posts: 20

Re: Show us your conky

Sector11 wrote:

Hope that's a good thing, that clock has to be in Teo's weather scripts thread - someplace if you want it.

I have always preferred the stock UI of android phone but of the companies that put their own tweaks over it, HTC's sense UI was the one I liked over the others. I am trying to remember the last HTC phone I had but strangely the only one I remember is HTC HD2 which is an originally Windows phone I bought specifically off craigslist (or maybe ebay) with the intention of putting android on it. I think it was the first 4" screen phone that was capable of running android with the network I was on at the time.

Offline

#515 2017-04-18 09:57:27

Sun For Miles
Member
Registered: 2017-04-12
Posts: 150

Re: Show us your conky

Sector11 wrote:

In my best Maxwell Smart imitation {cough cough}

Maxwell Smart said:

Ahhhh yes, the old modification of a modification of a modification trick huh!  And still can't get rid of the Ubuntu orange.  Agent 99, quick, call the Chief!  We've got to get this guy into the Lab quick, he's infected!

Just kidding Sun For Miles, I use the "Mercury" theme here on the forums that's ... well, Orange.  big_smile
Cool conky - but is it really finished?


Or in Rick and Morty words: "A simulation of a simulation inside of another giant simulation". big_smile

My conky at this stage is basically "just a top command with extra steps" (another Rick and Morty pun), and I've noticed you guys like as much as possible info put in conkyrc. I am thinking of a way to make it modular, I'll probably break it down to 2 or 3 conkyrc files because my current laptop max screen resolution (x768) doesn't look well with more info shown. Long way to v1.0, I will probably have to involve my desktop machine in this process. big_smile Thanx for checking it out.


Señor Chang, why do you teach Spanish?

Online

#516 2017-04-18 12:48:45

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Well you could create conkys with a windowed border ... add them to your menu and call them when you need/want them then close them.  Years ago someone wanted a conky based on vnstats because they had a monthly "cap".  That's where this came from VNSTAT conky came from.  Why they wanted it in a conky I don't know, a terminal is just as good but I was challenged. And since I don't need that on my desk daily - the border.

Simply remove "undecorated" from "own_window_hints" - also remove 'sticky' and it's on one desktop only. -> enter wmctrl to start conkys on specific desktops when it starts.

wmctrl -s 2 && conky -c /media/5/Conky/S11_Dates.conky) &

and it starts on Desktop 3 (starts counting at 0)

- Years ago we couldn't kill an individual conky it was "killall conky" or none.  GrouchyGaijin, over on the Ubu forums, put that to bed one day with  a little one liner that killed a single conky when running more than one. So now it can be borderless and added to an "SSC" bash script to Start/Stop the Conky.

That's the wrong script - that will kill all conkys and start those few ... I meant a script like this:

#!/bin/bash
## Original idea by: GrouchyGaijin
## This idea by: Stinkeye - Jan 2013
## With another tweak by: arclance
## Final tweak by: Sector11
## click to start, click to stop

##if pgrep -f "conky -q -c /media/5/Conky/S11_Dates.conky"
##then
##	pkill -xf "conky -q -c /media/5/Conky/S11_Dates.conky"
##else
##	gnome-terminal -e "conky -q -c /media/5/Conky/S11_Dates.conky"
##fi

## not running in a terminal
## remove: gnome-terminal -e

## Tweaked

#if pgrep -f "conky -q -c $1"
#then
#	pkill -xf "conky -q -c $1"
#else
#	conky -q -c "$1"
#fi

if
	pgrep -f "conky -c /media/5/Conky/S11_WTD.conky"
then
	pkill -xf "conky -c /media/5/Conky/S11_WTD.conky"
else
	conky -c "/media/5/Conky/S11_WTD.conky"
fi

that will start and stop the conky S11_WTD.conky without bothering other conkys.


- Crinos512 was changing the colours according to conky's command output before conky had the ${if_match} commands - with colorize.sh

-  kaivalagi had conky displaying images before the ${image} command was added with "webkit"

- And back then someone asked if they could do a short line with ${hr line} some text ${hr line}"----- TEXT -----". Everyone said "Nope not possible!"  I found a way with "bars" ${cpubar} for a CPU you don't have ${cpubar cpuX 0,50} ... for a couple of conky update the ERROR response would come back "using more CPUs than you have" and conky would crash.  Today with the memory we have who uses 'swap? So ${alignc}${swapbar 0,50} SYSTEM ${swapbar 0,50} works like a champ with the added bonus that it does a 'vertical centre' line ------- unlike ${hr}'s _____  And then other's added input so it's really about choices now.

I've got 10 years invested in conky - it's awesome!  If it doesn't do something, someone will find a way to get it to do it and I'll tweak the hell out of it.  Hope it works in Wayland.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#517 2017-04-18 18:06:45

Sun For Miles
Member
Registered: 2017-04-12
Posts: 150

Re: Show us your conky

Really interesting ideas and fine explanation of core variables! Multidesktop one is particularly appealing for my case and made me wonder if it's possible to initiate external conkyrc from within a conky. I'm taking previous joke to the extreme. big_smile


Señor Chang, why do you teach Spanish?

Online

#518 2017-04-18 23:05:17

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

El Tigre Chino dijo "knee how SFM" (well, it's pronounced like that)  wink

Hi SFM  ...  What previous joke?  Did I miss something?

No idea if one conky can call another.... hitting save on my test conky might give us a preliminary answer, I don't see any reason it shouldn't · · ·
2017-04-18_194146_Scrot11.th.jpg
If it works it will be under and to the right of the two screenrulers.
3 ... 2 ... 1
Success ... kind of ... the second conky was started but the originating test.conky disappeared.
2017-04-18_194658_Scrot11.th.jpg

even more interesting ... I could not kill the second conky with:

pkill -xf "conky -q -c /media/5/Conky/S11_ASCII.conky" &

so I did a "killall conky" that killed "S11_ASCII.conky" and immediately the test.conky reappeared.

Twilight Zone music · · ·


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#519 2017-04-19 01:20:39

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

My conky: S11_WTD.conky

World Time Date & Forecast - CCCC: S11, ragamatrix, Habitual & TeoBigusGeekus

  • Habitual wrote the daylight.sh script that gets the daylight/cloud cover image: /media/5/Conky/images/world_1600.jpg

    • - in 2010 - it's old, still works.

  • I found the a simple weather site in China (Today's Hi/Low, simple condition) and the 'data collection' script was done by Teo: majorcities

  • draw-bg.lua does the fake beveled edge.

  • conky ${tztime} gets the time for each location

  • ${if_match} compares the date of each ${tztime [place] %d} with ${tztime NZ %d} (New Zealand) to display colour for the dates of the two days.

  • A whole bunch of ${goto xxx} commands with a few ${voffsets xx} to fine tune things

2017-04-18_221640_Scrot11.th.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#520 2017-04-19 05:13:18

ohnonot
...again
Registered: 2015-09-29
Posts: 4,165
Website

Re: Show us your conky

Sector11 wrote:

knee how

isn't that chinese? big_smile

Offline

#521 2017-04-19 11:23:05

Sun For Miles
Member
Registered: 2017-04-12
Posts: 150

Re: Show us your conky

Sector11 wrote:

Hi SFM  ...  What previous joke?  Did I miss something?

It was "modification of a modification of a modification" at first, turned into simulation, and now I had in mind "(conky) iteration of an iteration of an iteration". big_smile


Señor Chang, why do you teach Spanish?

Online

#522 2017-04-19 12:09:33

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

ohnonot wrote:
Sector11 wrote:

knee how

isn't that chinese? big_smile

El Tigre Chino dijo "knee how SFM"
The Chinese Tiger said: "Knee how" - so yea, that's Chinese - I don't have the 'accents' to write it "Ni Hao" nor the Chinese characters.  So as my friends teach me some things Chinese I put them in English the best I can.  And while pronouncing 'knee how' may not be 100% it's in the high 90's percentile range.

I was referencing Sun For Miles' signature.   wink


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#523 2017-04-19 12:15:42

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

Sun For Miles wrote:
Sector11 wrote:

Hi SFM  ...  What previous joke?  Did I miss something?

It was "modification of a modification of a modification" at first, turned into simulation, and now I had in mind "(conky) iteration of an iteration of an iteration". big_smile

OH MY! ... please excuse me - I'm a little slow at times.   roll


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#524 2017-04-19 12:28:25

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,119

Re: Show us your conky

Quick qustion to see if something exists or has been attempted.

Two conkies displayed, each using lua to draw the transparent background:

screen-import-wednesday1492604595.png

Does anyone know if a Gaussian blur has been added/attempted in a lua background, and have the link?


You must unlearn what you have learned.
    -- yoda

Offline

#525 2017-04-19 13:09:20

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,666

Re: Show us your conky

@PackRat

I've never seen it.  Sounds like an interesting idea though.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

Board footer

Powered by FluxBB