You are not logged in.
I had no clue that speed test would work in / with conky. Thanks for sharing this.
Thank you.
I have in the meantime converted the conkyspeedrc into the conkyV.1.10 (for siduction )
and below the
exec
Commands changed. With a conky-starter runs now perfectly.
conkyspeedrc10
conky.config = {
background = false,
use_xft = true,
--xftfont monospace:size=10
font = 'monofur:size=10',
xftalpha = 1,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',--sticky,
own_window_class = 'Conky',
own_window_title = 'Speedtest',
own_window_argb_visual = true,
--own_window_argb_value 80
double_buffer = true,
draw_borders = false,
border_inner_margin = 5,--margin between border and text
border_outer_margin = 0,--margin between border and window edge
border_width = 5,--border thickness
draw_outline = false,
draw_graph_borders = true,
stippled_borders = 0,
default_color = 'cyan',
default_shade_color = 'black',
default_outline_color = 'white',
alignment = 'top_right',
gap_x = 90,
gap_y = 80,
cpu_avg_samples = 10,
override_utf8_locale = true,
minimum_width = 160, minimum_height = 100,
maximum_width = 160,
update_interval = 3,--21600 #86400
----LUA--#
--lua_load ~/Lua/draw-bg.lua
};
conky.text = [[
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
┌───────────────┐
│ SPEEDTEST.NET │
└───────────────┘
${texeci 3600 speedtest --simple --server 10963}
${texeci 3600 notify-send -i network-transmit-receive "Speedtest Completed"}
]];
Offline
New to Linux but learning more every day. Here's my conkys... nothing fancy but took me a while to put together.
https://scrot.moe/image/6ysjj
My apologies if this shows up too big... how do you do a thumbnail?
Thanks for everything I've learned so far by prowling.
Last edited by AL^ (2017-08-15 02:25:58)
Offline
...
My apologies if this shows up too big... how do you do a thumbnail?
Thanks for everything I've learned so far by prowling.
You scroll down the embed codes in scrot.moe, and use the BBCode thumbnail code:
Last edited by damo (2017-08-15 08:28:02)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Wasn't sure to post here or in another place... I'm trying to get the character count from the weather text. Here's what I'm trying but it isn't working:
${execp wc -c sed -n '5p' $HOME/1_accuweather/first_days}
Once I get the character count I'll mess around with ${if_match} to either print a blank line or the first part of the text.
Thanks.
Offline
Well this is a place to show off your conky, and the code if you have a mind to, although we encourage it.
Other than that you have two options, start your own thread OR put this in Teo's weather thread:
Index » Scripts, Tutorials & Tips » Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant) since that is from Teo's 1_accuweather script.
BUT ... since you are here you could use "cut"
Conditions:
${execi 300 sed -n '5p' /media/5/Conky/1_accuweather/first_days}
${execi 300 sed -n '5p' /media/5/Conky/1_accuweather/first_days | cut -c -10}
"Rain" is a lot shorter than "Chance of thunderstorms", so there is no "exact" character count that is a constant.
Saw your conky in the screenshot thread - nice one.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks, I'll post there.
Offline
######################
# - Conky settings - #
######################
update_interval 2
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
background yes
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=10
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
#own_window_class Conky
own_window yes
own_window_type normal
#own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 120
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment top_right
gap_x 6
gap_y 5
minimum_size 240 0
maximum_width 240
default_bar_size 60 8
#########################
# - Graphics settings - #
#########################
draw_shades no
default_color cccccc
color0 white
color1 E07A1F
color2 white
color3 ff0000
color4 ffff00
color5 9fb6cd
color6 55ff00
color7 005dff
color8 ffcb48
TEXT
${font Arial Black:size=24}${alignc}${time %H:%M}${font}
${alignc}${time %A, %B %d, %Y}
${voffset 5}${color6}SYSTEM ${color7}${hr 2}${color}
${goto 6}${voffset 6}${font conkycolorslogos:size=32}l${font}${goto 55}${voffset -25}$machine
#${goto 55}Kernel: ${kernel}
${goto 55}$nodename
#
${voffset 3}${loadgraph F57900 FCAF3E}
#
${goto 6}${voffset -2}${font conkycolors:size=16}o${font}${voffset -6}${goto 32}Uptime: ${alignr}${uptime}
#
#${goto 6}${voffset 6}${font conkycolors:size=16}1${font}${voffset -6}${goto 32}Battery: ${battery_short}\
# Color battery bar based on percentage remaining.
#${if_match ${battery_percent} < 15}${color red}${else}\
#${if_match ${battery_percent} < 25}${color orange}${else}\
#${if_match ${battery_percent} < 35}${color yellow}${else}\
#${if_match ${battery_percent} < 90}${color white}${else}\
#${color green}${endif}${endif}${endif}${endif}\
#${alignr}${battery_bar 8,70}${color}
#
#${alignr}${battery_time}
${voffset 5}${color6}CPU ${color7}${hr 2}${color}
${goto 6}${voffset 4}${font conkycolors:size=16}d${font}${voffset -5}${goto 32}Frequency: ${alignr}${freq_g (1)} GHz
${goto 6}${voffset 8}${font conkycolors:size=16}8${font}${voffset -5}${goto 32}CPU0 Temp:${alignr}${color #FCAF3E}\
${execi 30 sensors | grep "Package id 0:" | cut -c17-18} °C$color
${goto 6}${voffset 8}${font conkycolors:size=16}8${font}${voffset -5}${goto 32}CPU1 Temp:${alignr}${color #FCAF3E}\
${execi 30 sensors | grep "Package id 1:" | cut -c17-18} °C$color
${goto 6}${voffset 9}${font conkycolors:size=16}l${font}${voffset -6}${goto 32}Usage: ${cpu}% ${alignr}${voffset -7}${cpugraph 20,115 F57900 FCAF3E -t}
${goto 32}${voffset -4}${cpubar cpu1 8,45} ${cpubar cpu2 8,45} ${cpubar cpu3 8,45} ${cpubar cpu4 8,45}
${goto 32}${cpubar cpu5 8,45} ${cpubar cpu6 8,45} ${cpubar cpu7 8,45} ${cpubar cpu8 8,45}
${goto 32}${cpubar cpu9 8,45} ${cpubar cpu10 8,45} ${cpubar cpu11 8,45} ${cpubar cpu12 8,45}
${goto 32}${cpubar cpu13 8,45} ${cpubar cpu14 8,45} ${cpubar cpu15 8,45} ${cpubar cpu16 8,45}
${goto 32}${cpubar cpu17 8,45} ${cpubar cpu18 8,45} ${cpubar cpu19 8,45} ${cpubar cpu20 8,45}
${goto 32}${cpubar cpu21 8,45} ${cpubar cpu22 8,45} ${cpubar cpu23 8,45} ${cpubar cpu24 8,45}
${goto 32}${cpubar cpu25 8,45} ${cpubar cpu26 8,45} ${cpubar cpu27 8,45} ${cpubar cpu28 8,45}
${goto 32}${cpubar cpu29 8,45} ${cpubar cpu30 8,45} ${cpubar cpu31 8,45} ${cpubar cpu32 8,45}
${voffset 3}${color6}Discrete GPU ${color7}${hr 2}${color}
${if_match ${exec lsmod | grep 'nvidia' -c} > 0}\
${goto 6}${voffset 3}${font conkycolorslogos:size=16}n${font}${voffset -6}${goto 32}${exec nvidia-smi --query-gpu=name --format=csv,noheader}
${goto 6}${voffset 5}${font conkycolors:size=16}8${font}${voffset -6}${goto 32}\
Temperature: ${alignr}${color #FCAF3E}${exec nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits} °C$color
${goto 6}${voffset 5}${font conkycolors:size=16}e${font}${voffset -6}${goto 32}\
Memory:${alignr}${exec nvidia-smi --query-gpu=memory.used --format=csv,noheader} / ${exec nvidia-smi --query-gpu=memory.total --format=csv,noheader}
${goto 6}${voffset 5}${font conkycolors:size=16}z${font}${voffset -6}${goto 32}\
Fan Speed:${alignr}${exec nvidia-smi -a|grep -i fan|awk '{print $4}'|xargs -n 1 expr 32 \*} RPM
${else}\
${goto 6}${voffset 5}${font conkycolors:size=16}r${font}${voffset -6}${goto 32}OFF
${endif}\
${voffset 5}${color6}General ${color7}${hr 2}${color}
${goto 6}${voffset 4}${font conkycolors:size=16}g${font}${voffset -6}${goto 32}RAM: ${mem} ${alignr}${membar 8,90}
#
${if_match "$swapperc" != "No swap"}\
${goto 6}${voffset 4}${font conkycolors:size=16}i${font}${voffset -4}${goto 32}Swap: ${swapperc}% ${alignr}${swapbar 8,90}
${endif}\
#
${goto 6}${voffset 4}${font conkycolors:size=16}C${font}${voffset -6}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${voffset 4}${goto 32}Threads: ${alignr}$threads ($running_threads running)
${voffset 5}${color6}Disk ${color7}${hr 2}${color}
${voffset 4}${font conkycolors:size=16}l${font}${voffset -6}${goto 32}I/O: ${diskio}${alignr}${diskiograph 8,80 F57900 FCAF3E}
${voffset 4}${font conkycolors:size=16}i${font} ${voffset -5} ${fs_used /} / ${fs_size /} ${alignr}${fs_bar 8,80 /}
${voffset 4}${font conkycolors:size=16}i${font} ${voffset -5} ${fs_used /mnt/Raid0} / ${fs_size /mnt/Raid0} ${alignr}${fs_bar 8,80 /mnt/Raid0}
${voffset 5}${color6}Network ${color7}${hr 2}${color}
${if_up br0}\
${color6}${voffset 5} br0 ${color7}${hr 1}${color}
${voffset 12}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed br0}${font} ${alignr}${upspeedgraph br0 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totalup br0}
#
${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed br0}${font} ${alignr}${downspeedgraph br0 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totaldown br0}
#
${voffset 5}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr br0}
#
${else}\
${if_up virbr1}\
${color6}${voffset 5} virbr1 ${color7}${hr 1}${color}
${voffset 12}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed virbr1}${font} ${alignr}${upspeedgraph virbr1 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totalup virbr1}
#
${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed virbr1}${font} ${alignr}${downspeedgraph virbr1 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totaldown virbr1}
#
${voffset 5}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr virbr1}
#
${else}\
${if_up wlo1}\
${voffset 2} Wireless ${hr 1}
${voffset 10}${font conkycolors:size=14}k${font}${goto 32}${voffset -12}SSID: ${wireless_essid wlo1}
${goto 32}Signal: ${wireless_link_qual_perc wlo1}% ${alignr}${wireless_link_bar 8,60 wlo1}
#
${voffset 15}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed wlo1}${font} ${alignr}${upspeedgraph wlo1 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totalup wlo1}
#
${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed wlo1}${font} ${alignr}${downspeedgraph wlo1 20,80 F57900 FCAF3E}
${goto 32}${voffset -15}Total: ${totaldown wlo1}
#
${voffset 8}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr wlo1}
#
${else}\
${voffset 4}${font conkycolors:size=14}qwe${font}${goto 32}Network Unavailable
${endif}\
Requires conky-colors, conky-nvidia, nvidia-smi and lm-sensors
Offline
Pretty simple -
conky.config = {
--#############################################
-- Settings
--#############################################
background = true,
use_xft = true,
font = 'Office Code Pro:Regular:size=11',
-- font = 'Ubuntu:Medium:size=10',
-- font = 'Montserat Alternates:regular:size=10',
xftalpha = 1.0,
update_interval = 1.0,
update_interval_on_battery = 1.0,
total_run_times = 0,
own_window = true,
own_window_colour = '#151515',
own_window_transparent = true,
-- own_window_type = 'dock',
own_window_type = 'desktop',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_class = 'ConkyBatt',
own_window_title = 'ConkyBatt',
--#############################################
-- Compositing tips:
-- Conky can play strangely when used with
-- different compositors. I have found the
-- following to work well, but your mileage
-- may vary. Comment/uncomment to suit.
--#############################################
-- own_window_argb_visual = true,
--own_window_argb_value 2
--# xcompmgr
-- own_window_argb_visual yes
-- own_window_argb_value 120
--# cairo-compmgr
--own_window_type desktop
--own_window_argb_visual yes
--#############################################
no_buffers = true,
uppercase = true,
cpu_avg_samples = 2,
override_utf8_locale = true,
short_units = true,
imlib_cache_size = 0,
pad_percents = 1,
-- max_specials = '2048',
max_user_text = 3200,
text_buffer_size = 1024,
no_buffers = true,
if_up_strictness = 'address',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
border_inner_margin = 1,
border_outer_margin = 1,
default_color = '#CCBA92',
default_shade_color = '#000000',
default_outline_color = '#828282',
color0 = '#FFFFFF',
color1 = '#000000',
color2 = '#CCBA92',-- - red
color3 = '#FFFF00',-- - yellow
color4 = '#0000FF',-- - blue
color5 = '#00FF00',-- - green
color6 = '#FFA500',-- - orange
color7 = '#CCBA92',-- - cyan3
color8 = '#FFD700',-- - gold
color9 = '#F00F16',-- - reddish
minimum_width = 1600, minimum_height = 0,
maximum_width = 1600,
alignment = 'tl',
gap_x = 8,
gap_y = 8,
-- -- doesn't seem to work when docked in the slit --#
-- lua_load = '~/conky/transbg.lua',
-- lua_draw_hook_pre = 'draw_bg 4 0 0 0 0 0x0F0F0F 0.80',
};
conky.text = [[
${goto 8}${time %H:%M}${offset 12}${time %a %e %b} \
${alignc}Up:${offset 4}${uptime_short}${offset 24}CPU:${offset 4}${if_match ${cpu}<=50}${color7}${else}${if_match ${cpu}<=70}${color8}${else}${if_match ${cpu}>70}${color9}${endif}${endif}${endif}${cpu cpu0}%${color}${offset 24}Mem:${offset 4}${if_match ${memperc}<=50}${color7}${else}${if_match ${memperc}<=70}${color8}${else}${if_match ${memperc}>70}${color9}${endif}${endif}${endif}${memperc}%${color} \
${goto 1480}Batt:${offset 4}${if_match ${battery_percent BAT0}<=15}${color8}${blink ${battery_percent BAT0}%}${color}${else}${if_match ${battery_percent BAT0}<=33}${color8}${battery_percent BAT0}%${else}${if_match ${battery_percent BAT0}>33}${color7}${battery_percent BAT0}%${endif}${endif}${endif}${color}${offset 12}${execpi 60 acpi -b | awk '/Battery 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | cut -c1}${color}
]];
You must unlearn what you have learned.
-- yoda
Online
Well, it's just basic conky stuff on the following site, still it might be interesting to have a look at those 5 conky themes.
Offline
I didn't want to de-rail this thread - and didn't think this merits a bug report, but for this conkyrc, there are the lines:
${offset 130}${font}${color3}Free: ${font}${fs_free /}${alignr}${font}Used: ${font}${fs_used /}
${offset 130}${font}${color3}Free: ${font}${fs_free /home}${alignr}${font}Used: ${font}${fs_used /mnt/data}
${offset 130}${font}${color3}Free: ${font}${fs_free /mnt/data}${alignr}${font}Used: ${font}${fs_used /mnt/backups}
Is that the way you want it to read? Looks like it should be something like:
Free / Used /
Free /home Used /home
Free /mnt/data Used /mnt/data
Free /mnt/backups Used /mnt/backups
And do you need all the font calls? You're not changing the font anywhere.
You must unlearn what you have learned.
-- yoda
Online
^ You can edit it all you like to show what you want Those lines are supposed to line up with the lua ring labels, IIRC. Anyway, it is unlikely that you have "/mnt/data" and "/mnt/backups" on your system like I do.
And yes, all those font calls are unecessary. It's a copy/paste boo-boo 8o
EDIT: Thanks for the feedback - I've taken out unecessary ${font} and ${color} tags, and lined up the Free/Used text better.
Updated original on deviantart ...Aqua-rings-110 Conky
Last edited by damo (2017-08-23 16:58:27)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I call this The Informant Conky
-- Informant Conky
-- By Addy
-- https://plus.google.com/+AdhiPambudi
-- http://addy-dclxvi.deviantart.com/
-- https://github.com/addy-dclxvi
-- For commands above TEXT check:
-- http://conky.sourceforge.net/config_settings.html
-- For commands available below TEXT check:
-- http://conky.sourceforge.net/variables.html
conky.config = {
--## Begin Window Settings #####################
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'ARCHLabs Top 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_width = 200,
minimum_height = 200,
maximum_width = 400,
gap_x = 20,--## left | right
gap_y = 0,--## up | down
alignment = 'top_right',
--###################### End Window Settings ###
--## Font Settings #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
--# Requires mono font for spacing reasons
--xftfont Liberation Mono:bold:size=9
font = 'Roboto:size=10',
-- Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,
uppercase = false,
--######################## End Font Settings ###
--## Colour Settings ###########################
draw_shades = false,--yes
default_shade_color = 'black',
draw_outline = false,-- amplifies text if yes
default_outline_color = 'black',
--default_color 656667 # Waldorf original colour
--default_color 7a7a7a # Flame & Bunsen Grey
--default_color 929292 # Labs Grey
default_color = '#40e0d0',-- cyan
color0 = '#ffffff',-- purewhite
color1 = '#777777',-- Gray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkycyan
color7 = '#5F9EA0',-- Cadetcyan
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
--###################### End Colour Settings ###
--## Borders Section ###########################
draw_borders = false,
-- 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 = true,--no
--default_graph_size 15 40
--####################### End Borders Secton ###
--## Miscellaneous Section #####################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,
-- 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 = true,
-- change GiB to G and MiB to M
short_units = true,
-- 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 = true,
-- 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 ###
update_interval = 1,
};
conky.text = [[
${font Roboto:Light:size=72}$alignr${time %H}${color0}:${time %M}${font}${color}
${font Roboto:Light:size=24}${voffset 12}$alignr${color0}${execi 300 LANG=${template9} LC_TIME=${template9} date +"%A"}${color},\
${execi 300 LANG=${template9} LC_TIME=${template9} date +"%d"}\
${color0} ${execi 300 LANG=${template9} LC_TIME=${template9} date +"%B"}${font}${voffset 2}
${hr}${color}${voffset 4}
${font Roboto:pixelsize=13}${alignr} USER: ${color0}${execi 5000 whoami}${color} ${color1}I${color} MACHINE: ${color0}$nodename${color} ${color1}I${color} UPTIME: ${color0}$uptime${color}
${font Roboto:pixelsize=13}${alignr} DISTRIBUTION: ${color0}${execi 6000 awk -F'=' '/DESCRIPTION/ {print $2}' /etc/lsb-release |sed 's/"//g'}${color} ${color1}I${color} VERSION: ${color0}${execi 6000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}${color}
${font Roboto:pixelsize=13}${alignr} ARCHITECTURE: ${color0}${machine}${color} ${color1}I${color} KERNEL: ${color0}${kernel}${color}
${font Roboto:pixelsize=13}${alignr} ROOT: ${color0}${fs_used /}${color} / ${color0}${fs_size /}${color} ${color1}I${color} HOME: ${color0}${fs_used /home}${color} / ${color0}${fs_size /home}${color}
${font Roboto:pixelsize=13}${alignr} CPU: ${color0}${cpu cpu0}%${color} ${color1}I${color} RAM: ${color0}$mem / $memmax${color} HD: ${color0}${fs_used_perc}%${color}
${font Roboto:pixelsize=13}${alignr} SWAP: ${color0}${swap} / ${swapmax}${color} ${color1}I${color} SYS TEMP: ${color0}${hwmon temp 1}°C${color}
${font Roboto:pixelsize=13}${alignr} YOU CAN INSTALL ${color0}${execpi 12000 checkupdates | wc -l} UPDATE(S)${color}
]]
If it ain't broke, then tweak it until it breaks.
Offline
OOPS!
Conky: failed to handle template 'template9' with args '(null)'
Conky: failed to handle template 'template9' with args '(null)'
Conky: failed to handle template 'template9' with args '(null)'
Conky: failed to handle template 'template9' with args '(null)'
Conky: failed to handle template 'template9' with args '(null)'
Conky: failed to handle template 'template9' with args '(null)'
template9 please.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ What happens if you just remove the LANG= and LC_TIME= ?
There are also many unnecessary ${font} calls.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Templates are used for formatting:
templateN
Define a template for later use inside conky.text segments. Substitute N by a digit between 0 and 9, inclusively. The value of the variable is being inserted into the stuff inside conky.text at the corresponding position, but before some substitutions are applied:'\n' -> newline
'\\' -> backslash
'\ ' -> space
'\N' -> template argument N
I'd like to see what's missing.
LANG=$(template9)
LC_TIME=$(template9)
date +"%d"
${execi 300 LANG=${template9} LC_TIME=${template9} date +"%d"} <<-- LANG= LC_TIME= date d
execi 300 date +"%d"
${execi 300 date +"%d"} <<-- not a conky command
- requires exec or execi xx
- heavier on resources
time %d
${time %d} <<-- the conky way
Extra font calls - not in my Cv1.9 version.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
###################### # - Conky settings - # ###################### update_interval 2 total_run_times 0 net_avg_samples 1 cpu_avg_samples 1 imlib_cache_size 0 double_buffer yes no_buffers yes background yes ##################### # - Text settings - # ##################### use_xft yes xftfont Ubuntu:size=10 override_utf8_locale yes text_buffer_size 2048 ############################# # - Window specifications - # ############################# #own_window_class Conky own_window yes own_window_type normal #own_window_transparent yes own_window_argb_visual yes own_window_argb_value 120 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager alignment top_right gap_x 6 gap_y 5 minimum_size 240 0 maximum_width 240 default_bar_size 60 8 ######################### # - Graphics settings - # ######################### draw_shades no default_color cccccc color0 white color1 E07A1F color2 white color3 ff0000 color4 ffff00 color5 9fb6cd color6 55ff00 color7 005dff color8 ffcb48 TEXT ${font Arial Black:size=24}${alignc}${time %H:%M}${font} ${alignc}${time %A, %B %d, %Y} ${voffset 5}${color6}SYSTEM ${color7}${hr 2}${color} ${goto 6}${voffset 6}${font conkycolorslogos:size=32}l${font}${goto 55}${voffset -25}$machine #${goto 55}Kernel: ${kernel} ${goto 55}$nodename # ${voffset 3}${loadgraph F57900 FCAF3E} # ${goto 6}${voffset -2}${font conkycolors:size=16}o${font}${voffset -6}${goto 32}Uptime: ${alignr}${uptime} # #${goto 6}${voffset 6}${font conkycolors:size=16}1${font}${voffset -6}${goto 32}Battery: ${battery_short}\ # Color battery bar based on percentage remaining. #${if_match ${battery_percent} < 15}${color red}${else}\ #${if_match ${battery_percent} < 25}${color orange}${else}\ #${if_match ${battery_percent} < 35}${color yellow}${else}\ #${if_match ${battery_percent} < 90}${color white}${else}\ #${color green}${endif}${endif}${endif}${endif}\ #${alignr}${battery_bar 8,70}${color} # #${alignr}${battery_time} ${voffset 5}${color6}CPU ${color7}${hr 2}${color} ${goto 6}${voffset 4}${font conkycolors:size=16}d${font}${voffset -5}${goto 32}Frequency: ${alignr}${freq_g (1)} GHz ${goto 6}${voffset 8}${font conkycolors:size=16}8${font}${voffset -5}${goto 32}CPU0 Temp:${alignr}${color #FCAF3E}\ ${execi 30 sensors | grep "Package id 0:" | cut -c17-18} °C$color ${goto 6}${voffset 8}${font conkycolors:size=16}8${font}${voffset -5}${goto 32}CPU1 Temp:${alignr}${color #FCAF3E}\ ${execi 30 sensors | grep "Package id 1:" | cut -c17-18} °C$color ${goto 6}${voffset 9}${font conkycolors:size=16}l${font}${voffset -6}${goto 32}Usage: ${cpu}% ${alignr}${voffset -7}${cpugraph 20,115 F57900 FCAF3E -t} ${goto 32}${voffset -4}${cpubar cpu1 8,45} ${cpubar cpu2 8,45} ${cpubar cpu3 8,45} ${cpubar cpu4 8,45} ${goto 32}${cpubar cpu5 8,45} ${cpubar cpu6 8,45} ${cpubar cpu7 8,45} ${cpubar cpu8 8,45} ${goto 32}${cpubar cpu9 8,45} ${cpubar cpu10 8,45} ${cpubar cpu11 8,45} ${cpubar cpu12 8,45} ${goto 32}${cpubar cpu13 8,45} ${cpubar cpu14 8,45} ${cpubar cpu15 8,45} ${cpubar cpu16 8,45} ${goto 32}${cpubar cpu17 8,45} ${cpubar cpu18 8,45} ${cpubar cpu19 8,45} ${cpubar cpu20 8,45} ${goto 32}${cpubar cpu21 8,45} ${cpubar cpu22 8,45} ${cpubar cpu23 8,45} ${cpubar cpu24 8,45} ${goto 32}${cpubar cpu25 8,45} ${cpubar cpu26 8,45} ${cpubar cpu27 8,45} ${cpubar cpu28 8,45} ${goto 32}${cpubar cpu29 8,45} ${cpubar cpu30 8,45} ${cpubar cpu31 8,45} ${cpubar cpu32 8,45} ${voffset 3}${color6}Discrete GPU ${color7}${hr 2}${color} ${if_match ${exec lsmod | grep 'nvidia' -c} > 0}\ ${goto 6}${voffset 3}${font conkycolorslogos:size=16}n${font}${voffset -6}${goto 32}${exec nvidia-smi --query-gpu=name --format=csv,noheader} ${goto 6}${voffset 5}${font conkycolors:size=16}8${font}${voffset -6}${goto 32}\ Temperature: ${alignr}${color #FCAF3E}${exec nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits} °C$color ${goto 6}${voffset 5}${font conkycolors:size=16}e${font}${voffset -6}${goto 32}\ Memory:${alignr}${exec nvidia-smi --query-gpu=memory.used --format=csv,noheader} / ${exec nvidia-smi --query-gpu=memory.total --format=csv,noheader} ${goto 6}${voffset 5}${font conkycolors:size=16}z${font}${voffset -6}${goto 32}\ Fan Speed:${alignr}${exec nvidia-smi -a|grep -i fan|awk '{print $4}'|xargs -n 1 expr 32 \*} RPM ${else}\ ${goto 6}${voffset 5}${font conkycolors:size=16}r${font}${voffset -6}${goto 32}OFF ${endif}\ ${voffset 5}${color6}General ${color7}${hr 2}${color} ${goto 6}${voffset 4}${font conkycolors:size=16}g${font}${voffset -6}${goto 32}RAM: ${mem} ${alignr}${membar 8,90} # ${if_match "$swapperc" != "No swap"}\ ${goto 6}${voffset 4}${font conkycolors:size=16}i${font}${voffset -4}${goto 32}Swap: ${swapperc}% ${alignr}${swapbar 8,90} ${endif}\ # ${goto 6}${voffset 4}${font conkycolors:size=16}C${font}${voffset -6}${goto 32}Processes: ${alignr}$processes ($running_processes running) ${voffset 4}${goto 32}Threads: ${alignr}$threads ($running_threads running) ${voffset 5}${color6}Disk ${color7}${hr 2}${color} ${voffset 4}${font conkycolors:size=16}l${font}${voffset -6}${goto 32}I/O: ${diskio}${alignr}${diskiograph 8,80 F57900 FCAF3E} ${voffset 4}${font conkycolors:size=16}i${font} ${voffset -5} ${fs_used /} / ${fs_size /} ${alignr}${fs_bar 8,80 /} ${voffset 4}${font conkycolors:size=16}i${font} ${voffset -5} ${fs_used /mnt/Raid0} / ${fs_size /mnt/Raid0} ${alignr}${fs_bar 8,80 /mnt/Raid0} ${voffset 5}${color6}Network ${color7}${hr 2}${color} ${if_up br0}\ ${color6}${voffset 5} br0 ${color7}${hr 1}${color} ${voffset 12}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed br0}${font} ${alignr}${upspeedgraph br0 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totalup br0} # ${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed br0}${font} ${alignr}${downspeedgraph br0 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totaldown br0} # ${voffset 5}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr br0} # ${else}\ ${if_up virbr1}\ ${color6}${voffset 5} virbr1 ${color7}${hr 1}${color} ${voffset 12}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed virbr1}${font} ${alignr}${upspeedgraph virbr1 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totalup virbr1} # ${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed virbr1}${font} ${alignr}${downspeedgraph virbr1 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totaldown virbr1} # ${voffset 5}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr virbr1} # ${else}\ ${if_up wlo1}\ ${voffset 2} Wireless ${hr 1} ${voffset 10}${font conkycolors:size=14}k${font}${goto 32}${voffset -12}SSID: ${wireless_essid wlo1} ${goto 32}Signal: ${wireless_link_qual_perc wlo1}% ${alignr}${wireless_link_bar 8,60 wlo1} # ${voffset 15}${font conkycolors:size=14}x${font}${goto 32}${voffset -15}Up: ${upspeed wlo1}${font} ${alignr}${upspeedgraph wlo1 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totalup wlo1} # ${voffset 15}${font conkycolors:size=14}w${font}${goto 32}${voffset -15}Down: ${downspeed wlo1}${font} ${alignr}${downspeedgraph wlo1 20,80 F57900 FCAF3E} ${goto 32}${voffset -15}Total: ${totaldown wlo1} # ${voffset 8}${font conkycolors:size=13}A${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr wlo1} # ${else}\ ${voffset 4}${font conkycolors:size=14}qwe${font}${goto 32}Network Unavailable ${endif}\
Requires conky-colors, conky-nvidia, nvidia-smi and lm-sensors
Can I assume you're running on a Z840 workstation? I'm saving my pennies for a nice Z820 myself. Can't wait until I can order it and slap BL on there as my primary OS and tinker around. My Nvidia 550TI will have to do for now (since I don't really game anymore, it should be fine). The machine I have in mind should last me many many years. I'm looking at 24 threads myself or 32 if the prices on used XEON's continue to drop. I have 512GB of ECC RAM ready to rock and roll.
I mainly quoted to ask what you're doing to use 91% of 32 threads. Did you run the fork bomb? (plz don't), or you got some blender action or something going on?
Last edited by Temetka (2017-08-29 00:57:16)
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
And here sit I, with my little
$ cpu
CPU: Triple core AMD Athlon II X3 450 (-MCP-) cache: 1536 KB
flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 19287
Clock Speeds: 1: 2000 MHz 2: 2000 MHz 3: 800 MHz
and you guys are talking 8, 12 and 16 cores hyper threaded to 16, 24 and 32 threads ...
and HOLY {no say it} 512GB of ECC RAM !!!!! ROCK-N-ROLL isn't enough!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ Temetka
https://cdn.scrot.moe/images/2017/07/08/2017-07-08_184248_Scrot11.th.jpgHow about one more shot - without LUA!
## pkill -xf "conky -c /media/5/Conky/PackRat/PackRat.Tao_1.9.conky" & ## ---------- Begin Window Settings own_window yes own_window_type normal own_window_transparent yes own_window_hints skip_taskbar,skip_pager,below,undecorated own_window_colour 000000 own_window_class Conky own_window_title PackRat.Tao.conky #own_window_argb_visual yes #own_window_argb_value 0 gap_x 90 ## l|r gap_y 0 ## u|d minimum_size 5 5 maximum_width 0 alignment ml ## ---------- End Window Settings ## ---------- Font Settings ## Force UTF8? requires XFT override_utf8_locale yes use_xft yes xftfont Fira Mono:bold:size=9 xftalpha 1.0 ## --------- End Font Settings ## --------- Color Settings draw_shades yes default_shade_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 border_inner_margin 0 border_outer_margin 0 ## ---------- End Borders Secton ## ---------- Begin Miscellaneous Section background yes use_spacer none no_buffers yes double_buffer yes ## ---------- End Miscellaneous Section update_interval 1 TEXT Tao Te Ching: The Book of the Way ${execi 300 taoread.sh}
~/bin/taoread.sh
NOTE: The path to the text file: tao=/media/5/Conky/PackRat/tao.txt
Change as required.#!/bin/sh # a script for outputting a verse of the Tao Te Ching. tao=/media/5/Conky/PackRat/tao.txt verse=0 # you can chose between /dev/random which is slow but provides ``more random'' # numbers than the faster /dev/urandom dev_rand=/dev/urandom #dev_rand=/dev/random # if we have no arguments we pick a random verse if [ $# -eq 0 ]; then # find a random number between 1 and 81 and save it to verse while [ $verse -lt 1 ] || [ $verse -gt 81 ]; do # take one byte (-n1) from /dev/[u]random and save its decimal value to verse (-e '"%1d"') (see "man hexdump") verse=`hexdump -e '"%1d"' -n1 $dev_rand` done # if we have exactly one argument we pick that verse elif [ $# -eq 1 ]; then # the verse must be a number between 1 and 81 if [ $1 -ge 1 ] && [ $1 -le 81 ]; then verse=$1 else echo "The Tao Te Ching only has 81 verses." >&2 echo "If you require even more wisdom, sit down and think of nothing." >&2 exit 1 fi # we got the wrong number of arguments else echo "Too many arguments." >&2 echo "Use 'tao' for a random verse, or 'tao [1-81]' for a specific verse." >&2 exit 1 fi stop=$(($verse+1)) # look into the text file and search for the verse number sed -n -e '/^---'$verse'---$/,${/^---'$stop'---$/q;p;}' $tao
/media/5/Conky/PackRat/tao.txt
# Tao Te Ching: The Book of The Way # Lao-Tzu # Translated by Stephen Mitchell # Typed out by rhowaldt ---1--- The tao that can be told is not the eternal Tao. The name that can be named is not the eternal Name. The unnamable is the eternally real. Naming is the origin of all particular things. Free from desire, you realize the mystery. Caught in desire, you see only the manifestations. Yet mystery and manifestations arise from the same source. This source is called darkness. Darkness within darkness. The gateway to all understanding. ---2--- When people see some things as beautiful, other things become ugly. When people see some things as good, other things become bad. Being and non-being create each other. Difficult and easy support each other. Long and short define each other. High and low depend on each other. Before and after follow each other. Therefore the Master acts without doing anything and teaches without saying anything. Things arise and she lets them come; things disappear and she lets them go. She has but doesn't possess, acts but doesn't expect. When her work is done, she forgets it. That is why it lasts forever. ---3--- If you overesteem great men, people become powerless. If you overvalue possessions, people begin to steal. The Master leads by emptying people's minds and filling their cores by weakening their ambition and toughening their resolve. He helps people lose everything they know, everything they desire, and creates confusion in those who think that they know. Practice not-doing, and everything will fall into place. ---4--- The Tao is like a well: used but never used up. It is like the eternal void: filled with infinite possibilities. It is hidden but always present. I don't know who gave birth to it. It is older than God. ---5--- The Tao doesn't take sides; it gives birth to both good and evil. The Master doesn't take sides; she welcomes both saints and sinners. The Tao is like a bellows: it is empty yet infinitely capable. The more you use it, the more it produces; the more you talk of it, the less you understand. Hold on to the center. ---6--- The Tao is called the Great Mother: empty yet inexhaustible, it gives birth to infinite worlds. It is always present within you. You can use it any way you want. ---7--- The Tao is infinite, eternal. Why is it eternal? It was never born; thus it can never die. Why is it infinite? It has no desires for itself; thus it is present for all beings. The Master stays behind; that is why she is ahead. She is detached from all things; that is why she is one with them. Because she has let go of herself, she is perfectly fulfilled. ---8--- The supreme good is like water, which nourishes all things without trying to. It is content with the low places that people disdain. Thus it is like the Tao. In dwelling, live close to the ground. In thinking, keep to the simple. In conflict, be fair and generous. In governing, don't try to control. In work, do what you enjoy. In family life, be completely present. When you are content to be simply yourself and don't compare or compete, everybody will respect you. ---9--- Fill your bowl to the brim and it will spill. Keep sharpening your knife and it will blunt. Chase after money and security and your heart will never unclench. Care about people's approval and you will be their prisoner. Do your work, then step back. The only path to serenity. ---10--- Can you coax your mind from its wandering and keep to the original oneness? Can you let your body become supple as a newborn child's? Can you cleanse your inner vision until you see nothing but the light? Can you love people and lead them without imposing your will? Can you deal with the most vital matters by letting events take their course? Can you step back from your own mind and thus understand all things? Giving birth and nourishing, having without possessing, acting with no expectations, leading and not trying to control: this is the supreme virtue. ---11--- We join spokes together in a wheel, but it is the center hole that makes the wagon move. We shape clay into a pot, but it is the emptiness inside that holds whatever we want. We hammer wood for a house, but it is the inner space that makes it livable. We work with being, but non-being is what we use. ---12--- Colors blind the eye. Sounds deafen the ear. Flavors numb the taste. Thoughts weaken the mind. Desires wither the heart. The Master observes the world but trusts his inner vision. He allows things to come and go. His heart is open as the sky. ---13--- Success is as dangerous as failure. Hope is as hollow as fear. What does it mean that success is as dangerous as failure? Whether you go up the ladder or down it, your position is shaky. When you stand with your two feet on the ground, you will always keep your balance. What does it mean that hope is as hollow as fear? Hope and fear are both phantoms that arise from thinking of the self. When we don't see the self as self, what do we have to fear? See the world as your self. Have faith in the way things are. Love the world as your self; then you can care for all things. ---14--- Look, and it can't be seen. Listen, and it can't be heard. Reach, and it can't be grasped. Above, it isn't bright. Below, it isn't dark. Seamless, unnamable, it returns to the realm of nothing. Form that includes all forms, image without an image, subtle, beyond all conception. Approach it and there is no beginning; follow it and there is no end. You can't know it, but you can be it, at ease in your own life. Just realize where you come from: this is the essence of wisdom. ---15--- The ancient Masters were profound and subtle. Their wisdom was unfathomable. There is no way to describe it; all we can describe is their appearance. They were careful as someone crossing an iced-over stream. Alert as a warrior in enemy territory. Courteous as a guest. Fluid as melting ice. Shapable as a block of wood. Receptive as a valley. Clear as a glass of water. Do you have the patience to wait till your mud settles and the water is clear? Can you remain unmoving till the right action arises by itself? The Master doesn't seek fulfillment. Not seeking, not expecting, she is present, and can welcome all things. ---16--- Empty your mind of all thoughts. Let your heart be at peace. Watch the turmoil of beings, but contemplate their return. Each separate being in the universe returns to the common source. Returning to the source is serenity. If you don't realize the source, you stumble in confusion and sorrow. When you realize where you come from, you naturally become tolerant, disinterested, amused, kindhearted as a grandmother, dignified as a king. Immersed in the wonder of the Tao, you can deal with whatever life brings you, and when death comes, you are ready. ---17--- When the Master governs, the people are hardly aware that he exists. Next best is a leader who is loved. Next, one who is feared. The worst is one who is despised. If you don't trust the people, you make them untrustworthy. The Master doesn't talk, he acts. When his work is done, the people say, "Amazing: we did it, all by ourselves!" ---18--- When the great Tao is forgotten, goodness and piety appear. When the body's intelligence declines, cleverness and knowledge step forth. When there is no peace in the family, filial piety begins. When the country falls into chaos, patriotism is born. ---19--- Throw away holiness and wisdom, and people will be a hundred times happier. Throw away morality and justice, and people will do the right thing. Throw away industry and profit, and there won't be any thieves. If these three aren't enough, just stay at the center of the circle and let all things take their course. ---20--- Stop thinking, and end your problems. What difference between yes and no? What difference between success and failure? Must you value what others value, avoid what others avoid? How ridiculous! Other people are excited, as though they were at a parade. I alone don't care, I alone am expressionless, like an infant before it can smile. Other people have what they need; I alone possess nothing. I alone drift about, like someone without a home. I am like an idiot, my mind is so empty. Other people are bright; I alone am dark. Other people are sharp; I alone am dull. Other people have a purpose; I alone don't know. I drift like a wave on the ocean, I blow as aimless as the wind. I am different from ordinary people. I drink from the Great Mother's breasts. ---21--- The Master keeps her mind always at one with the Tao; that is what gives her her radiance. The Tao is ungraspable. How can her mind be at one with it? Because she doesn't cling to ideas. The Tao is dark and unfathomable. How can it make her radiant? Because she lets it. Since before time and space were, the Tao is. It is beyond 'is' and 'is not'. How do I know this is true? I look inside myself and see. ---22--- If you want to become whole, let yourself be partial. If you want to become straight, let yourself be crooked. If you want to become full, let yourself be empty. If you want to be reborn, let yourself die. If you want to be given everything, give everything up. The Master, by residing in the Tao, sets an example for all beings. Because he doesn't display himself, people can see his light. Because he has nothing to prove, people can trust his words. Because he doesn't know who he is, people recognize themselves in him. Because he has no goal in mind, everything he does succeeds. When the ancient Masters said, "If you want to be given everything, give everything up," they weren't using empty phrases. Only in being lived by the Tao can you be truly yourself. ---23--- Express yourself completely, then keep quiet. Be like the forces of nature: when it blows, there is only wind; when it rains, there is only rain; when the clouds pass, the sun shines through. If you open yourself to the Tao, you are at one with the Tao and you can embody it completely. If you open yourself to insight, you are at one with insight and you can use it completely. If you open yourself to loss, you are at one with loss and you can accept it completely. Open yourself to the Tao, then trust your natural responses; and everything will fall into place. ---24--- He who stands on tiptoe doesn't stand firm. He who rushes ahead doesn't go far. He who tries to shine dims his own light. He who defines himself can't know who he really is. He who has power over others can't empower himself. He who clings to his work will create nothing that endures. If you want to accord with the Tao, just do your job, then let go. ---25--- There was something formless and perfect before the universe was born. It is serene. Empty. Solitary. Unchanging. Infinite. Eternally present. It is the mother of the universe. For lack of a better name, I call it the Tao. It flows through all things, inside and outside, and returns to the origin of all things. The Tao is great. The universe is great. Earth is great. Man is great. These are the four great powers. Man follows the earth. Earth follows the universe. The universe follows the Tao. The Tao follows only itself. ---26--- The heavy is the root of the light. The unmoved is the source of all movement. Thus the Master travels all day without leaving home. However splendid the views, she stays serenely in herself. Why should the lord of the country flit about like a fool? If you let yourself be blown to and fro, you lose touch with your root. If you let restlessness move you, you lose touch with who you are. ---27--- A good traveler has no fixed plans and is not intent upon arriving. A good artist lets his intuition lead him wherever it wants. A good scientist has freed himself of concept and keeps his mind open to what is. Thus the Master is available to all people and doesn't reject anyone. He is ready to use all situations and doesn't waste anything. This is called embodying the light. What is a good man but a bad man's teacher? What is a bad man but a good man's job? If you don't understand this, you will get lost, however intelligent you are. It is the greatest secret. ---28--- Know the male, yet keep to the female: receive the world in your arms. If you receive the world, the Tao will never leave you and you will be like a little child. Know the white, yet keep to the black: be a pattern for the world. If you are a pattern for the world, the Tao will be strong inside you and there will be nothing you can't do. Know the personal, yet keep to the impersonal: accept the world as it is. If you accept the world, the Tao will be luminous inside you and you will return to your primal self. The world is formed from the void, like utensils from a block of wood. The Master knows the utensils, yet keeps to the block: thus she can use all things. ---29--- Do you want to improve the world? I don't think it can be done. The world is sacred. It can't be improved. If you tamper with it, you'll ruin it. If you treat it like an object, you'll lose it. There is a time for being ahead, a time for being behind; a time for being in motion, a time for being at rest; a time for being vigorous, a time for being exhausted; a time for being safe, a time for being in danger. The Master sees the things as they are, without trying to control them. She lets them go their own way, and resides at the center of the circle. ---30--- Whoever relies on the Tao in governing men doesn't try to force issues or defeat enemies by force of arms. For every force there is a counterforce. Violence, even well intentioned, always rebounds upon oneself. The Master does his job and then stops. He understands that the universe is forever out of control, and that trying to dominate events goes against the current of the Tao. Because he believes in himself, he doesn't try to convince others. Because he is content with himself, he doesn't need others' approval. Because he accepts himself, the whole world accepts him. ---31--- Weapons are the tools of violence; all decent men detest them. Weapons are the tools of fear; a decent man will avoid them except in the direct necessity and, if compelled, will use them only with the utmost restraint. Peace is his highest value. If the peace has been shattered, how can he be content? His enemies are not demons, but human beings like himself. He doesn't wish them personal harm. Nor does he rejoice in victory. How could he rejoice in victory and delight in the slaughter of men? He enters a battle gravely, with sorrow and with great compassion, as if he were attending a funeral. ---32--- The Tao can't be perceived. Smaller than an electron, it contains uncountable galaxies. If powerful men and women could remain centered in the Tao, all things would be in harmony. The world would become a paradise. All people would be at peace, and the law would be written in their hearts. When you have names and forms, know that they are provisional. When you have institutions, know where their functions should end. Knowing when to stop, you can avoid any danger. All things end in the Tao as rivers flow into the sea. ---33--- Knowing others is intelligence; knowing yourself is true wisdom. Mastering others is strength; mastering yourself is true power. If you realize that you have enough, you are truly rich. If you stay in the center and embrace death with your whole heart, you will endure forever. ---34--- The great Tao flows everywhere. All things are born from it, yet is doesn't create them. It pours itself into its work, yet it makes no claim. It nourishes infinite worlds, yet it doesn't hold on to them. Since it is merged with all things and hidden in their hearts, it can be called humble. Since all things vanish into it and it alone endures, it can be called great. It isn't aware of its greatness; thus it is truly great. ---35--- She who is centered in the Tao can go where she wishes, without danger. She perceives the universal harmony, even amid great pain, because she has found peace in her heart. Music or the smell of good cooking may make people stop and enjoy. But words that point to the Tao seem monotonous and without flavor. When you look for it, there is nothing to see. When you listen for it, there is nothing to hear. When you use it, it is inexhaustible. ---36--- If you want to shrink something, you must first allow it to expand. If you want to get rid of something, you must first allow it to flourish. If you want to take something, you must first allow it to be given. This is called the subtle perception of the way things are. The soft overcomes the hard. The slow overcomes the fast. Let your workings remain a mystery. Just show people the results. ---37--- The Tao never does anything, yet through it all things are done. If powerful men and women could center themselves in it, the world would be transformed by itself, in its natural rhythms. People would be content with their simple, everyday lives, in harmony, and free of desire. When there is no desire, all things are at peace. ---38--- The Master doesn't try to be powerful; thus he is truly powerful. The ordinary man keeps reaching for power; thus he never has enough. The Master does nothing, yet he leaves nothing undone. The ordinary man is always doing things, yet many more are left to be done. The kind man does something, yet something remains undone. The just man does something, and leaves many things to be done. The moral man does something, and when no one responds he rolls up his sleeves and uses force. When the Tao is lost, there is goodness. When goodness is lost, there is morality. When morality is lost, there is ritual. Ritual is the husk of true faith, the beginning of chaos. Therefore the Master concerns himself with the depths and not the surface, with the fruit and not the flower. He has no will of his own. He dwells in reality, and lets all illusions go. ---39--- In harmony with the Tao, the sky is clear and spacious, the earth is solid and full, all creatures flourish together, content with the way they are, endlessly repeating themselves, endlessly renewed. When man interferes with the Tao, the sky becomes filthy, the earth becomes depleted, the equilibrium crumbles, creatures become extinct. The Master views the parts with compassion, because he understands the whole. His constant practice is humility. He doesn't glitter like a jewel but lets himself be shaped by the Tao, as rugged and common as a stone. ---40--- Return is the movement of the Tao. Yielding is the way of the Tao. All things are born of being. Being is born of non-being. ---41--- When a superior man hears of the Tao, he immediately begins to embody it. When an average man hears of the Tao, he half believes it, half doubts it. When a foolish man hears of the Tao, he laughs out loud. If he didn't laugh, it wouldn't be the Tao. Thus it is said: The path into the light seems dark, the path forward seems to go back, the direct path seems long, true power seems weak, true purity seems tarnished, true steadfastness seems changeable, true clarity seems obscure, the greatest art seems unsophisticated, the greatest love seems indifferent, the greatest wisdom seems childish. The Tao is nowhere to be found. Yet it nourishes and completes all things. ---42--- The Tao gives birth to One. One gives birth to Two. Two gives birth to Three. Three gives birth to all things. All things have their backs to the female and stand facing the male. When male and female combine, all things achieve harmony. Ordinary men hate solitude. But the Master makes use of it, embracing his aloneness, realizing he is one with the whole universe. ---43--- The gentlest thing in the world overcomes the hardest thing in the world. That which has no substance enters where there is no space. This shows the value of non-action. Teaching without words, performing without actions: that is the Master's way. ---44--- Fame or integrity: which is more important? Money or happiness: which is more valuable? Success or failure: which is more destructive? If you look to others for fulfillment, you will never truly be fulfilled. If you happiness depends on money, you will never be happy with yourself. Be content with what you have; rejoice in the way things are. When you realize there is nothing lacking, the whole world belongs to you. ---45--- True perfection seems imperfect, yet it is perfectly itself. True fullness seems empty, yet it is fully present. True straightness seems crooked. True wisdom seems foolish. True art seems artless. The Master allows things to happen. She shapes events as they come. She steps out of the way and lets the Tao speak for itself. ---46--- When a country is in harmony with the Tao, the factories make trucks and tractors. When a country goes counter to the Tao, warheads are stockpiled outside the cities. There is no greater illusion than fear, no greater wrong than preparing to defend yourself, no greater misfortune than having an enemy. Whoever can see through all fear will always be safe. ---47--- Without opening your door, you can open your heart to the world. Without looking out your window, you can see the essence of the Tao. The more you know, the less you understand. The Master arrives without leaving, sees the light without looking, achieves without doing a thing. ---48--- In the pursuit of knowledge, every day something is added. In the practice of the Tao, every day something is dropped. Less and less do you need to force things, until finally you arrive at non-action. When nothing is done, nothing is left undone. True mastery can be gained by letting things go their own way. It can't be gained by interfering. ---49--- The Master has no mind of her own. She works with the mind of the people. She is good to people who are good. She is also good to people who aren't good. This is true goodness. She trusts people who are trustworthy. She also trusts people who aren't trustworthy. This is true trust. The Master's mind is like space. People don't understand her. They look to her and wait. She treats them like her own children. ---50--- The Master gives himself up to whatever the moment brings. He knows that he is going to die, and he has nothing left to hold on to: no illusions in his mind, no resistances in his body. He doesn't think about his actions; they flow from the core of his being. He holds nothing back from life; therefore he is ready for death, as a man is ready for sleep after a good day's work. ---51--- Every being in the universe is an expression of the Tao. It springs into existence, unconscious, perfect, free, takes on a physical body, lets circumstances complete it. That is why every being spontaneously honors the Tao. The Tao gives birth to all beings, nourishes them, maintains them, cares for them, comforts them, protects them, takes them back to itself, creating without possessing, acting without expecting, guiding without interfering. That is why love of the Tao is in the very nature of things. ---52--- In the beginning was the Tao. All things issue from it; all things return to it. To find the origin, trace back the manifestations. When you recognize the children and find the mother, you will be free of sorrow. If you close your mind in judgments and traffic with desires, your heart will be troubled. If you keep your mind from judging and aren't led by the senses, your heart will find peace. Seeing into darkness is clarity. Knowing how to yield is strength. Use your own light and return to the source of the light. This is called practicing eternity. ---53--- The great Way is easy, yet people prefer the side paths. Be aware when things are out of balance. Stay centered within the Tao. When rich speculators prosper while farmers lose their land; when government officials spend money on weapons instead of cures; when the upper class is extravagant and irresponsible while the poor have nowhere to turn-- all this is robbery and chaos. It is not in keeping with the Tao. ---54--- Whoever is planted in the Tao will not be rooted up. Whoever embraces the Tao will not slip away. Her name will be held in honor from generation to generation. Let the Tao be present in your life and you will become genuine. Let it be present in your family and your family will flourish. Let it be present in your country and your country will be an example to all countries in the world. Let it be present in the universe and the universe will sing. How do i know this is true? By looking inside myself. ---55--- He who is in harmony with the Tao is like a newborn child. Its bones are soft, its muscles are weak, but its grip is powerful. It doesn't know the union of male and female, yet its penis can stand erect, so intense is its vital power. It can scream its head off all day, yet it never becomes hoarse, so complete is its harmony. The Master's power is like this. He lets all things come and go effortlessly, without desire. He never expects results; thus he is never disappointed. He is never disappointed; thus his spirit never grows old. ---56--- Those who know don't talk. Those who talk don't know. Close your mouth, block off your senses, blunt your sharpness, untie your knots, soften your glare, settle your dust. This is the primal identity. Be like the Tao. It can't be approached or withdrawn from, benefited or harmed, honored or brought into disgrace. It gives itself up continually. That is why it endures. ---57--- If you want to be a great leader, you must learn to follow the Tao. Stop trying to control. Let go of fixed plans and concepts, and the world will govern itself. The more prohibitions you have, the less virtuous people will be. The more weapons you have, the less secure people will be. The more subsidies you have, the less self-reliant people will be. Therefore the Master says: I let go of the law, and people become honest. I let go of economics, and people become prosperous. I let go of religion, and people become serene. I let go of all desires for the common good, and the good becomes common as grass. ---58--- If a country is governed with tolerance, the people are comfortable and honest. If a country is governed with repression, the people are depressed and crafty. When the will to power is in charge, the higher the ideals, the lower the results. Try to make people happy, and you lay the groundwork for misery. Try to make people moral, and you lay the groundwork for vice. Thus the Master is content to serve as an example and not to impose her will. She is pointed, but doesn't pierce. Straightforward, but supple. Radiant, but easy on the eyes. ---59--- For governing a country well there is nothing better than moderation. The mark of a moderate man is freedom from his own ideas. Tolerant like the sky, all-pervading like sunlight, firm like a mountain, supple like a tree in the wind, he has no destination in view and makes use of anything life happens to bring his way. Nothing is impossible for him. Because he has let go, he can care for the people's welfare as a mother cares for her child. ---60--- Governing a large country is like frying a small fish. You spoil it with too much poking. Center your country in the Tao and evil will have no power. Not that it isn't there, but you'll be able to step out of its way. Give evil nothing to oppose and it will disappear by itself. ---61--- When a country obtains great power, it becomes like the sea: all streams run downward into it. The more powerful it grows, the greater the need for humility. Humility means trusting the Tao, thus never needing to be defensive. A great nation is like a great man: When he makes a mistake, he realizes it. Having realized it, he admits it. Having admitted it, he corrects it. He considers those who point out his faults as his most benevolent teachers. He thinks of his enemy as the shadow that he himself casts. If a nation is centered in the Tao, if it nourishes its own people and doesn't meddle in the affairs of others, it will be a light to all nations in the world. ---62--- The Tao is the center of the universe, the good man's treasure, the bad man's refuge. Honors can be bought with fine words, respect can be won with good deeds; but the Tao is beyond all value, and no one can achieve it. Thus, when a new leader is chosen, don't offer to help him with your wealth and expertise. Offer instead to teach him about the Tao. Why didn't the ancient Masters esteem the Tao? Because, being one with the Tao, when you seek, you find; and when you make a mistake, you are forgiven. That is why everybody loves it. ---63--- Act without doing; work without effort. Think of the small as large and the few as many. Confront the difficult while it is still easy; accomplish the great task by a series of small acts. The Master never reaches for the great; thus she achieves greatness. When she runs into a difficulty, she stops and gives herself to it. She doesn't cling to her own comfort; thus problems are no problem for her. ---64--- What is rooted is easy to nourish. What is recent is easy to correct. What is brittle is easy to break. What is small is easy to scatter. Prevent trouble before it arises. Put things in order before they exist. The giant pine tree grows from a tiny sprout. The journey of a thousand miles starts from beneath your feet. Rushing into action, you fail. Trying to grasp things, you lose them. Forcing a project to completion, you ruin what was almost ripe. Therefore the Master takes action by letting things take their course. He remains as calm at the end as at the beginning. He has nothing, thus has nothing to lose. What he desires is non-desire; what he learns is to unlearn. He simply reminds people of who they have always been. He cares about nothing but the Tao. Thus he can care for all things. ---65--- The ancient Masters didn't try to educate the people, but kindly taught them to not-know. When they think that they know the answers, people are difficult to guide. When they know that they don't know, people can find their own way. If you want to learn to govern, avoid being clever or rich. The simplest pattern is the clearest. Content with an ordinary life, you can show all people the way back to their own true nature. ---66--- All streams flow to the sea because it is lower than they are. Humility gives it its power. If you want to govern the people, you must place yourself below them. If you want to lead the people, you must learn how to follow them. The Master is above the people, and no one feels oppressed. She goes ahead of the people, and no one feels manipulated. The whole world is grateful to her. Because she competes with no one, no one can compete with her. ---67--- Some say that my teaching is nonsense. Others call it lofty but impractical. But to those who have looked inside themselves, this nonsense makes perfect sense. And to those who put it into practice, this loftiness has roots that go deep. I have just three things to teach: simplicity, patience, compassion. These three are your greatest treasures. Simple in actions and in thoughts, you return to the source of being. Patient with both friends and enemies, you accord with the way things are. Compassionate toward yourself, you reconcile all beings in the world. ---68--- The best athlete wants his opponent at his best. The best general enters the mind of his enemy. The best businessman serves the communal good. The best leader follows the will of the people. All of them embody the virtue of non-competition. Not that they don't love to compete, but they do it in the spirit of play. In this they are like children and in harmony with the Tao. ---69--- The generals have a saying: "Rather than make the first move it is better to wait and see. Rather than advance and inch it is better to retreat a yard." This is called going forward without advancing, pushing back without using weapons. There is no greater misfortune than underestimating your enemy. Underestimating your enemy means thinking that he is evil. Thus you destroy your three treasures and become an enemy yourself. When two great forces oppose each other, the victory will go to the one that knows how to yield. ---70--- My teachings are easy to understand and easy to put into practice. Yet your intellect will never grasp them, and if you try to practice them, you'll fail. My teachings are older than the world. How can you grasp their meaning? If you want to know me, look inside your heart. ---71--- Not-knowing is true knowledge. Presuming to know is a disease. First realize that you are sick; then you can move toward health. The Master is her own physician. She has healed herself of all knowing. Thus she is truly whole. ---72--- When they lose their sense of awe, people turn to religion. When they no longer trust themselves, they begin to depend upon authority. Therefore the Master steps back so that people won't be confused. He teaches without a teaching, so that people will have nothing to learn. ---73--- The Tao is always at ease. It overcomes without competing, answers without speaking a word, arrives without being summoned, accomplishes without a plan. Its net covers the whole universe. And though its meshes are wide, it doesn't let a thing slip through. ---74--- If you realize that all things change, there is nothing you will try to hold on to. If you aren't afraid of dying, there is nothing you can't achieve. Trying to control the future is like trying to take the master carpenter's place. When you handle the master carpenter's tools, chances are that you'll cut your hand. ---75--- When taxes are too high, people go hungry. When the government is too intrusive, people lose their spirit. Act for the people's benefit. Trust them; leave them alone. ---76--- Men are born soft and supple; dead, they are stiff and hard. Plants are born tender and pliant; dead, they are brittle and dry. Thus whoever is stiff and inflexible is a disciple of death. Whoever is soft and yielding is a disciple of life. The hard and stiff will be broken. The soft and subtle will prevail. ---77--- As it acts in the world, the Tao is like the bending of a bow. The top is bent downward; the bottom is bent up. It adjusts excess and deficiency so that there is perfect balance. It takes from what is too much and gives to what isn't enough. Those who try to control, who use force to protect their power, go against the direction of the Tao. They take from those who don't have enough and give to those who have far too much. The Master can keep giving because there is no end to her wealth. She acts without expectation, succeeds without taking credit, and doesn't think that she is better than anyone else. ---78--- Nothing in the world is as soft and yielding as water. Yet for dissolving the hard and inflexible, nothing can surpass it. The soft overcomes the hard; the gentle overcomes the rigid. Everyone knows this is true, but few can put it into practice. Therefore the Master remains serene in the midst of sorrow. Evil cannot enter his heart. Because he has given up helping, he is people's greatest help. True words seem paradoxical. ---79--- Failure is an opportunity. If you blame someone else, there is no end to the blame. Therefore the Master fulfills her own obligations and corrects her own mistakes. She does what she needs to do and demands nothing of others. ---80--- If a country is governed wisely, its inhabitants will be content. They enjoy the labor of their hands and don't waste time inventing labor-saving machines. Since they dearly love their homes, they aren't interested in travel. There may be a few wagons and boats, but these don't go anywhere. There may be an arsenal of weapons, but nobody ever uses them. People enjoy their food, take pleasure in being with their families, spend weekends working in their gardens, delight in the doings of the neighborhood. And even though the next country is so close that people can hear its roosters crowing and its dogs barking, they are content to die of old age without ever having gone to see it. ---81--- True words aren't eloquent; eloquent words aren't true. Wise men don't need to prove their point; men who need to prove their point aren't wise. The Master has no possessions. The more he does for others, the happier he is. The more he gives to others, the wealthier he is. The Tao nourishes by not forcing. By not dominating, the Master leads. -------
Somehow your response got buried, or I scrolled passed it or something.
This works great. Thanks.
And because I can't leave well enough alone, I'm going to play around with it and see if I can display a tad more text and get the colors to match my conky, also adjust the on-screen placement.
EDIT: Ok so looking at the .sh script, it randomly displays 1 of the 81 verses of the Tao. Could some script wizard alter so it displays (random + next) verse?
Meaning if it randomly display verse 17, then also display 18
same for if it pulls verse 53, then also display 54
and so on.
Last edited by Temetka (2017-08-29 01:32:53)
The meaning of life is to just be alive. It is so plain and so obvious
and so simple. And yet everybody rushes aroound in a great panic
as if it were necessary to achieve something beyond themselves.
- Alan Watts
Offline
^ Just change this line...
stop=$(($verse+2))
I don't know what happens if it is the last verse though!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^ Ahhhh yes, the last verse trick! Time will tell.
@ Temetka - That's OK, I had forgotten about it. Me and my forgetter, what a pair.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline