You are not logged in.

#2221 2025-03-12 15:01:46

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

Re: Show us your conky

Hello

Here are a few possible choices depending on my current mood

choice 1

WWXZXSpz_t.png

number 2

kj4VrH0w_t.png

number 3

7xQ9qpIa_t.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

#2222 2025-03-12 15:42:26

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

Re: Show us your conky

loutch wrote:

Je serais pour le numéro 3, car c'est cette création avec la montre qui me plaît le plus.  wink

Mon humble travail d'aujourd'hui.
KMYlu8nt.png

----------
I would go for number 3 because I like this creation with the watch the best.

My humble work from today.

Offline

#2223 2025-03-12 16:51:41

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

Re: Show us your conky

Re

Wunderbar .


Folks, I'm having a little memory loss, I can't remember how to display the full name  from next days in conky.

for today i use

${time %A}

can anyone help me


@+


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

#2224 2025-03-12 17:46:32

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

$ date -d '+1 day' '+%A'
Thursday

If people would know how little brain is ruling the world, they would die of fear.

Offline

#2225 2025-03-12 18:14:59

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

Re: Show us your conky

Re

@ marens


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

#2226 2025-03-14 15:57:34

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

Re: Show us your conky

Hello

d1DU4Kbl_t.png

@+

PS


I think i have it finish


vYeCsxUt_t.png


@+

Last edited by loutch (2025-03-14 19:38:33)


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

#2227 2025-03-15 09:04:35

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

Re: Show us your conky

Hello

Apart from the speed of the wind gusts, I think I've understood everything. Some of the graphs are practically the same because I cheated a bit, I took the same log to have a single line. The scripts work well, no errors in the console and the log files work well because the last entries are different.

We'll see in a few days.


09NVp5SS_t.png.

eRtJmEH1_t.png


@+

Last edited by loutch (2025-03-15 09:18: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

#2228 2025-03-15 10:13:17

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

Re: Show us your conky

Tu travailles à nouveau à un rythme 'à la pièce' ! [de=Akkord-Tempo]

Excellent travail de conky!  good_mini.gif
------------------------------
You're working at a 'piecework pace' again!

Excellent work by conky!

Offline

#2229 2025-03-15 12:06:31

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@loutch

The graphs look great, but some things don't make sense.

You need a weather forecast for next week (instead of last week).
In practice, this means from March 15th to March 21nd.

I think the problem is in the script here:

DATE=$(date +"%s")
DATE1WEEK=$(date --date="1 week ago" +"%s")

https://forums.bunsenlabs.org/viewtopic … 11#p136911

Try:

DATE1WEEK=$(date --date='+1 week' +'%s')

I don't have the API and can't test it, but I don't believe AccuWeather provides data for the past seven days.

Also, the log you provided here (listePression.log) is for the next 24 hours, not the entire week:
https://forums.bunsenlabs.org/viewtopic … 52#p136952

Anyway, progress has been made and I'm glad they stopped using @TBG's Accuweather_conky_script on another forum.
They didn't understand how the script even worked, nor did my hourly forecast plugin.

Good luck.

Last edited by marens (2025-03-15 13:58:21)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2230 2025-03-17 21:41:58

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

Re: Show us your conky

Hello

In fact for the graph I use curr_cond from accuweather which gives me an entry every hour which gives me an average for the past week.

Now for a test I would like to modify it for a daily graph it works I have a graph .

This afternoon

Capture-d-cran-2025-03-17-18-58-03.png

Now

Capture-d-cran-2025-03-17-22-03-31.png


You can see that the 17th is moving to the left, which is today's date, and I think that at midnight the 18th will appear.

I've fiddled around but can't figure out how to display the hours instead of the day.


DATE=$(date +"%s")
DATE1WEEK=$(date --date="1 day ago" +"%s")

i try this & many others thinks but they don't work

DATE=$(date --date="1 hour ago" +"%s")
DATE1WEEK=$(date --date="1 day ago" +"%s")

here full code

#!/bin/bash

## files
LOG="$HOME/.conky/barographe/JOUR/journalier.log"
GRAPH="$HOME/.conky/barographe/JOUR/graph.png"

##Infos generales
DATE=$(date +"%s")
DATE1WEEK=$(date --date="1 day ago" +"%s")

# liste des dates de releve du fichier log
EPOCH=()
while read 
do
    EPOCH+=( "$REPLY" )
done< <(awk '{print $1}' "$LOG")

# si le fichier existe et contient des valeurs de plus d'une semaine (premiere = plus vieille)
#supprimer premiere valeur
[[ -f $LOG ]] && {
    for i in $(seq 0 $(($(wc -l < $LOG)-1)))
    do
        [[ $DATE1WEEK -gt ${EPOCH[$i]} ]] && sed -i '1d' $LOG || break
    done
}


## Conversion en hectopascal et soustraction de la pression moyenne pour ramener l'axe a zero
PR_HP=`sed -n '1p' $HOME/Accuweather_conky_script/pression`
 TEMP=`sed -n '2p' $HOME/Accuweather_conky_script/curr_cond`
PR_CALC=$(bc << EOF
scale=0
$PR_HP - 1000
EOF
)
echo "$DATE $PR_CALC $TEMP" >> $LOG

gnuplot <<EOF
set border linewidth 2.5
set terminal png enhanced size 300,170  transparent #font "Ubuntu,10" 400,350
set term png font "Ubuntu:style=Bold,14"
set output "$GRAPH"
unset key
set grid
set xzeroaxis lt 3 lw 2
set yzeroaxis
set ytics ("" -40, "" -20, "" 20, "" 40)
set mxtics 1        ## 0 donne erreur
set xdata time
set timefmt "%s"
set xtics 86400
set format x "%d"
set style line 1 lw 2
set style line 2 lw 2
plot ["$DATE1WEEK":"$DATE"] [-40:50] "$LOG" using 1:3 with lines ls 2,  "$LOG" using 1:2 with lines ls 1
EOF

exit 0

i try tomodify
set timefmt
set stics
set format x "%d"

if anyone can help .

there's no hurry, it's just so you don't die a fool .


@+


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

#2231 2025-03-18 00:29:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

Unfortunately, I can't test it because I don't have all the dependencies installed and I don't know what the LOG files look like, but I would try something like the temperature for the next seven days (one week) this way:

DATE=$(date --date='+1 week' +'%s')
DATE1WEEK=$(date +'%s')

Explanation:

In days it would look like this:

$ date --date='+1 week'
Tue 25 Mar 2025 01:01:11 AM CET

$ date
Tue 18 Mar 2025 01:01:35 AM CET

Or in seconds (as the script requests):

$ date --date='+1 week' +'%s'
1742861232

$ date +'%s'
1742256465

If the LOG is correct, you should get a graph for the next 7 days.
From  March 18  to  March 25.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2232 2025-03-18 08:26:17

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

Re: Show us your conky

Hello

The date change worked, but where am I going to find the temperatures & pressure  for next week?

Capture-d-cran-2025-03-18-09-10-07.png


I can use this for temperature

TEMP=`sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast`

@+


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

#2233 2025-03-18 09:45:10

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

Re: Show us your conky

All old lua scripts that were created with the additional parameter

require 'cairo_xlib'

(if required) still work perfectly on wayland.

a test with known clock conky's
20250318-10h25m24s-grim.png

At the moment under carbon with labwc the Conky's just don't stay in place(Alt+left click / drag with the mouse = ok). This sounds familiar to me (I forgot  tongue  ), because in 'pure' labwc this was fixed with updates from conky-all
as far as I know...

Last edited by unklar (2025-03-18 09:49:56)

Offline

#2234 2025-03-18 11:29:21

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

Re: Show us your conky

Hello

AHHH die alten conky , wie viele Erinnerungen.

Willkommen im Club

---------------------------------------------
AHHH the old conky, so many memories

Welcome to the club

@+


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

#2235 2025-03-18 15:32:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

loutch wrote:

The date change worked, but where am I going to find the temperatures & pressure  for next week?

As you know, I don't have the AccuWeather APIs.
Each LOG is unique.
Each GRAPH must display the actual values from the LOG.

Here you have listPression.log:
https://forums.bunsenlabs.org/viewtopic … 52#p136952

I found out that it's a 24 hour period:
https://forums.bunsenlabs.org/viewtopic … 58#p136958

And:
https://forums.bunsenlabs.org/viewtopic … 61#p136961

This means that the script must be changed to show hours and not days.
The script also expects a time in seconds (%s).

Here I have given you instructions on how to convert time from seconds and check which period the LOG refers to:

marens wrote:

The first value in the listPression.log  file is 1723455237.

$ date --date=@1723455237
Mon 12 Aug 2024 11:33:57 AM CEST

Look at the end of the post:
https://forums.bunsenlabs.org/viewtopic … 58#p136958

The GRAPHS look nice, but they need to be usable and show values that we can see on the accuweather.com website.
As you can see, there is too much work.

I'm sorry, but that's not on my to-do list.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2236 2025-03-18 15:40:51

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

Re: Show us your conky

loutch wrote:

Hello

The date change worked, but where am I going to find the temperatures & pressure  for next week?
{snip}
@+

I doubt and weather forecasts will show future pressure.  It's a now thing.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2237 2025-03-18 16:58:40

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

Re: Show us your conky

Hello

@ marens there is a mistake here .

Capture-d-cran-2025-03-18-17-57-54.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

#2238 2025-03-18 18:11:30

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

^ Try:

DATE=$(date --date='+6 days' +'%s')
DATE1WEEK=$(date --date='-1 day' +'%s')

EDIT

loutch wrote:

@ marens there is a mistake here.

I don't understand what's wrong?
I can see from your screenshot that March 19th is coming soon.
https://postimg.cc/CRXkf2W6

loutch wrote:

I can use this for temperature

TEMP=`sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast`

Yes.
That's the temperature today (line 4 - daily_forecast).

For the next days you have line 11 (tomorrow), line 18, line 25, line 32...

I really don't know how to change the script and make the correct graph.
I already told you I can't test it.

I think a script with free APIs gives more options.
Try another forums (Linux Mint).

Last edited by marens (2025-03-18 23:38:20)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2239 2025-04-01 01:28:40

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

Conky  -  Box-drawing characters (Unicode)

Wiki wrote:

Box-drawing characters, also known as line-drawing characters, are a form of semigraphics widely used in text user interfaces to draw various geometric frames and boxes. These characters are characterized by being designed to be connected horizontally and/or vertically with adjacent characters, which requires proper alignment. Box-drawing characters therefore typically only work well with monospaced fonts.

https://en.wikipedia.org/wiki/Box-drawi … rs#Unicode

I tried drawing a bold line in the terminal with  U+2501  and it works:

$ ━━━━━━━━━━━━━━━━━━━

With  U+2581:

$ ▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

It also works great in conky if you use a font that supports it.

Wiki wrote:

Box-drawing characters therefore typically only work well with monospaced fonts.

https://en.wikipedia.org/wiki/Monospaced_font

EDIT

Note *
Hold CTRL + SHIFT and press ' u ' once, then type 2501 (2581).
Press ENTER and you will get that unicode character.

Then Select the character > Right click > Copy > Paste as many times as needed.

This is how it should look in conky (as a separator):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

P.S.
Example:
${font Open Sans:size=12}${color 0098FF}━━━━━━━━━━━━━━━━━━━━━

Just set override_utf8_locale  to  yes (true).

Last edited by marens (2025-04-01 03:20:40)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#2240 2025-04-03 16:53:27

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

Re: Show us your conky

Cannot recall who actually did the "Bunsen burner".

250403-134642.jpg

## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©



##      	0 	1 	2 	3 	4 	5 	6 	7 	8 	9 	A 	B 	C 	D 	E 	F
##U+250x 	─ 	━ 	│ 	┃ 	┄ 	┅ 	┆ 	┇ 	┈ 	┉ 	┊ 	┋ 	┌ 	┍ 	┎ 	┏
##U+251x 	┐ 	┑ 	┒ 	┓ 	└ 	┕ 	┖ 	┗ 	┘ 	┙ 	┚ 	┛ 	├ 	┝ 	┞ 	┟
##U+252x 	┠ 	┡ 	┢ 	┣ 	┤ 	┥ 	┦ 	┧ 	┨ 	┩ 	┪ 	┫ 	┬ 	┭ 	┮ 	┯
##U+253x 	┰ 	┱ 	┲ 	┳ 	┴ 	┵ 	┶ 	┷ 	┸ 	┹ 	┺ 	┻ 	┼ 	┽ 	┾ 	┿
##U+254x 	╀ 	╁ 	╂ 	╃ 	╄ 	╅ 	╆ 	╇ 	╈ 	╉ 	╊ 	╋ 	╌ 	╍ 	╎ 	╏
##U+255x 	═ 	║ 	╒ 	╓ 	╔ 	╕ 	╖ 	╗ 	╘ 	╙ 	╚ 	╛ 	╜ 	╝ 	╞ 	╟
##U+256x 	╠ 	╡ 	╢ 	╣ 	╤ 	╥ 	╦ 	╧ 	╨ 	╩ 	╪ 	╫ 	╬ 	╭ 	╮ 	╯
##U+257x 	╰ 	╱ 	╲ 	╳ 	╴ 	╵ 	╶ 	╷ 	╸ 	╹ 	╺ 	╻ 	╼ 	╽ 	╾ 	╿

update_interval 1

TEXT
 │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
 ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

 ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
 ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
 • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
 ¼ ½ ¾ ® ©

           ( 9(
          6 )
          )( 9 )
        ____)__.
        \~○~~·~|
         |• ○ ·|
         | ○ •○|
         | · • |
         |_____|
    ╔═══════════════╗
    ║       ^       ║
    ║       W       ║
    ║      [=]      ║
    ║      | |      ║
    ║      | |      ║
    ║      | |      ║
    ║      | |____  ║
    ║      | |    ) ║
    ║   <=======>(__║____
        BunsenLabs

Font:
Fira Mono bold size 10

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB