You are not logged in.
@loutch
Just add to the end of the moon script:
# French Translation
sleep 0.4
sed -i -e 's/Full Moon/Pleine Lune/' -e 's/Waning Gibbous/Gibeuse décroissante/' -e 's/Waxing Gibbous/Gibeuse croissante/' -e 's/Waxing Crescent/Lune Montante/' -e 's/First Quarter/Premier Quartier/' -e 's/Last Quarter/Dernier Quartier/' $HOME/.conky/Tahoe/lune/phase
However, you are missing a few moon phases:
https://www.timeanddate.com/astronomy/moon/phases.html
Find, translate and add to the code above. ![]()
Last edited by marens (2025-10-11 12:54:20)
If people would know how little brain is ruling the world, they would die of fear.
Online
Re
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
^ I created a test file in HOME:
New Moon
Waxing Crescent
First Quarter
Waxing Gibbous
Full Moon
Waning Gibbous
Third Quarter
Waning CrescentThen:
$ sed -i -e 's/New Moon/T1/' -e 's/Waxing Crescent/T2/' -e 's/First Quarter/T3/' -e 's/Waxing Gibbous/T4/' -e 's/Full Moon/T5/' -e 's/Waning Gibbous/T6/' -e 's/Third Quarter/T7/' -e 's/Waning Crescent/T8/' $HOME/testResult:
$ cat test
T1
T2
T3
T4
T5
T6
T7
T8Just replace T1, T2......T8 inside the sed command with the French translation.
EDIT
I found:
New Moon Nouvelle Lune
Waxing Crescent Premier Croissant
First Quarter Premier Quartier
Waxing Gibbous Gibbeuse Croissante
Full Moon Pleine Lune
Waning Gibbous Gibbeuse Décroissante
Third Quarter Dernier Quartier
Waning Crescent Dernier CroissantLast edited by marens (2025-10-11 15:08:50)
If people would know how little brain is ruling the world, they would die of fear.
Online
RadioTrayNG - Now Playing
I found A Mississippi Blues radio station a month ago:
https://forums.bunsenlabs.org/viewtopic … 18#p145518
Today I was looking for a website and I found the address:
https://www.getmeradio.com/stations/ami … lues-4845/
A pleasant surprise.
The website displays an album cover image.
A new script was quickly created:
It's really nice to have the same album cover as on the website. ![]()
If people would know how little brain is ruling the world, they would die of fear.
Online
Still in progress...
https://i.imgur.com/KeGdGCut.png
Someday I will revisit mine again. ![]()
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Online
unklar wrote:Still in progress...
https://i.imgur.com/KeGdGCut.pngSomeday I will revisit mine again.
That's right, my friend.
I haven't counted how many times I started and discarded the **crap**. ![]()
I always come up with a better strategy for the next day at night: ![]()
-Background image for better identification of locations on the world map (not the one with day and night shadows! My eyes just don't see well anymore)
-Only ‘goto’ and ‘voffset’
-Provisional line spacing between locations/temp and the next locations/temp
-The \ is sugar against shifting the configuration
-Only then undo the above line spacing and tackle the next thing
Take your time, we'll get it done eventually. ![]()
Have a nice day.
Offline
I found the same image (2560x1280) used by timeanddate.com, but without the sunlight map.
Good basis for conky (world clock/weather) but also for wallpaper.
+1 Thanks!
Offline
Offline
Someone needs to point quick screenshot to another image hosting service
Offline
Quote of the Day
Today I tried to do something I've never done before.
First I found the source:
https://www.calendarlabs.com/today/
My screen is 1440x900 and I always have Gis Weather with a few conkys, so space is limited.
I had to split the quote into multiple lines of 4 words each:
curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | sed -r 's/(([^[:blank:]]+[[:blank:]]+){4})/\1\n/g'
Always remember that you
are absolutely unique; Just
like everyone else.Then the author:
curl -s "https://www.calendarlabs.com/today/" | grep '<strong>' | sed '2q;d' | sed 's/^[ \t]*//' | awk -F'</strong>' '{print $1}' | sed 's/<div class="quote-auth"><strong>//'
Margaret MeadAnd finally, conky:
${color DADADA}${texeci 3600 curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | sed -r 's/(([^[:blank:]]+[[:blank:]]+){4})/\1\n/g'}
${voffset 10}${alignr}${color FF8080}${texeci 3600 curl -s "https://www.calendarlabs.com/today/" | grep '<strong>' | sed '2q;d' | sed 's/^[ \t]*//' | awk -F'</strong>' '{print $1}' | sed 's/<div class="quote-auth"><strong>//'}It doesn't look bad:
OK, game over. ![]()
If people would know how little brain is ruling the world, they would die of fear.
Online
^ If you have translate-shell installed, try to see what the quote looks like in your language:
https://forums.bunsenlabs.org/viewtopic … 64#p134264
Here are examples for French and German:
$ curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | trans -brief :fr | sed -r 's/(([^[:blank:]]+[[:blank:]]+){4})/\1\n/g'
N'oubliez jamais que vous
êtes absolument unique ; Comme
tout le monde.
$ curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | trans -brief :de | sed -r 's/(([^[:blank:]]+[[:blank:]]+){4})/\1\n/g'
Denken Sie immer daran,
dass Sie absolut einzigartig
sind; Genau wie alle
anderen.I don't know if the translations are good, but @unklar and @loutch will know. ![]()
Note *
With: sed -r 's/(([^[:blank:]]+[[:blank:]]+){6})/\1\n/g'
Last edited by marens (2025-10-15 23:56:20)
If people would know how little brain is ruling the world, they would die of fear.
Online
Someone needs to point quick screenshot to another image hosting service
Your frustration with the Imgur/UK situation is well understood.
But that "someone" would have to:
1) find a suitable replacement service with an API that accepts anonymous uploads
1a) check that no forum members have had issues with that service
2) write a new upload script to use it and put it in an upgraded bunsen-utilities
3) change the menu entry to use that script
4) push a bunsen-configs upgrade which invites users to import the new menu file
All this, while in the final stages of getting the new Carbon iso ready. ![]()
Meanwhile, all we can do right now is ask users to upload their screenshots to some other service than Imgur. Many people are already doing this.
...and hope that maybe the situation will resolve itself
...or fear that the same issue will come to affect all image upload services ![]()
Last edited by johnraff (2025-10-16 04:44:10)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
@Sector11 had activated the day/night change as ‘DeepSkyBlue’ for the respective city in his configuration.
I'll probably have to do that too. But I'm glad I managed it without any ‘shuffling’ for now.
If you want to improve Conky, go ahead. ![]()
conky.config = {
-- pkill -xf "conky -c /media/5/Conky/S11_WTD.conky" &
-- Idea stolen from: ragamatrix and Habitual
-- weather script by TeoBigusGeekus
-- tweaked 2017-09-02 - Sector11
-- --------------------------------
-- Daylight map.
-- Written by John Jones / Habitual)
-- 09/10/2010 07:37:21 AM
-- Conky 1.8.0
-- Remote image(s) is/are updated twice an hour on http://static.die.net and there are only 4 available.
-- http://static.die.net/earth/mercator/640.jpg is 640x355
-- http://static.die.net/earth/mercator/800.jpg is 800x444
-- http://static.die.net/earth/mercator/1024.jpg is 1024x568
-- http://static.die.net/earth/mercator/1280 .jpg 1280px × 710px (scaled to 1148px × 637px)
-- Use ~/bin/daylight.sh to retrieve the remote image of your choice/size.
-- Completely (re)written by John Jones on 09/01/2010
-- from other people's code, but it's MY layout, so there.
-- ---------------------------------
--## Begin Window Settings ##################################################
own_window = true,
double_buffer = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',
own_window_class = 'Conky',
--own_window_title World Time Date & Forecast - CCCC: S11, ragamatrix, Habitual & Teo
own_window_colour = 'gray',
-- own_window_argb_visual yes
-- own_window_argb_value 0 #255
minimum_width = 1600, minimum_height = 800,--887,--## w|h
-- maximum_width = 1601,--## w
gap_x = 0,-- l|r
gap_y = 0,-- u|d
alignment = 'middle_middle',
--## ############################################## End Window Settings ###
--## Font Settings #########################################################
use_xft = true,
font = 'monofur:bold:size=11',--12
xftalpha = 1,
override_utf8_locale = true,
--##################################################### End Font Settings ###
--## Color Settings #########################################################
draw_shades = true,
default_shade_color = '#000000',
draw_outline = false,
default_outline_color = '#000000',
default_color = '#FFDEAD',--255 222 173 NavajoWhite
color0 = '#8FBC8F',--143 188 143 DarkSeaGreen
color1 = '#778899',--119 136 153 LightSlateGray
color2 = '#D8BFD8',--216 191 216 Thistle
color3 = '#9ACD32',--154 205 50 YellowGreen
color4 = '#FFA07A',--255 160 122 LightSalmon
color5 = '#FFDEAD',--255 222 173 NavajoWhite
color6 = '#00BFFF',-- 0 191 255 DeepSkyBlue
color7 = '#5F9EA0',-- 95 158 160 CadetBlue
color8 = '#BDB76B',--189 183 107 DarkKhaki
color9 = '#FFD700',--255 215 0 Gold
--#################################################### End Color Settings ###
--## Borders Section ########################################################
draw_borders = true,--false,
stippled_borders = 0,
border_inner_margin = 0,
border_outer_margin = 0,
border_width = 10,
draw_graph_borders = false,
--default_graph_size 15 40
--#################################################### End Borders Secton ###
--## Miscellaneous Section ##################################################
background = true,
use_spacer = 'none',
no_buffers = true,
imlib_cache_size = 0,
--############################################# End Miscellaneous Section ###
--## LUA Settings ###########################################################
--lua_load = os.getenv("HOME") .. '/.config/conky/LUA/draw-bg.lua',
lua_load = '$HOME/.config/conky/LUA/draw-bg.lua',
lua_draw_hook_pre = 'draw_bg 0 5 6 1601 888 0x000000 0.2',
update_interval = 1,
};
conky.text = [[
${texeci 3600 curl -s 'wttr.in/{Honululu,Vancouver,Winnipeg,Mexico_City,New_York,Santiago,Buenos_Aires,London,Kastoria,Cairo,Cape_Town,New_Delhi,Moscow,Beijing,Tokyo,Brisbane,Auckland,Kinshasa}?format=1' > ~/.config/conky/S11world/TEST/cities1}
${texeci 3600 curl -s -L "http://images.opentopia.com/sunlight/world_sunlight_map_rectangular.jpg" -o "$HOME/.config/conky/S11world/images/world_1600.png"}
${image /home/unklar/.config/conky/S11world/images/world_1600.png}
${alignc}${font monofur:size=14}${tztime Pacific/Honolulu %d. %B %Y} «--${color3}|${color6}--» ${tztime Pacific/Kiritimati %d. %B %Y}${color}${font}
${goto 900}${if_match ${tztime Europe/Moscow %d} == ${tztime Pacific/Kiritimati %d}}${color}Moscow ${tztime Europe/Moscow %R}${else}Moscow ${tztime Europe/Moscow %R}${endif}
${goto 900}${font Symbola:size=12}${execpi 60 sed -n '13p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 740}${if_match ${tztime Europe/London %d} == ${tztime Pacific/Kiritimati %d}}${color}London ${tztime Europe/London %R}${else}London ${tztime Europe/London %R}${endif}
${goto 740}${font Symbola:size=12}${execpi 60 sed -n '8p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 140}${if_match ${tztime Canada/Pacific %d} == ${tztime Pacific/Kiritimati %d}}${color}Vancouver ${tztime Canada/Pacific %R}${else}Vancouver ${tztime Canada/Pacific %R}${endif} \
${goto 275}${if_match ${tztime America/Winnipeg %d} == ${tztime Pacific/Kiritimati %d}} Winnipeg ${tztime America/Winnipeg %R}${else}Winnipeg ${tztime America/Winnipeg %R}${endif}
${goto 140}${font Symbola:size=12}${execpi 60 sed -n '2p' $HOME/.config/conky/S11world/TEST/cities1} \
${goto 275}${font Symbola:size=12}${execpi 60 sed -n '3p' $HOME/.config/conky/S11world/TEST/cities1}${font}
${goto 830}${if_match ${tztime Europe/Athens %d} == ${tztime Pacific/Kiritimati %d}}${color}Kastroria ${tztime Europe/Athens %R}${else}Kastoria ${tztime Europe/Athens %R}${endif} \
${goto 1235}${if_match ${tztime Asia/Shanghai %d} == ${tztime Pacific/Kiritimati %d}}Beijing ${tztime Asia/Shanghai %R}${else}Beijing ${tztime Asia/Shanghai %R}${endif}
${goto 830}${font Symbola:size=12}${execpi 60 sed -n '9p' $HOME/.config/conky/S11world/TEST/cities1} \
${goto 1235}${font Symbola:size=12}${execpi 60 sed -n '14p' $HOME/.config/conky/S11world/TEST/cities1}${font}
${goto 1350}${if_match ${tztime Asia/Tokyo %d} == ${tztime Pacific/Kiritimati %d}}${color}Tokyo ${tztime Asia/Tokyo %R}${else}Tokyo ${tztime Asia/Tokyo %R}${endif}
${goto 1350}${font Symbola:size=12}${execpi 60 sed -n '15p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 390}${voffset -50}${if_match ${tztime America/New_York %d} == ${tztime Pacific/Kiritimati %d}}${color}New York ${tztime America/New_York %R}${else}New York ${tztime America/New_York %R}${endif}
${goto 390}${font Symbola:size=12}${execpi 60 sed -n '5p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 240}${voffset 60}${if_match ${tztime America/Mexico_City %d} == ${tztime Pacific/Kiritimati %d}}${color} Mexico_City ${tztime America/Mexico_City %R}${color}${else} Mexico_City ${tztime America/Mexico_City %R}${endif}
${goto 240}${font Symbola:size=12}${execpi 60 sed -n '4p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 870}${voffset -60}${if_match ${tztime Africa/Cairo %d} == ${tztime Pacific/Kiritimati %d}}${color}Cairo ${tztime Africa/Cairo %R}${color}${else}Cairo ${tztime Africa/Cairo %R}${endif}
${goto 870}${font Symbola:size=12}${execpi 60 sed -n '10p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 1070}${voffset -20}${if_match ${tztime GMT-5:30 %d} == ${tztime Pacific/Kiritimati %d}}${color}New Delhi ${tztime GMT-5:30 %R}${color}${else}New Delhi ${tztime GMT-5:30 %R}${endif}
${goto 1070}${font Symbola:size=12}${execpi 60 sed -n '12p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 25}${voffset -20}${if_match ${tztime Pacific/Honolulu %d} == ${tztime Pacific/Kiritimati %d}}${color}Honolulu ${tztime Pacific/Honolulu %R}${color}${else}Honolulu ${tztime Pacific/Honolulu %R}${endif}
${goto 25}${font Symbola:size=12}${execpi 60 sed -n '1p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 810}${voffset 100}${if_match ${tztime Africa/Kinshasa %d} == ${tztime Pacific/Kiritimati %d}}${color} Kinshasa ${tztime Africa/Kinshasa %R}${color}${else} Kinshasa ${tztime Africa/Kinshasa %R}${endif}
${goto 810}${font Symbola:size=12}${execpi 60 sed -n '18p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 810}${voffset 10}${if_match ${tztime Africa/Johannesburg %d} == ${tztime Pacific/Kiritimati %d}}${color} Cape_Town ${tztime Africa/Johannesburg %R}${color}${else} Cape Town ${tztime Africa/Johannesburg %R}${endif}
${goto 810}${font Symbola:size=12}${execpi 60 sed -n '11p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 350}${voffset -40}${if_match ${tztime Chile/Continental %d} == ${tztime Pacific/Kiritimati %d}}${color}Santiago ${tztime Chile/Continental %R}${color}${else}Santiago ${tztime Chile/Continental %R}${endif}
${goto 350}${font Symbola:size=12}${execpi 60 sed -n '6p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 460}${voffset -10}${if_match ${tztime America/Argentina/Buenos_Aires %d} == ${tztime Pacific/Kiritimati %d}}${color}Buenos Aires ${tztime America/Argentina/Buenos_Aires %R}${color}${else}Buenos Aires ${tztime America/Argentina/Buenos_Aires %R}${endif}
${goto 460}${font Symbola:size=12}${execpi 60 sed -n '7p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 1390}${voffset -40}${voffset -40}${if_match ${tztime Australia/Brisbane %d} == ${tztime Pacific/Kiritimati %d}}${color}Brisbane ${tztime Australia/Brisbane %R}${color}${else}Brisbane ${tztime Australia/Brisbane %R}${endif}
${goto 1390}${font Symbola:size=12}${execpi 60 sed -n '16p' $HOME/.config/conky/S11world/TEST/cities1}${font} \
${goto 1500}${if_match ${tztime Pacific/Auckland %d} == ${tztime Pacific/Kiritimati %d}}${color}Auckland ${tztime Pacific/Auckland %R}${color}${else}Auckland ${tztime Pacific/Auckland %R}${endif}
${goto 1500}${font Symbola:size=12}${execpi 60 sed -n '17p' $HOME/.config/conky/S11world/TEST/cities1}${font}
]];PS: Please do not be surprised that retrieving weather data from 18 cities takes at least 30 seconds with wttr.in. ![]()
Last edited by unklar (2025-10-16 09:05:14)
Offline
Hello
@ marens
Great job as well
Conkyrc
${execi 350 ~/.conky/Tahoe/citation/traduction.sh}
${alignc}Citation du jour
${texeci 600 sed -n '1p' $HOME/.conky/Tahoe/citation/citation_fr | fmt -w 30}traduction.sh
#!/bin/bash
curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' > $HOME/.conky/Tahoe/citation/citation_en
sed -n '1p' $HOME/.conky/Tahoe/citation/citation_en | trans -brief :fr > $HOME/.conky/Tahoe/citation/citation_fr
exitdone this
But traduction no so well , normally in good french
that must be
Ne comparez pas vos débuts au milieu du parcours de quelqu'un d'autre.@+
Last edited by loutch (2025-10-16 09:15:58)
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
^ Yes, I expected the translation to not be the best sometimes:
I don't know if the translations are good, but @unklar and @loutch will know.
Your space is limited, but quotes are usually not long and you can probably add an author.
I don't think you need a script.
You can do the same from Conky:
$ curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | trans -brief :fr | fmt -w 30
Ne comparez pas votre début
au milieu de quelqu'un
d'autre.Conky:
${font :italic:size=10}${color DADADA}${texeci 3600 curl -s "https://www.calendarlabs.com/today/" | grep '<p>' | sed '3q;d' | sed 's/<p>//' | sed 's/<\/p>//' | sed 's/^[ \t]*//' | trans -brief :fr | fmt -w 30}${font}
${voffset 10}${alignr}${color FF8080}${texeci 3600 curl -s "https://www.calendarlabs.com/today/" | grep '<strong>' | sed '2q;d' | sed 's/^[ \t]*//' | awk -F'</strong>' '{print $1}' | sed 's/<div class="quote-auth"><strong>//'}If people would know how little brain is ruling the world, they would die of fear.
Online
@unklar
Looks great, good job.
PS: Please do not be surprised that retrieving weather data from 18 cities takes at least 30 seconds with wttr.in.
It can't be fast.
The only problem with wttr.in is the night icons.
I haven't used it for a long time and I see that nothing has changed.
If people would know how little brain is ruling the world, they would die of fear.
Online