You are not logged in.
^ Maybe I didn't understand you, but everything seems fine to me:
$ wget -O - -q http://fetedujour.fr/ --user-agent="Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0" | grep h2 | head -1 | cut -d">" -f2 | cut -d"<" -f1 | cut -d":" -f2
Vincent
What output do you expect?
If people would know how little brain is ruling the world, they would die of fear.
Offline
Re
in console
loutch@RogStrix:~$ wget -O - -q https://fetedujour.fr/ --user-agent="Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0" | grep h2 | head -1 | cut -d">" -f2 | cut -d"<" -f1 | cut -d":" -f2
loutch@RogStrix:~$
i have nothing.
launch conky in console , no errors but nothing in conky.
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
^ Try with Firefox:
https://fetedujour.fr
If people would know how little brain is ruling the world, they would die of fear.
Offline
Forbidden
You don't have permission to access this resource.
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
^ It might be a problem with the server (for your location).
Try later or tomorrow.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Oki-doki
@+
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
Hello
This morning everything worked correctly, the magic of Linux no doubt, sorry for the inconvenience.
Thank you again
@+
Last edited by loutch (2025-01-23 09:19:27)
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
Hello
This morning everything worked correctly, the magic of Linux no doubt, sorry for the inconvenience.
Thank you again
@+
You can change --user-agent to Linux (instead Windows NT).
The code has also been changed to make it simpler, but it needs to be tested:
$ wget -O - -q https://fetedujour.fr/ --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" | grep h2 | head -1 | awk -F' : ' '{print $2}' | sed 's/<\/h2>//'
Ella
Conky:
${texeci 3600 wget -O - -q https://fetedujour.fr/ --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" | grep h2 | head -1 | awk -F' : ' '{print $2}' | sed 's/<\/h2>//'}
EDIT
* Or shorter (terminal):
$ wget -O - -q https://fetedujour.fr/ --user-agent="Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" | grep h2 | head -1 | cut -d":" -f2 | cut -d"<" -f1
Ella
Last edited by marens (2025-02-01 15:04:40)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Offline
^ Very nice, @loutch.
The Linux Mint forums have some great conky posts.
Fortunately, they don't know about us.
It's a big project and they have a huge number of users.
I can't even imagine what would happen if they started using our accuweather script.
Probably the Accuweather developers would quickly notice the increased (unusual) traffic and the script would stop working.
If people would know how little brain is ruling the world, they would die of fear.
Offline
RadioTrayNG - Now Playing
https://forums.bunsenlabs.org/viewtopic … 38#p140138
Why simple when it can be complicated?
In the first version of the script, I made an oversight (skipped the ' " ' in the middle) and the album_art command became unnecessarily long.
If you want, you can replace the line:
album_art=$(sed -n '1p' $HOME/.conky/RadioTray_NG/image | sed 's/{"image"://' | sed 's/}//' | sed 's/{//' | sed -e 's/.*"\(.*\)".*/\1/')
with:
album_art=$(sed -n '1p' $HOME/.conky/RadioTray_NG/image | sed 's/{"image":"//' | sed 's/"}//')
The script has been updated.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Exactly!
That's phenomenal!
Offline
Beautiful!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Re
Danke .
I have it .
Not like on mageia 5 with conky 1.9 but here there are two of them .
radiotrayng in 2016 with impulse
today in 2025
audacious in 2016
today
@+
Last edited by loutch (2025-02-15 17:05:27)
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
RadioTrayNG - Now Playing
https://forums.bunsenlabs.org/viewtopic … 38#p140138
When you run radiotray-ng conky and then RadioTrayNG (app), it may happen that the last album cover is briefly displayed (after the headphones).
The reason is that I did not delete the contents of the album_cover file when RadioTrayNG is turned off.
This can be 'fixed' with a sleep command (until new data appears) or like this:
Find the line:
kill -SIGKILL $radiotray_conky
Replace with (add below):
kill -SIGKILL $radiotray_conky
> $HOME/.conky/RadioTray_NG/album_cover
Note *
The script was updated today.
If people would know how little brain is ruling the world, they would die of fear.
Offline
Hello
All conkys can be launched separatly
Principal conky 1x
with left & right 3x
With weather conky barograph & barometer 4x
with season & extra 5x
& screenshot
If you wan scripts , you must wait a few more days as I have some bugs in the console.
@+
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
That was the culprit from here: https://forums.bunsenlabs.org/viewtopic … 28#p141828
- changed in Syntax 1.10
- found this stubborn lua error
Edit:
old-syntax1.9 https://workupload.com/file/jFMw5x97
new-syntax1.10 https://workupload.com/file/xCycYK9J5Qr
Last edited by unklar (2025-03-06 10:55:15)
Offline