You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(2) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(12) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(3) |
Aug
(5) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(2) |
Jul
(10) |
Aug
(14) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(9) |
May
(3) |
Jun
(4) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
(3) |
Dec
(2) |
| 2011 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(1) |
May
(7) |
Jun
(20) |
Jul
(3) |
Aug
(7) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(6) |
Apr
(3) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(1) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
(6) |
Oct
|
Nov
(9) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(8) |
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ema...@ao...> - 2024-04-22 11:04:18
|
Dears,
might be this is a really small issue, I may just overlook something, but after about two weeks of trying, I have no further idea.
I am running conky on a Raspberry PI 4B with an installed X11 and Lightdm I have disabled Wayland so I am really running XThis is the OS installed: Linux squeeze 6.6.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/LinuxDebian Bookworm
The PI has a 3.5" Touchscreen, X comes up with all colors, so background window, cursor, the raspberry as a start button is really red... and so on.So color support is there.
Display is able to show the normal color range display usually show.
Conky is running fine, apart from I am unable to change the color settings inside the conky window.
For the window itself, I can set any color I like and it works.
I tried pink, white, grey... others more, all fine.But if I set a color in the text area, it will be ignored, whatever I tried.I tried:Setting the colors with variables like below.-- Colors
default_color = '#D3D3D3' -- Light Grey
default_outline_color = '#000000' -- Black
default_shade_color = '#000000' -- Black
color1 = 'FF8C00' -- Dark Orange
color2 = 'DC143C' -- Crimoson Red
color3 = 'FF4500' -- Orange Red
color4 = 'FFA500' -- Orange
color5 = '00008B' -- Dark Blue
conky.text = [[
${color1}Conky ${Conky_version} $sysname $nodename $kernel $machine
${color2}Frequency (in Ghz):$freq_g ${color yellow}Uptime:$color $uptime
${color3}CPU Usage: $cpu% ${cpubar 4}
${color4}RAM Usage: $mem/$memmax - $memperc% ${membar 4}
${color5}Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}]]
All text... etc. will be shown in black.If I set the window background to black, everything disappears.
I tried hex with the '#' and without.I tried names accourding to /usr/X11/rgb.txt.
Result is always the same, it'll come up with black text and that's it.
I also tried directly in the text like shown below (different tries so different examples)
conky.text = [[
${"DarkOrange"}Conky ${Conky_version} $sysname $nodename $kernel $machine
${ '#DC143C'}Frequency (in Ghz):$freq_g ${color yellow}Uptime:$color $uptime
${"Orange"}CPU Usage: $cpu% ${cpubar 4}
${"Dark Blue"}RAM Usage: $mem/$memmax - $memperc% ${membar 4}
${'FFA500'}Swap Usage: $swap/$swapmax - $swapperc% ${swapbar 4}]]
Result: See above.All text and bars are shown in black, no change whatever I tried.
Apart from the Windows color it seems no other color is set.I do not get an error message when conky starts, I only have this one /etc/conky/conky.conf.
I have tried some about 10 different configs from pages where one can download conky configs...nothing. No color in the window.
Please find my current config below
conky.config = {
-- Various settings
background = true,
double_buffer = true,
cpu_avg_samples = 2,
net_avg_samples =2,
net_avg_samples = 2,
format_human_readable = true,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
out_to_wayland = false,
total_run_times = 0,
update_interval = 5.0,
-- Placement
alignment = 'top_middle',
gap_x = 0,
gap_y = 0,
maximum_width = 640,
minimum_height = 480,
minimum_width = 630,
-- Graphical
border_width = 1,
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
-- Window
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = false,
own_window_colour = 'FFF5EE',
-- Textual
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
This is the conky versions and what was compiled in:conky 1.18.3 compiled 2023-03-07 for Linux armv7l
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
General:
* math
* hddtemp
* portmon
* IPv6
* wireless
* support for IBM/Lenovo notebooks
* builtin default configuration
* old configuration syntax
* Imlib2
* OSS mixer support
* apcupsd
* iostats
* ncurses
* Internationalization support
X11:
* Xdamage extension
* Xinerama extension (virtual display)
* Xshape extension (click through)
* XDBE (double buffer extension)
* Xft
* ARGB visual
* Own window
* Mouse evenets
Music detection:
* CMUS
* MPD
* MOC
Default values:
* Netdevice: eno1
* Local configfile: $HOME/.conkyrc
* Localedir: /usr/share/locale
* Maximum netdevices: 256
* Maximum text size: 16384
* Size text buffer: 256
Any hint?Anything you would need to know?Many thanks in advance for your kind support.
CheersStefan
|
|
From: Bentley R. <hbr...@gm...> - 2023-05-16 22:10:49
|
hi there. I have built up my conky0rc file and everything works, except for the very last thing at the bottom of the picture. It will not show Updates. I found a web-page for conky exampes. https://www.brettwitty.net/dashboards-with-conky.html . Near the bottom he shows a line in conky to use a python script to be run in conky 1.11.6. BTW, i'm using Debian 11.7, and I corrected the line to the file location in my home folder. ~/.config/conky/scripts/ apt- updates.py. So, the python script is not working. I searched all over Google for why"/usr/lib/update-notifier/apt-check" doesn't work, it doesn't exist. I tried it with "/usr/lib/update- notifier/apt-check -P", and I tried it with "/usr/lib/update- notifier/apt-check --human-readable". I may have typed that last one wrong, but I copied it off the web search and pasted it into the terminal as it was listed. It is not working. if I type /usr/lib/update-notifier/apt-check, it comes back with an error message. APT responded with the following: bntly@Debian11:~$ sudo apt-get install update-notifier-common [sudo] password for bntly: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package update-notifier-common is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: apt-config-auto-update E: Package 'update-notifier-common' has no installation candidate bntly@Debian11:~$ So I attempted installing the replacement package. It ran a auto-config post install and it recommended I keep the original config file. I have searched around trying to find an alternative, and I thought I had one: bntly@Debian11:~$ apt list --upgradable | wc -l WARNING: apt does not have a stable CLI interface. Use with caution in scripts. 1 bntly@Debian11:~$ That is not registering with conky, and it only prints the word "Updates" on the screen. Now, the guy who wrote this posted a screenshot and it shows what the python script has in it, which is Updates: under that Updates and under that Security. To the left of the last two words are 0's (zeros). I hope I covered the basic required information above. The following is my conky0rc config file, seperated with a lot of ###, and followed by his python script. I do appreciate any help. The Update portion is located at the bottom of the script, directs to the apt-updates.py file. I am not a seasoned programmer or anything near a beginners education. I spent five hours going over the conkyrc file before figuring out how to show some options, and then a few more the next day and the next day. I am pleased with with the conky0rc config file, I just cannot figure out why it isn't working. ####################################################################### ############################ --[[ Conky, a system monitor, based on torsmo Any original torsmo code is licensed under the BSD license All code written since the fork of torsmo is licensed under the GPL Please see COPYING for details Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ]] conky.config = { alignment = 'top_left', background = true, border_width = 2, cpu_avg_samples = 1, default_color = 'white', default_outline_color = 'white', default_shade_color = 'white', double_buffer = true, draw_borders = false, draw_graph_borders = false, draw_outline = false, draw_shades = false, extra_newline = false, font = 'DejaVu Sans Mono:size=12', gap_x = 115, gap_y = 57, maximum_width = 400, minimum_height = 400, minimum_width = 5, net_avg_samples = 2, no_buffers = true, out_to_console = false, out_to_ncurses = false, out_to_stderr = false, out_to_x = true, own_window = true, own_window_transparent = true, own_window_argb_visual = true, own_window_class = 'Conky', own_window_type = 'desktop', show_graph_range = false, show_graph_scale = false, stippled_borders = 0, total_run_times = 0, update_interval = 0.75, uppercase = false, use_spacer = 'none', use_xft = true, } conky.text = [[ ${color grey}Info: ${scroll 31 Conky $conky_version - $sysname $nodename $kernel $machine}${color} $hr ${color}${alignc}${font Droid Sans Mono:pixelsize=42}${time %H:%M}${font} ${voffset 5}${alignc}${font Droid Sans Mono:pixelsize=18}${time %A %d %B %Y}${font}${color} $hr ${color}Uptime: ${color grey}${user_time tty2} ${color}Users: ${color grey} ${user_names} ${color}RAM Usage:${color grey} $mem/ $memmax ${color}$memperc% ${membar} ${color}Swap Usage:${color grey} $swap/ $swapmax ${color}$swapperc% ${swapbar} # #cpu0 is all cpu avg. cpuN, N>=1 is individual cores ${color}Processors: ${color grey}CPU1: ${cpu cpu1}% $alignr ${exec awk '/cpu MHz/{i++}i==1{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr${color}${cpubar cpu1 7,142} ${color grey}CPU2: ${cpu cpu2}% $alignr ${exec awk '/cpu MHz/{i++}i==2{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr${color}${cpubar cpu2 7,142} ${color grey}CPU3: ${cpu cpu3}% $alignr ${exec awk '/cpu MHz/{i++}i==3{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr${color}${cpubar cpu3 7,142} ${color grey}CPU4: ${cpu cpu4}% $alignr ${exec awk '/cpu MHz/{i++}i==4{printf "%.f",$4; exit}' /proc/cpuinfo} MHz $alignr${color}${cpubar cpu4 7,142} # ${color grey}Frequency (in GHz):${color grey} ${freq_g} ${color}Temp:${color grey} CPU ${acpitemp}°C ${color grey}NVME ${hwmon 1 temp 2}°C ${hwmon 1 temp 1}°C # $hr ${color}File systems: ${color grey}boot: ${alignc}${color grey}${fs_used /boot}/ ${fs_size /boot}${color} ${fs_bar /boot} ${color grey}read: ${goto 113}${color 00ffff}${diskio_read /boot} ${color grey} ${goto 210}write: ${alignr} ${color ff0000}${diskio_write /boot} ${color grey}efi: ${alignc}${color grey}${fs_used /boot/efi}/ ${fs_size /boot/efi}${color} ${fs_bar /boot/efi} ${color grey}read: ${goto 113}${color 00ffff}${diskio_read /boot/efi} ${color grey} ${goto 210}write: ${alignr} ${color ff0000}${diskio_write /boot/efi} ${color grey}HBjr: ${alignc}${color grey}${fs_used /mnt/HBjr}/ ${fs_size /mnt/HBjr}${color} ${fs_bar /mnt/HBjr} ${color grey}read: ${goto 113}${color 00ffff}${diskio_read nvme0n1p1} ${color grey} ${goto 210}write: ${alignr} ${color ff0000}${diskio_write nvme0n1p1} ${color grey}home: ${alignc}${fs_used /home}/ ${fs_size /home}${color} ${fs_bar /home} ${color grey}read: ${goto 113}${color 00ffff}${diskio_read mmcblk0} ${color grey} ${goto 210}write: ${alignr}${color ff0000}${diskio_write mmcblk0} # ${color}Networking: ${goto 90}${color grey}WiFi Receiving: ${alignr}${downspeed wlp2s0} ${color grey} ${downspeedgraph wlp2s0 42,400 0000ff 00ffff -t} ${goto 90}${color grey}WiFi Sending: ${alignr}${upspeed wlp2s0} ${color grey} ${upspeedgraph wlp2s0 42,400 ff0000 ffff00 -t} $hr # ${color}CPU Usage: PID CPU% MEM% ${color grey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color grey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color grey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} #${color grey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} # ${color}Mem Usage:${color grey} ${color grey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${color grey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${color grey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} #${color grey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4} ${color}Processes:${color grey} $processes ${color}Running:${color grey} $running_processes ${color} # ${color}Updates:${color grey} ${execpi 1800 ~/.config/conky/scripts/apt-updates.py} #is this the time of day it checks for updates? ]] ####################################################################### ######################### ####################################################################### ######################### #!/usr/bin/python3 import subprocess tmp = subprocess.getoutput("/usr/lib/update-notifier/apt-check") # Results are like "10;1" so we split them updates, security = [ int(s) for s in tmp.split(';')] # Change colours for warnings if updates > 100: ucolor = 'red' elif updates > 0: ucolor = 'green' else: ucolor = 'grey' if security > 0: scolor = 'red' else: scolor = 'grey' ucolor = '${color ' + ucolor +'}' scolor = '${color ' + scolor +'}' endcolor = '${color}' print(' {0}{1}{2} updates'.format(ucolor, updates, endcolor)) print(' {0}{1}{2} security updates'.format(scolor, security, endcolor)) |
|
From: stardiviner <num...@gm...> - 2018-04-10 01:05:52
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
When I start "conky" from shell
$ conky
I got error:
#+BEGIN_EXAMPLE
can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory
conky: can't open /proc/apm: No such file or directory
#+END_EXAMPLE
I have following battery fragment:
#+begin_src lua
# Battery: ${apcupsd_charge}
${voffset 140}
${offset 1250}${color1}${font DejaVu Sans Mono:size=8}Battery: ${color2}${battery BAT1}
${offset 1250}${color2}${font DejaVu Sans Mono:size=8}${battery_time BAT1}
${offset 1250}${color2}${font DejaVu Sans Mono:size=8}${battery_bar 6,100 BAT1} ${battery_percent BAT1}%
#+end_src
I try to find those files, but seems not found "BAT0", aslo I have not
specified "BAT0" in my conky config.
#+begin_src shell
ls /sys/class/power_supply/ | grep "BAT"
#+end_src
#+RESULTS[<2018-04-06 10:23:04> ffe9120fc7c9f4905f02fa416d150829ed2c0a76]:
: BAT1
#+begin_src shell
ls /sys/class/power_supply/BAT1
#+end_src
#+RESULTS[<2018-04-06 10:23:39> b9ab96ea25cf3a1d6160c584edf2421d81016a38]:
#+begin_example
alarm
capacity
capacity_level
cycle_count
device
energy_full
energy_full_design
energy_now
manufacturer
model_name
power
power_now
present
serial_number
status
subsystem
technology
type
uevent
voltage_min_design
voltage_now
#+end_example
Does anybody knows what wrong with this?
- --
[ stardiviner ] don't need to convince with trends.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrMDeMACgkQG13xyVro
msOIJwf+OALOzqNjrahNbMZAjFSZQiCVjMHK/tC/CtsovtRJq6FavfUgwkZ0FUfi
xua4kdhCjkT7LyoRZyCikg1HiYmuh4v3bkqMDKoy1uJS4L612TxtGy9LvTJIT1R4
000WcSych4WDuhycgWb8qlPakXW6FuMTvxNehXBQHTDBjW++P7h0gB4h0lvX+LQk
mno2JGlOTS3DDbOMdlrRkcDZU3Vn28IH+OlmoPYGgmCiUIw+CSdF4Y5h25+Rpn53
GKCGBRWg3B7S/o5E7BicyXyL/mID0/oQBP0a8+eHlHPJ+8uiETqG++f1HJMylhIg
MdE/mTS+1O3FG8SwlwH0QLYnLkGENw==
=R0aP
-----END PGP SIGNATURE-----
|
|
From: stardiviner <num...@gm...> - 2018-04-08 14:28:48
|
Why conky shows high I/O when other program has high I/O? I attached an screenshot. |
|
From: Globe T. <its...@ya...> - 2017-12-22 14:43:30
|
Hi, I am modifying some code that I found online and things appear almost fine but i can not figure out an error. The error that I get is; $ conky -c conkyrc-temp conky: Syntax error (conkyrc-temp:3: syntax error near 'false') while reading config file. conky: Assuming it's in old syntax and attempting conversion. conky: desktop window (126) is root window conky: window type - normal conky: drawing to created window (0x2600001) conky: drawing to double buffer conky: unknown variable '$' conky: unknown variable '$' conky: unknown variable '$' conky: unknown variable '$' conky: unknown variable '$' conky: unknown variable '$' conky: unknown variable '$' ................................ I can not figure out where this error is coming from.I have attached the lua and the rc files. Hopefully someone can help with some pointers. Any help iwould be very greatly appreciated. Many thanks in advance! |
|
From: Christian <abe...@fr...> - 2017-12-17 16:27:46
|
Hi, thanks for your answer. So it seems to be a rather widespread phenomenon. It´s a real shame that nothing can be done about it. Merry Christmas to all of you. Rosika |
|
From: <num...@gm...> - 2017-12-17 02:23:15
|
I got same issue,that's why I disable it for now. [stardiviner] <Hack this world!> GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Dec 16, 2017 at 11:27 PM, Christian <abe...@fr...> wrote: > Hi altogether, > > I have issues trying to use* tcp_portmon *within the config. > I´ve already looked around the web and found a user on > https://www.linuxquestions.org/questions/linux-software- > 2/conky-new_mails-and-tcp_portmon-issues-687293/ > who experienced the same issues. Yet he never received an answer. > > So I just want to repeat the topic (with some modification) in the hope > that somebody knows what to do. > > Code: > > ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0} > ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1} > ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2} > ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3} > ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4} > $font${color #009bf9}Outbound Connection ${alignr} Remote > Service/Port$color > ${font Monospace:size=8} ${tcp_portmon 32768 61000 rhost 0} ${alignr} > ${tcp_portmon 32768 61000 rservice 0} > ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 > rservice 1} > ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 > rservice 2} > ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 > rservice 3} > ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 > rservice 4} > > > "Basically, what it does is list five of your incoming and five of your > outgoing connections by domain name and port. > Well, I've noticed that this snippet (probably due to extensive DNS > lookups that it performs?) slows down Conky almost to a halt; > sometimes it takes as much as 10 seconds for it to just redraw its window, > which is quite incredible on my dual-core 2GHz machine! > Er... make that 15 seconds. Also, with the above snippet enabled, Conky > will take as much as 3-4% of processor time, frequently reaching > the first place in my Top window and surpassing even Xorg itself! Needless > to say, all those problems go away if I delete the above snippet from > Conky's config file." > > Can anything be done about it so that conky runs smoothly without the > above mentioned effect? > > Greetings > Rosika > > P.S.: > my system: Linux/Lubuntu 16.04.3 LTS, 64bit > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users > > |
|
From: Christian <abe...@fr...> - 2017-12-16 15:30:38
|
Hi altogether, I have issues trying to use*tcp_portmon *within the config. I´ve already looked around the web and found a user on https://www.linuxquestions.org/questions/linux-software-2/conky-new_mails-and-tcp_portmon-issues-687293/ who experienced the same issues. Yet he never received an answer. So I just want to repeat the topic (with some modification) in the hope that somebody knows what to do. Code: ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0} ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1} ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2} ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3} ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4} $font${color #009bf9}Outbound Connection ${alignr} Remote Service/Port$color ${font Monospace:size=8} ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3} ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4} "Basically, what it does is list five of your incoming and five of your outgoing connections by domain name and port. Well, I've noticed that this snippet (probably due to extensive DNS lookups that it performs?) slows down Conky almost to a halt; sometimes it takes as much as 10 seconds for it to just redraw its window, which is quite incredible on my dual-core 2GHz machine! Er... make that 15 seconds. Also, with the above snippet enabled, Conky will take as much as 3-4% of processor time, frequently reaching the first place in my Top window and surpassing even Xorg itself! Needless to say, all those problems go away if I delete the above snippet from Conky's config file." Can anything be done about it so that conky runs smoothly without the above mentioned effect? Greetings Rosika P.S.: my system: Linux/Lubuntu 16.04.3 LTS, 64bit |
|
From: Hylke H. <hyl...@gm...> - 2016-02-10 16:08:05
|
Hello everyone, Currently I'm having a problem with installing packages from conkyhardcore. Apparently the conkyhardcore ppa is on linux mint 17.3 not supported by trusty. Is there any way I can still download the following packages to my system? conky-all conkyemail conkyforecast Perhaps a different ppa I could use or some way to make conkyhardcore ppa work on my linux mint 17.3 system? I would really like to be able to install this since it's required for a conky configuration I'd like to have on my system. The conky configuration I'm trying to install is called conky ken. I have already installed conky-all package from my repo because apparently that one was available but this is not the case for conkyemail and conkyforecast. Any help would be greatly appreciated. Yours sincerely, Hylke |
|
From: Jeremy N. <nat...@gm...> - 2016-01-22 19:45:47
|
You should be able to add a "blank line" with no calls in between your lines of light grey. At least thats how I would do this. Jeremy On Fri, Jan 22, 2016 at 9:43 AM, Girish T <gir...@gm...> wrote: > Hi, > > I just started using Conky, it awesome. > I would like to alternate text background color of lines. > I want to do this to make my text table clear. > > I would like to alternate between light grey and no color betwen rows. > > Is there a way to do this? > > Regards, > Kanna > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users > > |
|
From: Girish T <gir...@gm...> - 2016-01-22 15:43:43
|
Hi, I just started using Conky, it awesome. I would like to alternate text background color of lines. I want to do this to make my text table clear. I would like to alternate between light grey and no color betwen rows. Is there a way to do this? Regards, Kanna |
|
From: Foppe H. <fo...@he...> - 2016-01-14 20:44:28
|
Hi Jan, Most information I gathered is from https://bbs.archlinux.org/viewtopic.php?id=199217 I quote: Top google result for conky on github is https://github.com/brndnmtthws /conky, where latest version is 1.10.0 a few days ago. https://github.com/brndnmtthws/conky/releases says 1.10.0 uses "new Lua-based config system". I quote again: Actually, it's quite easy: - wrap your config section in conky.config = { ... } - wrap your TEXT section in conky.text = [[ ... ]] - the config options are lookup values and you need to assign the values (i.e. use "=") - each line in the config section ends with "," - replace "yes" and "no" with "true" and "false", resp. (without quotes) - all values except numbers, "true" and "false" need quotes - comments are marked with "--" instead of "#" I can add it doesn't seem to like -- comments in the text section Atatched is a rework of your .conkyrc. Only three errors left for you to Google: conky: Unknown setting 'xftfont' conky: Unknown setting 'border_margin' conky: Unknown setting 'on_bottom' Regards, Foppe Hemminga On 14-01-16 20:06, Jan Holtman wrote: > Who can help me please. > > I have used Conky for a couple of years now and I really like it. > But since upgrading to 15.10, as well on 2 Lubuntu machines as well on 2 > Xubuntu machines I cannot get Conky to work anymore. > > Who can help. I am attaching the .conkyrc file. Also i tried different > .conkyrc configuration files. > Conky without this file works but then it doesn't display much. > > Who knows anybody can help me. > > > Best regards, > > Jan Holtman > > oul...@gm... <mailto:1%3Ao...@gm...> > > <mailto:2%3Aj...@li...> > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > Dit e-mailbericht is verzonden vanaf een virusvrije computer die wordt > beschermd door Avast. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > > > <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > > > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users > |
|
From: Eric S F. <e....@uc...> - 2016-01-14 20:19:44
|
On Thursday, 14 Jan 2016 at 20:06, Jan Holtman wrote: > Who can help me please. > > I have used Conky for a couple of years now and I really like it. > But since upgrading to 15.10, as well on 2 Lubuntu machines as well on 2 > Xubuntu machines I cannot get Conky to work anymore. The format for the conkyrc file has changed significantly although in a straightforward way so you should be able to adapt your existing file easily. The easiest way is to have a look at the default config file in /etc/config/config.conf. -- : Eric S Fraga, GnuPG: 0xFFFCF67D : in Emacs 25.1.50.2 + Ma Gnus v0.14 + evil-git-ff74cfb : BBDB version 3.1.2 (2014-04-28 23:20:47+00:00) |
|
From: Jan H. <oul...@gm...> - 2016-01-14 19:06:56
|
Who can help me please. I have used Conky for a couple of years now and I really like it. But since upgrading to 15.10, as well on 2 Lubuntu machines as well on 2 Xubuntu machines I cannot get Conky to work anymore. Who can help. I am attaching the .conkyrc file. Also i tried different .conkyrc configuration files. Conky without this file works but then it doesn't display much. Who knows anybody can help me. Best regards, Jan Holtman oul...@gm... <1%3Ao...@gm...> <2%3Aj...@li...> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Dit e-mailbericht is verzonden vanaf een virusvrije computer die wordt beschermd door Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> |
|
From: Simon C. <co...@si...> - 2015-08-22 00:49:23
|
On 22/08/15 10:36, Phil wrote: > On Sat, Aug 22, 2015 at 01:59:46AM +1000, Simon Cropper wrote: >> see in-line comments >> >> On 21/08/15 20:03, Phil wrote: >>> On Fri, Aug 21, 2015 at 02:08:08PM +1000, Simon Cropper wrote: >>>> Hello, >>>> >>>> I have set up conky to display important tasks from my todo.txt text >>>> file. This text file has one task for each line (cf. todotxt.com). >>>> >>>> I have created a python script to filter items with due dates. If tasks >>>> exist, the script sends the task to stdout. >>>> >>>> The script works well. I can get customized lists of overdue tasks, >>>> tasks due today and future tasks. >>>> >>>> These subsets of the task file are positioned under appropriate titles. >>>> The problem I have is that I can prevent the script from printing to >>>> stdout but can't get conky not to print the title if nothing is >>>> returned. I have looked around but can't find an example of how to do >>>> this based on the output of a script. >>>> >>>> I have created exit codes (0, a list produced; 1 no list available) but >>>> I can't seem to capture these events. >>>> >>>> Does anyone have an idea or can point me to a working example? >>> You could use $if_match to check for empty output at least. IIRC, >>> something like ${if_match ${exec script.sh} != ""} could work. >> Yeah, you would think this would work but it doesn't. >> >> I tried returning a single character ("#", "1", "-") instead of the >> error code but conky does not work with the != operand. >> >> Following your comment above I tried again and managed to muddle >> something together. The python routine prints the integer 1 to stdout if >> no list is available and conky uses ${if_match ${exec script.sh} != 1}. >> Wierdly if the script prints the character "1" to stdout conky still >> only works if you use ${if_match ${exec script.sh} != 1}. Obviously >> conky automatically converts the numbers characters (string or not) in >> stdout to integers. >> >>>> At the crux of it, I want my titles to disappear when no information is >>>> returned to stdout by a script or alternatively, when a unsuccessful >>>> exit code is detected. >>> AFAIK, there is no way to react upon return values. As a clean solution >>> (which does not lead to complete mess in conkyrc, I would put this all >>> into a wrapper script, and pass it the title to display as a parameter: >>> >>> | #!/bin/bash >>> | title="$1" >>> | shift >>> | items="$(script.sh "$@")" >>> | [[ -n $items ]] || exit 0 >>> | cat <<EOF >>> | $title >>> | \$hr >>> | $items >>> | EOF >>> >>> call with ${execp wrapper.sh "The Title" <script args>}. Does that make >>> sense? >> Makes perfect sense. Had tried to do this already but found I could not >> pass the ${color} and ${hr} commands for the title. I tried all sorts of >> things but all 'commands' were just printed to stdout as written. > But you did notice how I carefully put ${execp} in my example above, > didn't you? If so, maybe you forgot to escape the dollar sign from being > expanded by the script interpreter. "But you did notice how I carefully put ${execp} in my example above, didn't you?" Actually no. Missed that! Makes all the difference. You second option works as well :). Thanks Phil. > > ------------------------------------------------------------------------------ > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users -- Cheers Simon Simon Christopher Cropper Mobile: 0431 821 566 Email: co...@si... <mailto:co...@si...> Online CV: http://www.simonchristophercropper.com/ LinkedIn: http://au.linkedin.com/in/simonchristophercropper/ ResearchGate: https://www.researchgate.net/profile/Simon_Cropper3 |
|
From: Phil <n0...@us...> - 2015-08-22 00:35:35
|
On Sat, Aug 22, 2015 at 01:59:46AM +1000, Simon Cropper wrote: > see in-line comments > > On 21/08/15 20:03, Phil wrote: > > On Fri, Aug 21, 2015 at 02:08:08PM +1000, Simon Cropper wrote: > >> Hello, > >> > >> I have set up conky to display important tasks from my todo.txt text > >> file. This text file has one task for each line (cf. todotxt.com). > >> > >> I have created a python script to filter items with due dates. If tasks > >> exist, the script sends the task to stdout. > >> > >> The script works well. I can get customized lists of overdue tasks, > >> tasks due today and future tasks. > >> > >> These subsets of the task file are positioned under appropriate titles. > >> The problem I have is that I can prevent the script from printing to > >> stdout but can't get conky not to print the title if nothing is > >> returned. I have looked around but can't find an example of how to do > >> this based on the output of a script. > >> > >> I have created exit codes (0, a list produced; 1 no list available) but > >> I can't seem to capture these events. > >> > >> Does anyone have an idea or can point me to a working example? > > You could use $if_match to check for empty output at least. IIRC, > > something like ${if_match ${exec script.sh} != ""} could work. > > Yeah, you would think this would work but it doesn't. > > I tried returning a single character ("#", "1", "-") instead of the > error code but conky does not work with the != operand. > > Following your comment above I tried again and managed to muddle > something together. The python routine prints the integer 1 to stdout if > no list is available and conky uses ${if_match ${exec script.sh} != 1}. > Wierdly if the script prints the character "1" to stdout conky still > only works if you use ${if_match ${exec script.sh} != 1}. Obviously > conky automatically converts the numbers characters (string or not) in > stdout to integers. > > > > >> At the crux of it, I want my titles to disappear when no information is > >> returned to stdout by a script or alternatively, when a unsuccessful > >> exit code is detected. > > AFAIK, there is no way to react upon return values. As a clean solution > > (which does not lead to complete mess in conkyrc, I would put this all > > into a wrapper script, and pass it the title to display as a parameter: > > > > | #!/bin/bash > > | title="$1" > > | shift > > | items="$(script.sh "$@")" > > | [[ -n $items ]] || exit 0 > > | cat <<EOF > > | $title > > | \$hr > > | $items > > | EOF > > > > call with ${execp wrapper.sh "The Title" <script args>}. Does that make > > sense? > > Makes perfect sense. Had tried to do this already but found I could not > pass the ${color} and ${hr} commands for the title. I tried all sorts of > things but all 'commands' were just printed to stdout as written. But you did notice how I carefully put ${execp} in my example above, didn't you? If so, maybe you forgot to escape the dollar sign from being expanded by the script interpreter. |
|
From: Simon C. <co...@si...> - 2015-08-21 16:00:02
|
see in-line comments On 21/08/15 20:03, Phil wrote: > On Fri, Aug 21, 2015 at 02:08:08PM +1000, Simon Cropper wrote: >> Hello, >> >> I have set up conky to display important tasks from my todo.txt text >> file. This text file has one task for each line (cf. todotxt.com). >> >> I have created a python script to filter items with due dates. If tasks >> exist, the script sends the task to stdout. >> >> The script works well. I can get customized lists of overdue tasks, >> tasks due today and future tasks. >> >> These subsets of the task file are positioned under appropriate titles. >> The problem I have is that I can prevent the script from printing to >> stdout but can't get conky not to print the title if nothing is >> returned. I have looked around but can't find an example of how to do >> this based on the output of a script. >> >> I have created exit codes (0, a list produced; 1 no list available) but >> I can't seem to capture these events. >> >> Does anyone have an idea or can point me to a working example? > You could use $if_match to check for empty output at least. IIRC, > something like ${if_match ${exec script.sh} != ""} could work. Yeah, you would think this would work but it doesn't. I tried returning a single character ("#", "1", "-") instead of the error code but conky does not work with the != operand. Following your comment above I tried again and managed to muddle something together. The python routine prints the integer 1 to stdout if no list is available and conky uses ${if_match ${exec script.sh} != 1}. Wierdly if the script prints the character "1" to stdout conky still only works if you use ${if_match ${exec script.sh} != 1}. Obviously conky automatically converts the numbers characters (string or not) in stdout to integers. > >> At the crux of it, I want my titles to disappear when no information is >> returned to stdout by a script or alternatively, when a unsuccessful >> exit code is detected. > AFAIK, there is no way to react upon return values. As a clean solution > (which does not lead to complete mess in conkyrc, I would put this all > into a wrapper script, and pass it the title to display as a parameter: > > | #!/bin/bash > | title="$1" > | shift > | items="$(script.sh "$@")" > | [[ -n $items ]] || exit 0 > | cat <<EOF > | $title > | \$hr > | $items > | EOF > > call with ${execp wrapper.sh "The Title" <script args>}. Does that make > sense? Makes perfect sense. Had tried to do this already but found I could not pass the ${color} and ${hr} commands for the title. I tried all sorts of things but all 'commands' were just printed to stdout as written. > Cheers, Phil > > ------------------------------------------------------------------------------ > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users -- Cheers Simon |
|
From: Phil <n0...@us...> - 2015-08-21 10:21:52
|
On Fri, Aug 21, 2015 at 02:08:08PM +1000, Simon Cropper wrote: > Hello, > > I have set up conky to display important tasks from my todo.txt text > file. This text file has one task for each line (cf. todotxt.com). > > I have created a python script to filter items with due dates. If tasks > exist, the script sends the task to stdout. > > The script works well. I can get customized lists of overdue tasks, > tasks due today and future tasks. > > These subsets of the task file are positioned under appropriate titles. > The problem I have is that I can prevent the script from printing to > stdout but can't get conky not to print the title if nothing is > returned. I have looked around but can't find an example of how to do > this based on the output of a script. > > I have created exit codes (0, a list produced; 1 no list available) but > I can't seem to capture these events. > > Does anyone have an idea or can point me to a working example? You could use $if_match to check for empty output at least. IIRC, something like ${if_match ${exec script.sh} != ""} could work. > At the crux of it, I want my titles to disappear when no information is > returned to stdout by a script or alternatively, when a unsuccessful > exit code is detected. AFAIK, there is no way to react upon return values. As a clean solution (which does not lead to complete mess in conkyrc, I would put this all into a wrapper script, and pass it the title to display as a parameter: | #!/bin/bash | title="$1" | shift | items="$(script.sh "$@")" | [[ -n $items ]] || exit 0 | cat <<EOF | $title | \$hr | $items | EOF call with ${execp wrapper.sh "The Title" <script args>}. Does that make sense? Cheers, Phil |
|
From: Simon C. <co...@si...> - 2015-08-21 05:02:23
|
Hello, I have set up conky to display important tasks from my todo.txt text file. This text file has one task for each line (cf. todotxt.com). I have created a python script to filter items with due dates. If tasks exist, the script sends the task to stdout. The script works well. I can get customized lists of overdue tasks, tasks due today and future tasks. These subsets of the task file are positioned under appropriate titles. The problem I have is that I can prevent the script from printing to stdout but can't get conky not to print the title if nothing is returned. I have looked around but can't find an example of how to do this based on the output of a script. I have created exit codes (0, a list produced; 1 no list available) but I can't seem to capture these events. Does anyone have an idea or can point me to a working example? At the crux of it, I want my titles to disappear when no information is returned to stdout by a script or alternatively, when a unsuccessful exit code is detected. -- Cheers Simon |
|
From: Chris S. <chr...@gm...> - 2015-06-30 20:19:24
|
Hi, I am trying to compile v.1.10.0 (or -rc1) with nVidia enabled, but I am getting a linker error from libXNVCtrl. I was able to compile the 1.9 version from sourceforge just fine. I am using the following cmake options: cmake \ -DBUILD_CURL=ON \ -DBUILD_IMLIB2=ON \ -DBUILD_NVIDIA=ON \ -DBUILD_WEATHER_METAR=ON \ -DBUILD_WEATHER_XOAP=ON \ -DBUILD_WLAN=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ ../ I have also attached the output of the cmake and make applications. Has anyone run into the same problem? Any ideas as to the solution? Best, Chris |
|
From: Baris Y. <on...@gm...> - 2015-06-22 08:18:32
|
ok, thanks. Baris Dr. Barış Yazıcı Instructor Middle East Technical University Department of Industrial Design On Mon, Jun 22, 2015 at 3:50 AM, Phil <n0...@us...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, Jun 17, 2015 at 06:46:59PM +0300, Baris Yazici wrote: > > I see, thank you...one more thing...can I use execi inside a conky script > > to kill the current script and launch another one for a set period of > > seconds (defined by execi) then launch the first script back with another > > execi from the new script and keep going between two scripts? > > You can try, but honestly this sounds like way too much brain-fuck to > ever work. Having a supervising dispatcher (cron-job or whatever) is a > well-known and tried pattern. > > Cheers, Phil > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iEYEARECAAYFAlWHW7sACgkQnMPprxY1hCeL2QCfXC5jNgZKObvE5XnxWxphgRQJ > 2KYAn3dNOureAuR1NiIeV277TouR9UsB > =M5u1 > -----END PGP SIGNATURE----- > |
|
From: Phil <n0...@us...> - 2015-06-22 00:49:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 17, 2015 at 06:46:59PM +0300, Baris Yazici wrote: > I see, thank you...one more thing...can I use execi inside a conky script > to kill the current script and launch another one for a set period of > seconds (defined by execi) then launch the first script back with another > execi from the new script and keep going between two scripts? You can try, but honestly this sounds like way too much brain-fuck to ever work. Having a supervising dispatcher (cron-job or whatever) is a well-known and tried pattern. Cheers, Phil -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWHW7sACgkQnMPprxY1hCeL2QCfXC5jNgZKObvE5XnxWxphgRQJ 2KYAn3dNOureAuR1NiIeV277TouR9UsB =M5u1 -----END PGP SIGNATURE----- |
|
From: Baris Y. <on...@gm...> - 2015-06-17 15:47:11
|
I see, thank you...one more thing...can I use execi inside a conky script to kill the current script and launch another one for a set period of seconds (defined by execi) then launch the first script back with another execi from the new script and keep going between two scripts? Thanks. On Jun 16, 2015 5:04 PM, "Phil" <n0...@us...> wrote: > Hi, > > On Tue, Jun 16, 2015 at 04:58:23PM +0300, Baris Yazici wrote: > > Because conky reads scripts at runtime, wouldnt I need to do a killall > > conky before I call my next script, or do I have that all wrong? Thanks. > > That's what inotify is for. Conky detects if the config is being written > and reloads it completely. You can try it yourself: Edit the running > conky's config, change something, then save the file. Conky will reload > immediately. :) > > Cheers, Phil > |
|
From: Phil <n0...@us...> - 2015-06-16 14:04:34
|
Hi, On Tue, Jun 16, 2015 at 04:58:23PM +0300, Baris Yazici wrote: > Because conky reads scripts at runtime, wouldnt I need to do a killall > conky before I call my next script, or do I have that all wrong? Thanks. That's what inotify is for. Conky detects if the config is being written and reloads it completely. You can try it yourself: Edit the running conky's config, change something, then save the file. Conky will reload immediately. :) Cheers, Phil |
|
From: Baris Y. <on...@gm...> - 2015-06-16 13:58:31
|
Thanks for the reply Phil. Im a complete newby in linux so excuse me next question. Because conky reads scripts at runtime, wouldnt I need to do a killall conky before I call my next script, or do I have that all wrong? Thanks. Baris On Jun 16, 2015 1:20 PM, "Phil" <n0...@us...> wrote: > Hi, > > On Tue, Jun 16, 2015 at 10:57:55AM +0300, Baris Yazici wrote: > > I am trying to find a way to switch from one conky script to another to > > prevent image retention on my LCD monitor. Is there some kind of way to > > switch from one script to another script automatically, by a set time? > > Thanks. > > Conky recognizes config changes at run-time using inotify. Therefore you > could have a cron-job overwriting the config periodically, which might > be a little easier than overcomplicating a single config by huge branch > statements. Think of something like this: > > | CNF1=$HOME/.conkyrc.1 > | CNF2=$HOME/.conkyrc.2 > | CNF=$HOME/.conkyrc > | > | diff -q $CNF1 $CNF >/dev/null 2>&1 && cat $CNF1 >$CNF || cat $CNF2 >$CNF > > HTH, Phil > > > ------------------------------------------------------------------------------ > _______________________________________________ > Conky-users mailing list > Con...@li... > https://lists.sourceforge.net/lists/listinfo/conky-users > |