Closed kekePower closed 5 years ago
Can you share your config? I'm guessing it can't convert one of the settings to new syntax.
background yes
short_units yes
cpu_avg_samples 1
net_avg_samples 1
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
font 8x12
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont gentium:size=12
#ftfont DejaVu Sans:size=10
xftfont DejaVu Sans:bold:size=9
#xftfont DejaVu Sans:size=9
# Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
own_window yes
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar
# Text alpha when using Xft
xftalpha 1.0
#on_bottom no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 5 5
maximum_width 180
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
#border_margin 10
# border width
border_width 2
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
color2 ffffff
color3 ffffff
color4 yellow
color8 77ccff
color9 5599cc
# Text alignment, other possible values are commented
# alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 10
gap_y 20
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# Subtract file system buffers from used memory?
no_buffers yes
# if_up_strictness link: up | link | address
if_up_strictness address
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
## antiX additives examples. Add below Text##
##Battery examples##
##${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}%
##${color}battery:${color} ${battery}
#${color}ACPI Battery: ${color}$battery
#${battery_bar 11,0}
##Wireless example##
#${color}Wireless:
#${color}essid: ${wireless_essid wlan0}
#${color}IP:${color} ${addr wlan0}
#${color}speed: ${color} ${wireless_bitrate wlan0}
#${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
# stuff after 'TEXT' will be formatted on screen
TEXT
${color3}${alignc}Mageia 7
${color}${alignc}${execi 1000 hostname}
${color8}$alignc${font DejaVu Sans:size=12}${time %H:%M} $font
${color}${alignc}${time %a %d %b 1%Y}
${color}${alignc}Uptime: $uptime
${color}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
${color}res:${alignr}${color3}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${color}dpi:${alignr}${color3}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
${color}Automount: ${alignr}${color3}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
${color}Freq:${color3}${alignr}${freq}
${color}Arch:${color3}${alignr}${execi 1000 uname -m}
# ${color}CPU temp:${alignr}${color3}${execi 2 ~/bin/cputemp}
${color}CPU:${alignr}${color3}${cpu}${color}%
${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc}
${color}Disk:${alignr}${color3}${diskio}
${color}${alignr}${diskiograph 30,170 5599cc 5599cc}${if_up enp0s25}
${color}enp0s25 up: $alignr${color3}${upspeed enp0s25}
${color}$alignr${upspeedgraph enp0s25 30,170 5599cc 5599cc}
${color}enp0s25 down: $alignr${color3} ${downspeed enp0s25}
${color2}$alignr${downspeedgraph enp0s25 30,170 5599cc 5599cc}${endif}${if_up enp3s0}
${color}enp3s0 up: $alignr${color3} ${upspeed enp3s0}
${color}$alignr${upspeedgraph enp3s0 30,170 5599cc 5599cc}
${color}enp3s0 down: $alignr${color3} ${downspeed enp3s0}
${color2}$alignr${downspeedgraph enp3s0 30,170 5599cc 5599cc}${endif}${if_up vmnet10}
${color}vmnet1 up: $alignr${color3} ${upspeed vmnet1}
${color}$alignr${upspeedgraph vmnet1 30,170 5599cc 5599cc}
${color}vmnet1 down: $alignr${color3} ${downspeed vmnet1}
${color2}$alignr${downspeedgraph vmnet1 30,170 5599cc 5599cc}${endif}${if_up vmnet80}
${color}vmnet8 up: $alignr${color3} ${upspeed vmnet8}
${color}$alignr${upspeedgraph vmnet8 30,170 5599cc 5599cc}
${color}vmnet8 down: $alignr${color3} ${downspeed vmnet8}
${color2}$alignr${downspeedgraph vmnet8 30,170 5599cc 5599cc}${endif}${if_up wlp3s0}
${color}wlp3s0 up: $alignr${color3} ${upspeed wlp3s0}
${color2}$alignr${upspeedgraph wlp3s0 30,170 5599cc 5599cc}
${color}wlp3s0 down: $alignr${color3} ${downspeed wlp3s0}
${color2}$alignr${downspeedgraph wlp3s0 30,170 5599cc 5599cc}${endif}${if_up wlan1}
${color}wlan1 up: $alignr${color3} ${upspeed wlan1}
${color2}$alignr${upspeedgraph wlan1 30,170 5599cc 5599cc}
${color}wlan1 down: $alignr${color3} ${downspeed wlan1}
${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
${color}${alignr}${color8}Used / Total
${color}RAM:${alignr}$mem ${color3} /${color} $memmax
${color}Swap:${alignr}$swap ${color3} /${color} $swapmax
${color}root /:${alignr}${fs_used /} ${color3} /${color} ${fs_size /}
${color}/home:${alignr}${fs_used /home} ${color3} /${color} ${fs_size /home}
${color}/share:${alignr}${fs_used /share} ${color3} /${color} ${fs_size /share}
${color3}${alignc}${execi 1000 persist-enabled}
${color}Linux ${kernel}
# ${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}
#${color}Linux ${kernel}
Can you try this config?
conky.config = {
background = true,
short_units = true,
cpu_avg_samples = 1,
net_avg_samples = 1,
out_to_console = false,
-- X font when Xft is disabled, you can pick one with program xfontsel
--font 7x12
--font 6x10
--font 7x13
font = '8x12',
--font 7x12
--font *mintsmild.se*
--font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
--font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
-- Use Xft?
use_xft = true,
-- Xft font when Xft is enabled
--xftfont gentium:size=12
--ftfont DejaVu Sans:size=10
font = 'DejaVu Sans:bold:size=9',
--xftfont DejaVu Sans:size=9
-- Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
own_window = true,
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,skip_taskbar',
-- Text alpha when using Xft
xftalpha = 1.0,
--on_bottom no
-- mail spool
mail_spool = '$MAIL',
-- Update interval in seconds
update_interval = 1,
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- Minimum size of text area
minimum_width = 5, minimum_height = 5,
maximum_width = 180,
-- Draw shades?
draw_shades = false,
-- Draw outlines?
draw_outline = false,
-- Draw borders around text
draw_borders = false,
-- Stippled borders?
stippled_borders = 0,
-- border margins
--border_margin 10
-- border width
border_width = 2,
-- Default colors and also border colors
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
color2 = '#ffffff',
color3 = '#ffffff',
color4 = 'yellow',
color8 = '#77ccff',
color9 = '#5599cc',
-- Text alignment, other possible values are commented
-- alignment top_left
alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right
-- Gap between borders of screen and text
gap_x = 10,
gap_y = 20,
-- Add spaces to keep things from moving about? This only affects certain objects.
use_spacer = 'right',
-- Subtract file system buffers from used memory?
no_buffers = true,
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- set to yes if you want all text to be in uppercase
uppercase = false,
-- boinc (seti) dir
-- seti_dir /opt/seti
-- Possible variables to be used:
-- Variable Arguments Description
-- acpiacadapter ACPI ac adapter state.
-- acpifan ACPI fan state
-- acpitemp ACPI temperature.
-- adt746xcpu CPU temperature from therm_adt746x
-- adt746xfan Fan speed from therm_adt746x
-- battery (num) Remaining capasity in ACPI or APM
-- battery. ACPI battery number can be
-- given as argument (default is BAT0).
-- buffers Amount of memory buffered
-- cached Amount of memory cached
-- color (color) Change drawing color to color
-- cpu CPU usage in percents
-- cpubar (height) Bar that shows CPU usage, height is
-- bar's height in pixels
-- downspeed net Download speed in kilobytes
-- downspeedf net Download speed in kilobytes with one
-- decimal
-- exec shell command Executes a shell command and displays
-- the output in torsmo. warning: this
-- takes a lot more resources than other
-- variables. I'd recommend coding wanted
-- behaviour in C and posting a patch :-).
-- execi interval, shell Same as exec but with specific interval.
-- command Interval can't be less than
-- update_interval in configuration.
-- fs_bar (height), (fs) Bar that shows how much space is used on
-- a file system. height is the height in
-- pixels. fs is any file on that file
-- system.
-- fs_free (fs) Free space on a file system available
-- for users.
-- fs_free_perc (fs) Free percentage of space on a file
-- system available for users.
-- fs_size (fs) File system size
-- fs_used (fs) File system used space
-- hr (height) Horizontal line, height is the height in
-- pixels
-- i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
-- may be omitted if you have only one I2C
-- device. type is either in (or vol)
-- meaning voltage, fan meaning fan or temp
-- meaning temperature. n is number of the
-- sensor. See /sys/bus/i2c/devices/ on
-- your local computer.
-- kernel Kernel version
-- loadavg (1), (2), (3) System load average, 1 is for past 1
-- minute, 2 for past 5 minutes and 3 for
-- past 15 minutes.
-- machine Machine, i686 for example
-- mails Mail count in mail spool. You can use
-- program like fetchmail to get mails from
-- some server using your favourite
-- protocol. See also new_mails.
-- mem Amount of memory in use
-- membar (height) Bar that shows amount of memory in use
-- memmax Total amount of memory
-- memperc Percentage of memory in use
-- new_mails Unread mail count in mail spool.
-- nodename Hostname
-- outlinecolor (color) Change outline color
-- pre_exec shell command Executes a shell command one time before
-- torsmo displays anything and puts output
-- as text.
-- processes Total processes (sleeping and running)
-- running_processes Running processes (not sleeping),
-- requires Linux 2.6
-- shadecolor (color) Change shading color
-- stippled_hr (space), Stippled (dashed) horizontal line
-- (height)
-- swapbar (height) Bar that shows amount of swap in use
-- swap Amount of swap in use
-- swapmax Total amount of swap
-- swapperc Percentage of swap in use
-- sysname System name, Linux for example
-- time (format) Local time, see man strftime to get more
-- information about format
-- totaldown net Total download, overflows at 4 GB on
-- Linux with 32-bit arch and there doesn't
-- seem to be a way to know how many times
-- it has already done that before torsmo
-- has started.
-- totalup net Total upload, this one too, may overflow
-- updates Number of updates (for debugging)
-- upspeed net Upload speed in kilobytes
-- upspeedf net Upload speed in kilobytes with one
-- decimal
-- uptime Uptime
-- uptime_short Uptime in a shorter format
-- seti_prog Seti@home current progress
-- seti_progbar (height) Seti@home current progress bar
-- seti_credit Seti@hoome total user credit
--# antiX additives examples. Add below Text##
--#Battery examples##
--#${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}%
--#${color}battery:${color} ${battery}
--${color}ACPI Battery: ${color}$battery
--${battery_bar 11,0}
--#Wireless example##
--${color}Wireless:
--${color}essid: ${wireless_essid wlan0}
--${color}IP:${color} ${addr wlan0}
--${color}speed: ${color} ${wireless_bitrate wlan0}
--${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
-- stuff after 'TEXT' will be formatted on screen
};
conky.text = [[
${color3}${alignc}Mageia 7
${color}${alignc}${execi 1000 hostname}
${color8}$alignc${font DejaVu Sans:size=12}${time %H:%M} $font
${color}${alignc}${time %a %d %b 1%Y}
${color}${alignc}Uptime: $uptime
${color}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
${color}res:${alignr}${color3}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${color}dpi:${alignr}${color3}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
${color}Automount: ${alignr}${color3}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
${color}Freq:${color3}${alignr}${freq}
${color}Arch:${color3}${alignr}${execi 1000 uname -m}
# ${color}CPU temp:${alignr}${color3}${execi 2 ~/bin/cputemp}
${color}CPU:${alignr}${color3}${cpu}${color}%
${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc}
${color}Disk:${alignr}${color3}${diskio}
${color}${alignr}${diskiograph 30,170 5599cc 5599cc}${if_up enp0s25}
${color}enp0s25 up: $alignr${color3}${upspeed enp0s25}
${color}$alignr${upspeedgraph enp0s25 30,170 5599cc 5599cc}
${color}enp0s25 down: $alignr${color3} ${downspeed enp0s25}
${color2}$alignr${downspeedgraph enp0s25 30,170 5599cc 5599cc}${endif}${if_up enp3s0}
${color}enp3s0 up: $alignr${color3} ${upspeed enp3s0}
${color}$alignr${upspeedgraph enp3s0 30,170 5599cc 5599cc}
${color}enp3s0 down: $alignr${color3} ${downspeed enp3s0}
${color2}$alignr${downspeedgraph enp3s0 30,170 5599cc 5599cc}${endif}${if_up vmnet10}
${color}vmnet1 up: $alignr${color3} ${upspeed vmnet1}
${color}$alignr${upspeedgraph vmnet1 30,170 5599cc 5599cc}
${color}vmnet1 down: $alignr${color3} ${downspeed vmnet1}
${color2}$alignr${downspeedgraph vmnet1 30,170 5599cc 5599cc}${endif}${if_up vmnet80}
${color}vmnet8 up: $alignr${color3} ${upspeed vmnet8}
${color}$alignr${upspeedgraph vmnet8 30,170 5599cc 5599cc}
${color}vmnet8 down: $alignr${color3} ${downspeed vmnet8}
${color2}$alignr${downspeedgraph vmnet8 30,170 5599cc 5599cc}${endif}${if_up wlp3s0}
${color}wlp3s0 up: $alignr${color3} ${upspeed wlp3s0}
${color2}$alignr${upspeedgraph wlp3s0 30,170 5599cc 5599cc}
${color}wlp3s0 down: $alignr${color3} ${downspeed wlp3s0}
${color2}$alignr${downspeedgraph wlp3s0 30,170 5599cc 5599cc}${endif}${if_up wlan1}
${color}wlan1 up: $alignr${color3} ${upspeed wlan1}
${color2}$alignr${upspeedgraph wlan1 30,170 5599cc 5599cc}
${color}wlan1 down: $alignr${color3} ${downspeed wlan1}
${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
${color}${alignr}${color8}Used / Total
${color}RAM:${alignr}$mem ${color3} /${color} $memmax
${color}Swap:${alignr}$swap ${color3} /${color} $swapmax
${color}root /:${alignr}${fs_used /} ${color3} /${color} ${fs_size /}
${color}/home:${alignr}${fs_used /home} ${color3} /${color} ${fs_size /home}
${color}/share:${alignr}${fs_used /share} ${color3} /${color} ${fs_size /share}
${color3}${alignc}${execi 1000 persist-enabled}
${color}Linux ${kernel}
# ${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}
#${color}Linux ${kernel}
]];
Thanks, that worked like a charm.
Cheers, Stig
Issue
My config loaded fine with version 1.10.8.
Information