You are not logged in.

#1881 2023-04-19 14:16:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

unklar wrote:

While we're on the subject of @Olgmen....  I also tinker.  wink

https://i.imgur.com/gt9cncat.png

I like it.  Can you share the LUA scripts for the bottom one?

Ich mag das. Können Sie die LUA-Skripte für das unterste teilen?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1882 2023-04-19 15:07:33

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Sector11 wrote:

Mesdames et Messieurs,

Si vous allez publier dans votre langue maternelle et traduire dans une autre langue pour une personne spécifique, c'est parfaitement bien.

Cependant, veuillez également traduire en anglais pour le reste des utilisateurs du forum. Il n'y a rien de mal à avoir un poste avec deux langues ou plus tant que l'anglais est l'une d'entre elles

Après tout; c'est un forum anglais.

https://lingva.ml/ le fait très bien.

Merci.

Pas de problème , désolé dès fois j'oublie de traduire

No problem, sometime  I forget to translate

@+

Last edited by loutch (2023-04-19 15:09:41)


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

#1883 2023-04-19 15:12:24

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Re

@ il.harun

Tanks

@+


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

#1884 2023-04-19 17:23:02

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:
unklar wrote:

While we're on the subject of @Olgmen....  I also tinker.  wink

https://i.imgur.com/gt9cncat.png

I like it.  Can you share the LUA scripts for the bottom one?

Ich mag das. Können Sie die LUA-Skripte für das unterste teilen?

Of course, my friend, I have for you the complete package of this friendly Russian, what he provided to users at that time on ubuntu.ru. Because, this also requires colorizecore (you will know it).  wink
https://workupload.com/file/8KCnpnBKHeY

Offline

#1885 2023-04-19 17:57:38

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Another conky from Olgmen modified from my old Mageia5 to today Change a part of thinks .

Capture-d-cran-2023-04-19-20-17-15.png

Capture-d-cran-2023-04-19-21-31-33.png

@+


edit today



Capture-d-cran-2023-04-20-20-52-59.png

@+

Last edited by loutch (2023-04-20 18:53:59)


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

#1886 2023-04-21 01:01:38

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

unklar wrote:

Of course, my friend, I have for you the complete package of this friendly Russian, what he provided to users at that time on ubuntu.ru. Because, this also requires colorizecore (you will know it).  wink
https://workupload.com/file/8KCnpnBKHeY

OH MY!!!  Now that's a blast from the past.

Got it ... tomorrow - RL permitting I'll play.


RL  = Real Life


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1887 2023-04-21 01:03:27

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

loutch wrote:

Hello

Another conky from Olgmen modified from my old Mageia5

You never fail to amaze me.
I have a lot of your conky's here.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1888 2023-04-21 07:04:48

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Tanks

I need your help Olgmen says this :

У скрипта есть небольшая особенность, нет ограничения по параметру max, что очень подходит для вывода значений работы интернета. Вид изображения, горизонтальная или вертикальная шкала, выбирает сама программа. Если высота шкалы больше ширины, то выводится вертикальная шкала, если ширина больше высоты - горизонтальная. Мой скрипт можно взять здесь.
The script has a small feature, there is no limit on the max parameter, which is very suitable for displaying the values of the Internet. The type of image, horizontal or vertical scale, is chosen by the program itself. If the height of the scale is greater than the width, then a vertical scale is displayed; if the width is greater than the height, a horizontal scale is displayed.

To made this , but by me since a fews years that don't work.
If anyone have any idea.

{                 -- горизонтальная шкала, цифры сверху horizontal scale, numbers on top

 name = "time",
 arg = "%S",
 x = 50,
 y = 250,
 width = 120,
 height = 50,
 scale = 20,
 font = "Ubuntu",
 font_size = 12,
 side = "left",
 colour_scale = {{0, 0xff0000, 1},{0.5, 0xffffff, 1},{1, 0x0000ff, 1}},
 },

Capture-d-cran-2023-04-21-09-00-45.png


Many tanks

@+


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

#1889 2023-04-22 01:43:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

loutch wrote:

I need your help Olgmen says this :
{snip}
@+

That looks so familiar ...
I'll look around.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1890 2023-04-22 13:51:22

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello all conkystadors & other

Here all my Olgmen's conkys in conky 1.10

Capture-d-cran-2023-04-22-15-48-34.png

@+


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

#1891 2023-04-22 14:30:04

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

@ Scector11

Tank you for looking.

If may i allow :side does not work either

@+

Last edited by loutch (2023-04-22 14:31:11)


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

#1892 2023-04-22 21:20:14

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

loutch wrote:

Hello

@ Scector11

Tank you for looking.

If may i allow :side does not work either

@+

I'm getting close... I think the originals were by mrpeachy - unless mrpeachy got them from olgmen.
But I think mrpeachy would have given credit where credit is due.

I have a whole bunch of LUA scripts in one test conky:

00_crono_test.conky

when I do a

find .lua

in the conky I get 76 occurances, mrpeachy, easysid, Didier-T, mclovin, DrakarNoir and a whole bunch that were/are bent, folded and mutilated by me.

This one:

lua_load /media/5/Conky/LUA/chrono_lua/s11-clock-dials-2.lua

a 24 hour clock my mrprachy - in black - I LOVE IT!
18-16-00.jpg

require 'cairo'

function conky_main()
if conky_window == nil then return end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
cr = cairo_create(cs)
local updates=tonumber(conky_parse('${updates}'))
if updates>5 then
--#############################################################################
--#############################################################################
--3 DIAL CLOCK
--surround border width
bw=5
--HOURS------------------
hrx=30 --x position, top left of hour dial = left-right
hry=30 --y position top left of hour dial, will be y of all dials = up-down
-------
hrw=60 -- width of hour dial
-------
hrh=40 -- height of hour dial, will be height of all dials
-------------------------
value=tonumber(os.date("%H"))
label="HRS"
scale=10
nfont,nfontsize="Fira Code",11
tfont,tfontsize="Fira Code",11
orientation="horizontal" -- vertical or horizontal
adjust="hours"
divide=4
dialgraph2(hrx,hry,hrw,hrh,value,label,scale,nfont,nfontsize,tfont,tfontsize,orientation,adjust,divide)--call function
--MINUTES----------------
mrw=60 -- width of minute dial
-------------------------
mrx=hrx+hrw+bw
value=tonumber(os.date("%M"))
label="MINS"
scale=10
nfont,nfontsize="Fira Code",11
tfont,tfontsize="Fira Code",11
orientation="horizontal" -- vertical or horizontal
adjust="minutes"
divide=5
dialgraph2(mrx,hry,mrw,hrh,value,label,scale,nfont,nfontsize,tfont,tfontsize,orientation,adjust,divide)--call function
--SECONDS----------------
srw=50 -- width of second dial
-------------------------
srx=mrx+mrw+bw
value=tonumber(os.date("%S"))
label="SECS"
scale=20
nfont,nfontsize="Fira Code",11
tfont,tfontsize="Fira Code",11
orientation="vertical" -- vertical or horizontal
adjust="seconds"
divide=5
dialgraph2(srx,hry,srw,hrh,value,label,scale,nfont,nfontsize,tfont,tfontsize,orientation,adjust,divide)--call function
--surround
rx=hrx
ry=hry
rw=hrw+bw+mrw+bw+srw
rh=hrh
tlx=rx-bw
tly=ry-bw
trx=rx+rw+bw
try=ry-bw
blx=rx-bw
bly=ry+rh+bw
brx=rx+rw+bw
bry=ry+rh+bw
--background frame white
local pat = cairo_pattern_create_linear (0,try,0,bly);
cairo_pattern_add_color_stop_rgba (pat, 1, 0, 0, 0, 1);
cairo_pattern_add_color_stop_rgba (pat, 0, 0.7, 0.7, 0.7, 1);
cairo_rectangle (cr,rx-bw,ry-bw,rw+(bw*2),rh+(bw*2));
cairo_new_sub_path (cr); cairo_rectangle (cr,hrx,hry,hrw,hrh);
cairo_new_sub_path (cr); cairo_rectangle (cr,mrx,hry,mrw,hrh);
cairo_new_sub_path (cr); cairo_rectangle (cr,srx,hry,srw,hrh);
cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);
cairo_set_source_rgba (cr,0,0,0,0); cairo_fill_preserve (cr);
cairo_set_source (cr, pat); cairo_fill (cr);
cairo_pattern_destroy (pat);
--titles
local font="Fira Code"
local fsize=14
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr,fsize)
cairo_set_source_rgba (cr,1,1,1,1)
cairo_move_to (cr,hrx-5,hry+(rh/1))
rot=(math.pi/180)*-0
cairo_rotate (cr,rot)
-- cairo_show_text (cr," HH")
cairo_stroke (cr)
cairo_rotate (cr,-rot)
cairo_move_to (cr,mrx-5,hry+(rh/1))
cairo_rotate (cr,rot)
-- cairo_show_text (cr," MM")
cairo_stroke (cr)
cairo_rotate (cr,-rot)
cairo_move_to (cr,srx-5,hry+(rh/1))
cairo_rotate (cr,rot)
-- cairo_show_text (cr," SS")
cairo_stroke (cr)
cairo_rotate (cr,-rot)
--highlight lines
cairo_set_line_width (cr,1)
cairo_set_source_rgba (cr,0.5,0.5,0.5,1)
cairo_move_to (cr,hrx,hry+hrh)
cairo_rel_line_to (cr,hrw,0)
cairo_stroke (cr)
cairo_move_to (cr,mrx,hry+hrh)
cairo_rel_line_to (cr,mrw,0)
cairo_stroke (cr)
cairo_move_to (cr,srx,hry+hrh)
cairo_rel_line_to (cr,srw,0)
cairo_stroke (cr)
-------------------------------------------------------------------------------
--#############################################################################
--#############################################################################
end-- if updates>5
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
end-- end main function

-------------------------------------------------------------------------------
function dialgraph2(rx,ry,rw,rh,value,label,scale,nfont,nfontsize,tfont,tfontsize,orientation,adjust,divide)
--black background
cairo_set_source_rgba (cr,0,0,0,1)
cairo_rectangle (cr,rx,ry,rw,rh)
cairo_fill (cr)
--valuegraph
local adj=(value % divide)
local lines=tonumber(scale)
if orientation=="vertical" then
gap=rh/lines
elseif orientation=="horizontal" then
gap=rw/lines
end
cairo_set_line_width (cr,1)
cairo_set_source_rgba (cr,1,1,1,1)
local font=nfont
local fsize=nfontsize
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fsize)
--calculate line and number positions
for i=2,lines do
n=i
for i=1,lines,divide do
--print (i)
if n==(lines/2)+(divide-adj)+i or n==(lines/2)+(divide-adj)+(-i-(divide-2)) then
if orientation=="vertical" then
len=-2*(rw/5)
elseif orientation=="horizontal" then
len=-2*(rh/5)
end
else
if orientation=="vertical" then
len=-1*(rw/5)
elseif orientation=="horizontal" then
len=-1*(rh/5)
end
end
if n==(lines/2)+(divide-adj)+i then
num=value-adj+(i+(divide-1))
if adjust=="seconds" and tonumber(num)>60 then
num=tonumber(num)-60
elseif adjust=="minutes" and tonumber(num)>60 then
num=tonumber(num)-60
elseif adjust=="hours" and tonumber(num)>24 then
num=tonumber(num)-24
end
elseif n==(lines/2)+(divide-adj)+(-i-(divide-2)) then
num=value-adj-(i-1)
if adjust=="seconds" and tonumber(num)<0 then
num=tonumber(num)+60
elseif adjust=="minutes" and tonumber(num)<0 then
num=tonumber(num)+60
elseif adjust=="hours" and tonumber(num)<0 then
num=tonumber(num)+24
end
else
num=""
end
text=tostring(num)
extents=cairo_text_extents_t:create()
cairo_text_extents(cr,text,extents)
width=extents.width
height=extents.height
if orientation=="vertical" then
--print lines
cairo_move_to (cr,rx+(rw/2),ry+(gap*(n-1)))
cairo_rel_line_to (cr,len,0)
cairo_stroke (cr)
--print numbers
cairo_move_to (cr,rx+(rw/2)+2,ry+(gap*(n-1))+(height/2))
cairo_show_text (cr, num)
cairo_stroke (cr)
elseif orientation=="horizontal" then
--print lines
cairo_move_to (cr,rx+(gap*(n-1)),ry+(rh/2))
cairo_rel_line_to (cr,0,len)
cairo_stroke (cr)
--print numbers
cairo_move_to (cr,rx+(gap*(n-1))-(width/2),ry+(rh/2)+(height)+2)
cairo_show_text (cr, num)
cairo_stroke (cr)
end
end--for
end--for
--middle lines
if orientation=="vertical" then
cairo_set_source_rgba (cr,1,1,1,0.3)
cairo_move_to (cr,rx+rw,ry+(rh/2)+2)
cairo_rel_line_to (cr,-rw,0)
cairo_stroke (cr)
cairo_move_to (cr,rx+rw,ry+(rh/2)-2)
cairo_rel_line_to (cr,-rw,0)
cairo_stroke (cr)
elseif orientation=="horizontal" then
cairo_set_source_rgba (cr,1,1,1,0.3)
cairo_move_to (cr,rx+(rw/2)+2,ry+rh)
cairo_rel_line_to (cr,0,-rh)
cairo_stroke (cr)
cairo_move_to (cr,rx+(rw/2)-2,ry+rh)
cairo_rel_line_to (cr,0,-rh)
cairo_stroke (cr)
end
--gradient overlay
if orientation=="vertical" then
local pat = cairo_pattern_create_linear (0,ry,0,ry+rh);
cairo_pattern_add_color_stop_rgba (pat, 1, 0, 0, 0, 1);
cairo_pattern_add_color_stop_rgba (pat, 0.5, 0, 0, 0, 0);
cairo_pattern_add_color_stop_rgba (pat, 0, 0, 0, 0, 1);
cairo_rectangle (cr,rx,ry,rw, rh);
cairo_set_source (cr, pat);
cairo_fill (cr);
cairo_pattern_destroy (pat);
elseif orientation=="horizontal" then
local pat = cairo_pattern_create_linear (rx,0,rx+rw,0);
cairo_pattern_add_color_stop_rgba (pat, 1, 0, 0, 0, 1);
cairo_pattern_add_color_stop_rgba (pat, 0.5, 0, 0, 0, 0);
cairo_pattern_add_color_stop_rgba (pat, 0, 0, 0, 0, 1);
cairo_rectangle (cr,rx,ry,rw, rh);
cairo_set_source (cr, pat);
cairo_fill (cr);
cairo_pattern_destroy (pat);
end
end
-------------------------------------------------------------------------------

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1893 2023-04-22 21:46:30

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

And mrp's 4 clocks:
mrp-s-4clocks.jpg
That started the S11-Cronograph that a lot of people copied and tweaked.

First came positioning and sizing the 4 clocks:
The-start.jpg

Outer limits = 24 hour time
4 small clocks:
North: month names Dec on top
East: day numbers: 1 - 31 - 31 on top
South: 12 hour clock (but displayed numbers 13 to 24)
- like my watch: 12 hours but shows #'s 13 to 24.
West: day names - Sun on top

Somewhere in here is something that loutch is looking for or can at least modify.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1894 2023-04-23 07:40:50

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:

Somewhere in here is something that loutch is looking for or can at least modify.

4N5TQwPt.png

As always, your configurations work right away!

If not the coincidence helps, the search for the settings in question would take hours for me...

Last edited by unklar (2023-04-23 07:42:04)

Offline

#1895 2023-04-23 13:02:33

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Show us your conky

And you've put it in conky v1.10+   - 1.18 now I see.

I am soooo far behind and loving it.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1896 2023-05-07 09:23:59

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Capture-d-cran-2023-05-07-11-13-15.png

Capture-d-cran-2023-05-07-17-41-21.png

@+

Last edited by loutch (2023-05-07 15:42:00)


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

#1897 2023-05-09 15:43:45

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

Conky to have bing images .The script work to have bing wallpaper at my secondary desktop.

I launch the script at login but it have any latency for 2-3 second to have the new wall.

Work grat for desktop wallpaper but with conky i have this .

conky -c ~/.conky/bing/conkyrc
conky: desktop window (1000044) is subwindow of root window (19d)
conky: window type - normal
conky: drawing to created window (0x5400002)
conky: drawing to double buffer
conky: forked to background, pid is 39995
loutch@RogStrix:~$ 
rm: impossible de supprimer '/home/loutch/Images/Bing/bing': est un dossier
convert-im6.q16: no decode delegate for this image format `' @ error/constitute.c/ReadImage/575.

script

#!/bin/bash

sleep 2

rm $HOME/Images/Bing/*
rm $HOME/Images/Bing/bing/wall.png

bing="www.bing.com"

xmlURL="https://www.bing.com/HPImageArchive.aspx?format=xml&idx=1&n=1&mkt=fr-FR"
saveDir="$HOME/Images/Bing/"

# Create saveDir if it does not already exist
mkdir -p $saveDir

desiredPicRes="_1920x1080"

picExt=".png"

# Form the URL for the desired pic resolution
desiredPicURL=$bing$(echo $(curl -s $xmlURL) | grep -oP "<urlBase>(.*)</urlBase>" | cut -d ">" -f 2 | cut -d "<" -f 1)$desiredPicRes$picExt

# Form the URL for the default pic resolution
defaultPicURL=$bing$(echo $(curl -s $xmlURL) | grep -oP "<url>(.*)</url>" | cut -d ">" -f 2 | cut -d "<" -f 1)

if wget --quiet --spider "$desiredPicURL"
then

    # Set picName to the desired picName
    picName=${desiredPicURL##*/}
    # Download the Bing pic of the day at desired resolution
    curl -s -o $saveDir$picName $desiredPicURL
else
    # Set picName to the default picName
    picName=${defaultPicURL##*/}
    # Download the Bing pic of the day at default resolution
    curl -s -o $saveDir$picName $defaultPicURL
fi

sleep 3

convert ~/Images/Bing/* ~/Images/Bing/bing/wall.png

exit

it work for me but if anyone would modified it .

Capture-d-cran-2023-05-09-17-42-58.png

@+


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

#1898 2023-05-09 17:28:17

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Hello @loutch

Je pense que cette erreur est liée à cela :
convert vers. imagemagick ne connaît pas le format BING*.
Si tu exécutes la commande

convert -list format

, rien de tel n'apparaît.


Peut-être que tu dois changer cela en IMAGE* ?
-----------
I think this error is related to that:
convert vers. imagemagick does not know format BING*.
When you run the

convert -list format

command, it doesn't show up.


Maybe you have to change this to IMAGE* ?

https://stackoverflow.com/questions/375 … itute-c-re

Last edited by unklar (2023-05-09 17:30:33)

Offline

#1899 2023-05-09 18:30:20

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Show us your conky

Hello

The problem (that not a real problem the script work) is the name from the downloaded image


Capture-d-cran-2023-05-09-20-27-11.png


So i must just find how to rename this image before convert it.

@+

Last edited by loutch (2023-05-09 19:10:20)


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

#1900 2023-05-10 06:16:11

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Je ne sais pas comment tu convertis un format d'image linux-correct à partir de l'URL. Pourquoi utilises-tu aussi M$ BING.

-Tu peux simplement ignorer l'erreur
-Tu peux aussi essayer de tester avec le paquet inkscape. Cela m'a permis de résoudre une erreur similaire ici.

----------------------------
How you implement a linux-correct image format from the URL, I don't know. Why do you also use M$ BING.

-you can just ignore the error
-You can also try to test with the package inkscape. I had success with a similar error herewink

Offline

Board footer

Powered by FluxBB