You are not logged in.
@MaDscntist,
you should realize, the old scripts conkyWeather/conkyForecast are "set".
27.May 2012
My research has shown that they are apparently only available as rpm-package in Fedora.
Last edited by unklar (2019-07-17 14:52:08)
Offline
I had something odd happen, last night.
My conky-sandwich was reloading and updating to the 17th day.
Several of my conky clocks went all wonky
actual time was 12:27am
That was wierd, but also, my sandwich didn't load, so.
Idk if they could be related, but, found an error in food.sh
for conky-sandwich
goto the 17th day and change
wkhtmltopdf
to
wkhtmltoimage
I thought I triple checked all that stuff...ggrrrrrr
I am curious if that's a possible side affect on clocks if cocky breaks somehow
Thankyou,
that is all
Last edited by MrEd (2019-07-17 23:32:15)
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
loutch wrote:@ unklar
before
require cairo
@loutch, je n'ai pas de succès avec ça ici.
Tout a été testé, même le lua original utilisé par Londonali.image.lua et la commande lua fDrawImage ne vous montrent plus d'images si vous voulez utiliser draw_bg.lua. Vous devez ensuite utiliser l'image de la méthode simple .... restent.
Vous pouvez le voir ici à radiotray-ng. Mais l'image est mise "derrière" et est inutile. Voir
--
@loutch, I have no success with that here.
Everything tried out, even the original lua used by londonali.image.lua and the command lua fDrawImage don't show you any more images if you want to use draw_bg.lua. You must then use the simple method image ... remain.
You can see it here at radiotray-ng. But the image is put "behind" and is useless. Seehttps://cdn.scrot.moe/images/2019/07/17/2019-07-17_08-03.th.png
conky 1.10 bei mihr 1 conky mit 1 lua
conkyrc mit drab_bg (nichts im conky.text = )
selbe conky
conkyrc1 mit lua image
Last edited by loutch (2019-07-18 06:49:06)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
I had something odd happen, last night.
My conky-sandwich was reloading and updating to the 17th day.
Several of my conky clocks went all wonky
{snip}
Except the one on the top right. It still says:
actual time was 12:27am
{snip}
I am curious if that's a possible side affect on clocks if cocky breaks somehow
Thankyou,
that is all
Well, it certainly looks like something went SNAP-CRACKLE-POP on your system.
How long did the clocks stay on drugs before coming back to sanity?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Yeah the conky on the right I'm playing with stayed with the system time in my tray which was wierd.
After I fixed the script error, I opened up the conky and saved it so it would restart, but it stayed blank.
Ultimately I had to just killall and restart them.
It was just odd to see conky wonky<--lol like that.
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
I do have a question though.
Out of all the tries I've done so far, I can not get an entire webpage contents to download to a file.
I don't know why it won't, but what would be the best way to download this to a file, and if possible, strip out alot of the html?
https://forecast.weather.gov/MapClick.p … 8999999995
Edit: Best I can figure, it's encoded somehow, only pulls part of the site....The end result I'm trying for is a somewhat rss looking file I can pull from.
I've tried both
${execi 3600 curl -s https://forecast.weather.gov/MapClick.php?lat=40.88289000000003&lon=-85.49418999999995 > /home/major/.conky/My_conky/edweather/extended.xml}
${execi 3600 wget -q --output-document="/home/major/.conky/My_conky/edweather/extended.xml" https://forecast.weather.gov/MapClick.php?lat=40.88289000000003&lon=-85.49418999999995}
Even through console, both results are...well, un-useable lol
OH, btw, that png error did show up, if I used the background images with the tubes...Theres something there I need to learn to save a png the right way, I THINK, is was I'm reading....
Last edited by MrEd (2019-07-21 03:34:05)
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
^ Which values are you trying to extract? And from which <tags>?
Depending on the complexity it can often be done with just grep and awk; otherwise there are various xml/html bash utilities, or a python parser.
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
The way the page is generated was stopping it from downloading.
I got around it by going to shorturl.com and converted the link.
Now I can work on deciphering the mess it downloaded lol
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
Conky-Sandwich of the Day pic #2, looks yummy lol
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
updated, fixed some incorrect syntax.
conky.config = {
alignment = 'top_right',
background = true,
border_width = 5,
default_color = '9298AA',
double_buffer = true,
draw_borders = false,
draw_outline = false,
draw_shades = false,
gap_x = 5,
gap_y = 5,
minimum_width = 205, minimum_height = 760,
maximum_width = 205,
no_buffers = true,
override_utf8_locale = true,
own_window = true,
own_window_title = 'conky',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 95,
own_window_type = 'normal',
text_buffer_size = 1000,
total_run_times = 0,
update_interval = 1,
uppercase = false,
short_units = true,
use_xft = true,
xftalpha = 1,
font = 'Noto Sans:pixelsize=15',
color1 = '00FFB4',
}
conky.text=[[
${font Noto Sans:bold:pixelsize=18}System Info
${font Noto Sans:bold:pixelsize=14}CPU${font} ${hr 1}
${alignc}Cores 01 - 04 :
${color1}${font} ${goto 25}${cpu cpu1}% ${goto 75}${cpu cpu2 }% ${goto 125}${cpu cpu3 }% ${goto 175}${cpu cpu4 }%${color}
${font Noto Sans:bold:pixelsize=14}RAM${font} ${hr 1}
${color1}${alignr}$mem / $memmax ($memperc%)${font}${color}
${top_mem name 1}${color1}${alignr}${top_mem mem 1}%${color}
${top_mem name 2}${color1}${alignr}${top_mem mem 2}%${color}
${top_mem name 3}${color1}${alignr}${top_mem mem 3}%${color}
${top_mem name 4}${color1}${alignr}${top_mem mem 4}%${color}
${top_mem name 5}${color1}${alignr}${top_mem mem 5}%${color}
${font Noto Sans:bold:pixelsize=14}SWAP${font} ${hr 1}
zram ${color1}${alignr}$swap / $swapmax ($swapperc%)${color}
${font Noto Sans:bold:pixelsize=14}TEMPS${font} ${hr 1}
HDDs ${color1}${goto 179}${execi 10 sudo hddtemp -n /dev/sda}°C${color}
${alignc}CPU Cores
${color1}${execp $HOME/bin/sensors.sh}${color}
GPU ${color1}${alignr}${execi 60 sensors | grep temp1 | cut -c 16-19}°C${color}
${font Noto Sans:bold:pixelsize=14}HDD${font} ${hr 1}
File System${goto 130}Used${alignr}Size
/root ${color1}${goto 120}${fs_used /} ${alignr}${fs_size /}${color}
/data ${color1}${goto 120}${fs_used /data} ${alignr}${fs_size /data}${color}
${font Noto Sans:bold:pixelsize=14}NET${font} ${hr 1}
Totaldown-wlan0${color1}${alignr}${totaldown wlan0}${color}
Totalup-wlan0${color1}${alignr}${totalup wlan0}${color}
Totaldown-usb0${color1}${alignr}${totaldown usb0}${color}
Totalup-usb0${color1}${alignr}${totalup usb0}${color}
]]
screenshot
Last edited by clusterF (2019-08-07 14:01:07)
Offline
Conky-Sandwich of the Day pic #2, looks yummy lol
With my diet that would kill me.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
updated my conky from a page ago, had incorrect syntax for conky 1.10.8
Offline
Thanks, loutch and clusterF
--Original @loutch https://forums.bunsenlabs.org/viewtopic.php?pid=88623#p88623
--modifiziert @unklar 2019-08-07
conky.config = {
background = false,--true,
use_xft = true,
font = 'Liberation Sans:size=9',
xftalpha = 1,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = false,--true,
--own_window_color 000000
own_window_argb_visual = true,
own_window_argb_value = 255,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 1350, minimum_height = 10,
maximum_width = 1350,
text_buffer_size = 2048,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
alignment = 'bottom_middle',
gap_x = 10,
gap_y = 10,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = true,
--imlib_cache_flush_interval = 60,
imlib_cache_size = 0,--10000,
default_bar_height = 5,
default_bar_width = 20,
default_graph_height = 13,
default_graph_width = 185,
-- Taille des pointillés
stippled_borders = 5,
max_user_text = 131072,
-- Couleurs
default_color = '#ffffff',--ffd579',
default_shade_color = '#333333',
default_outline_color = 'black',
color1 = 'ff4800',--'CDBF9A', --titre 'FCE94F'
color2 = 'b72e3f',--'AAAAAA', --texte 'BBBBBB'
color3 = 'bbbbbb',--555555', --pointilés 'BBBBBB'
color4 = '65f300', --'3F506B', --bar 'BBBBBB'
color5 = 'ffffff',--'555555', --bordure '666666'
color6 = 'ffffff',--'3F506B', --graph 'DDDDDD'
lua_load = '~/TEST/loutch/draw_bg.lua',
lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',
--${image $HOME/Logos/siduction-gravatar2.png -p 0,-1 -s 23x23}
};
conky.text = [[
${exec echo '#!'}${goto 35}Top cpu: ${top name 1} \
${goto 180}| Home: ${fs_used_perc /home}% (${fs_used /home} / ${fs_free /home}) \
${goto 380}| Data: ${fs_used_perc /media/DATEN}% \
${goto 470}| Share: ${fs_used_perc /usr/share}% \
${goto 560}| CPU : ${cpu cpu0}%\
${goto 630}| CPU T°: ${hwmon 1 temp 2}°C | ${execi 300 sensors | awk '/Core 0/{gsub("+","");print $3}'} \
${goto 770}| ${color2}GPU T°: ${color}${hwmon 2 temp 1}°C \
${goto 870}| Memory: ${memperc}% ($mem) \
${goto 1060}| Net: \
${alignr 15}${font VariShapes Solid:pixelsize=10}S${font } ${upspeedf enp2s0} (${totalup enp2s0}) \
${font VariShapes Solid:pixelsize=10}E${font } ${downspeedf enp2s0} (${totaldown enp2s0}) \
]];
--@unklar 2019-08-07
conky.config = {
background = false,
use_xft = true,
font = 'Liberation Sans:size=9',
xftalpha = 1,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
--own_window_color 000000
own_window_argb_visual = true,
--own_window_argb_value = 255,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 1420, minimum_height = 10,
maximum_width = 1420,
text_buffer_size = 2048,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
alignment = 'bottom_middle',
gap_x = 10,
gap_y = 10,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
override_utf8_locale = true,
--imlib_cache_flush_interval = 60,
imlib_cache_size = 0,--10000,
default_bar_height = 5,
default_bar_width = 20,
default_graph_height = 13,
default_graph_width = 185,
-- Taille des pointillés
stippled_borders = 5,
max_user_text = 131072,
-- Couleurs
default_color = '#ffffff',--ffd579',
default_shade_color = '#333333',
default_outline_color = 'black',
color1 = 'ff4800',--'CDBF9A', --titre 'FCE94F'
color2 = 'b72e3f',--'AAAAAA', --texte 'BBBBBB'
color3 = 'bbbbbb',--555555', --pointilés 'BBBBBB'
color4 = '65f300', --'3F506B', --bar 'BBBBBB'
color5 = 'ffffff',--'555555', --bordure '666666'
color6 = 'ffffff',--'3F506B', --graph 'DDDDDD'
--lua_load = '~/TEST/loutch/draw_bg.lua',
--lua_draw_hook_pre = 'draw_bg 10 0 0 0 0 0x000000 0.55',
};
conky.text = [[
${image $HOME/Logos/siduction-gravatar2.png -p 0,-1 -s 23x23}${goto 35}Top cpu: ${top name 1} \
${goto 180}| Home: ${fs_used_perc /home}% (${fs_used /home} / ${fs_free /home}) \
${goto 380}| Data: ${fs_used_perc /media/DATEN}% \
${goto 470}| Distris: ${fs_used_perc /media/Distris}% \
${goto 560}| CPU : ${cpu cpu0}% \
${goto 630}| ( ${color2} GPU T°${color} || CPUs T° || ${execpi 10 sensors | grep '0:\|1:\|2:\|3:\|4:' | head -n5 | cut -c16-23 | fmt -w40} ) \
${goto 990}${color}| Memory: ${memperc}% ($mem) \
${goto 1160}| Net: \
${alignr}${font VariShapes Solid:pixelsize=10}S${font} ${upspeedf enp2s0} (${totalup enp2s0}) \
${font VariShapes Solid:pixelsize=10}E${font} ${downspeedf enp2s0} (${totaldown enp2s0}) \
]];
Last edited by unklar (2019-08-07 18:25:50)
Offline
@ragamatrix - and anyone else interested.
BIG CLOCK with just fonts.
![]()
https://cdn.scrot.moe/images/2019/07/12/2019-07-12_121023_Scrot11.th.jpgThe code:
Above TEXT I am using (conky v1.9 - you will need to convert):xftfont Fira Mono:bold:size=12
you can use any font here, it's NOT used in the clocks part of the conky at all.
and:draw_shades yes default_shade_color 000000
${font Fantasque Sans Mono:bold:size=40}${color5}${alignc}${time %a %d %b %Y}${color}${font} ${alignc}${color}${if_match ${time %H}<12}Good Morning${else}\ ${if_match ${time %H}<18}${color7}Good Afternoon${else}${color3}Good Evening${endif}${endif}${color} ${goto 40}${font LED_mono:size=100}${color1}88:88:88${goto 40}${color5}${time %T}${color}${font} ${alignc}${color}${if_match ${time %H}<12}Good Morning${else}\ ${if_match ${time %H}<18}${color7}Good Afternoon${else}${color3}Good Evening${endif}${endif}${color} ${font SF Digital Readout:size=75}\ ${color1}${goto 155}xx:xx:xx${goto 155}ii:ii:ii${goto 155}88:88:88${color}\ ${color5}${goto 155}${time %T}${color}\ ${color1}${goto 30}xxx xx xxx xxxx${goto 30}iii ii iii iiii${goto 30}888 88 888 8888${color}\ ${color}${goto 30}${time %a %d %b %Y}${color}\ ${font}
Fonts:
LED_mono:
does just numbers and the " : "
it does NOT do spaces either
You could do ${time %a:%d:%b:%Y} or ${time %a:%d:%b:%y} if you wanted, which I have done in another conky
someplace in the haystack of conkys I have
SF Digital Readout
trust me the x and i are needed for: Fri and Wed Mon
tried: bold - one comment: YUK!
Thank-you my friend for the big clock Really good idea the background with fonts. You still made great job with your creativity
Offline
Thank-you my friend for the big clock
Really good idea the background with fonts. You still made great job with your creativity
Always happy to help someone, especially old friends.
What colours did you use?
Last edited by Sector11 (2019-08-08 21:17:43)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I set the fg color with AEFEEE (acqua blue) and bg color with 404040 (darker grey)
Offline
I like it Thank you.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
MrEd wrote:Conky-Sandwich of the Day pic #2, looks yummy lol
With my diet that would kill me.
Actually, I thought it looked quite sensible for a small meal to be honest. lol
That reminds me...I came in to give a report on a conky control panel I've been working on....
I've only got a preview of it, I know it's not pure conky, but when it's done, it should do something for everyone that wants buttons in conky 1.10 or any conky or other stuff really.
I'm doing it in pyqt5, and keeping it really simple to mod yourself for anyone that just wants the menu.
It may be a script, but there is'nt really any fancy super hard to understand scripting sorcery involved...
to be honest, I'm probly doing the hard way to make it easy for use with conky, that and the fact I've never done this before lmao
I do keep getting stuck though bc I'm trying to sort out some stuff that's probly super simple, but it's Friday night and probly twisted my brain somehow and need to stop for today.
Edit: I didn't stop to think it was so big haha
all fixed
Last edited by MrEd (2019-08-10 14:25:02)
MSI B85M-G43 * Dualcore 3.3GHz *-12GB ram * GT740 4GB video * Logitech USB-Marble Mouse=Trackball * System - ArchLinux-Antergos, KDE Plasma Desktop - Conky 1.10
Offline
@MrEd - I wonder would you post linked thumbnails instead of large images please, as per the Forum Rules? TY
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
Hello
Since conky is past in version 1.10 i was worry why mi conky audacious-clic not work.
Since yesterday i'm happy ,i found covergloobus & it work great (not with audacious) with clementine .
i modify my launchscript & it work great
I created a shortcut in the dashboard
first click
launch clementine & covergloobus
second click
kills clementine & coverglobus as well when clementine is playing any song
#!/bin/bash
PROG_NAME1="/usr/bin/clementine" # Nom du programme à démarrer/arrêter.
PROG_NAME2="/usr/bin/covergloobus" # Nom du programme à démarrer/arrêter.
PROCESSPID1=$(pgrep -f "usr/bin/clementine") # Récupère le PID du processus.
PROCESSPID2=$(pgrep -f "usr/share/covergloobus/covergloobus.py") # Récupére le PID du processus.
if [[ "$PROCESSPID1" != "" && "$PROCESSPID2" != "" ]]; then # Si les deux processus existe alors on le(s) kill.
kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
kill $PROCESSPID2 && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
else # Si aucun processus on démarre le programme.
kill $PROCESSPID1
$PROG_NAME1 &
echo "Start $PROG_NAME1"
kill $PROCESSPID2
$PROG_NAME2 &
echo "Start $PROG_NAME2"
if [[ "$PROCESSPID1" == "" || "$PROCESSPID2" == "" ]]; then # Si un des processus n'existe pas alors on le(s) kill.
kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
kill $PROCESSPID2 && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
echo "Il y a eu un souci au lancement tout a été coupé"
fi
fi
exit 0
@+
Last edited by loutch (2019-08-29 19:12:04)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline