You are not logged in.
Ok, a few quick script-mods and MX-CoreBlue is up on my laptop.
https://i.postimg.cc/QKHcHtpq/Laptop-Desktop.png
I'll be expanding the code a bit for my primary workstation, but so far I gotta say I'm happy with the layout.
PS: If/when Audacious is up and playing, a conky status for it shows on the left as well - bonus!
PPS: Just noticed the "Total Up" needed color adjustment - fixed - not worth uploading another screenie, but done nonetheless. Consistency. lolz
MX-Coreblue is my favorite conky and I kept it stock except for anything MX Linux specific. To get it to work properly with (X)Wayland I also added "require cairo_xlib" to the clockrings.luas script that accompanies this conky. Tightened up the spacing to allow it to display on my old HP laptop that has rather low resolution.
Real Men Use Linux
Offline
unklar wrote:I've checked the output data several times now. It's fine for my location. There are no errors.
The apparent 'messiness' of the alignment based on the colon is, in my opinion, unrelated.Does it clear up if you remove the colon?
No, there is no change.
Online
No, there is no change.
Let's try something since there was a change in the remind file regarding $Latitude and $Longitude.
Edit the applicable lines in ~/.reminders.sun.v.unklar
## 50°45'48"N = 50.756389 N
## 12°37'48"E = 12.63 E
## Lichtenstein SA Germany
## $Latitude can range from "-90.0" to "90.0"
## positive numbers = north of the equator
## negative numbers = south of the equator
## $Longitude can range from "-180.0" to "180.0"
## positive numbers = east of the Greenwich Meridian
## negative numbers = west of the Greenwich Meridian
SET $Latitude "50.756389"
SET $Longitude "12.63"
## SUN STUFF ##
FSET tomins(t) (hour(t) * 60) + minute(t)
FSET frommins(i) time(i / 60, i % 60)
FSET noon_solar(dt) sunrise(dt)+(sunset(dt)-sunrise(dt)) / 2
FSET _light_len(date) MAX(SUNSET(date)-SUNRISE(date), 0)
FSET _dark_len(date) 1440-_light_len(date)
MSG 50.756389 N 12.63 E
MSG Lichtenstein Germany
MSG Dämmerung [dawn()]
MSG Sonnenaufgang [sunrise()]
MSG Mittagssonne [noon_solar($T)]
MSG Sonnenuntergang [sunset()]
MSG Abenddämmerung [dusk()]
MSG
MSG Tageslicht [_light_len($T)] Min
MSG Nachtlicht [_dark_len($T)] MinAnd from my test.conky:
TEXT
${alignc}↓ TEST CODE ↓
${color9}${swapbar 0}${color}
##---------------------------
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}
##---------------------------
${font}${color9}${swapbar 0}${color}
${alignc}↑ BETWEEN LINES ↑NOTE the ending of the first line:
>~/.rsvu}I'm also wondering is it's something in the sed part that might have changed upline:
| sed -e "/.*(today):/d" -e '/^$/d'That's Martain to me.
Running in a terminal I get no errors:
2026·09·11 @ 10:54:50 ~
$ conky -q -c /media/5/Conky/test.conky &
[1] 88095
2026·09·11 @ 10:55:26 ~
$ pkill -xf "conky -q -c /media/5/Conky/test.conky" &
[2] 89047
2026·09·11 @ 10:55:55 ~
$ Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^^You shouldn't!
![]()
no change ![]()
.rsvu
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung 06:04
Sonnenaufgang 06:38
Mittagssonne 13:05
Sonnenuntergang 19:33
Abenddämmerung 20:06
Tageslicht 775 Min
Nachtlicht 665 Minwith a double punctuation mark
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung: 06:04
Sonnenaufgang: 06:38
Mittagssonne: 13:05
Sonnenuntergang: 19:33
Abenddämmerung: 20:06
·
Tageslicht: 775 Min
Nachtlicht: 665 MinOnline
^It's not that important! I'll arrange the alignment in left-hand conky anyway.
If necessary, I can also ask my friend @marens, because it's definitely possible to use sed to center-align not only the first line but also the following lines from the file.
Online
^^You shouldn't!
![]()
You're kidding. I learn something I pass it on!
no change
Well I tried.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I revived an OLD conky ... old enough it had eth0 in the top two lines and vnstat in a terminal told me the database for enp5s0 didn't exist.
Deleted vnstat and reinstalled and it was using enp6s0 as it should be.
It will be 5 months before it's filled out.
Added it to my three windowed conkys that I call up read and close as needed.
SEE: VNSTAT Conky
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
On the topic of old Conky
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Online
On the topic of old Conky
Nice one. It looks familiar. But never owning a laptop .... I chose a Space Station - Starbase !#-10
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Ah yes. I like that one.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Online
And from my test.conky:
TEXT ${alignc}↓ TEST CODE ↓ ${color9}${swapbar 0}${color} ##--------------------------- ${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\ ${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu} ##--------------------------- ${font}${color9}${swapbar 0}${color} ${alignc}↑ BETWEEN LINES ↑
The ~/.rsvu file has whitespace at the beginning of each line:
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung 06:04
Sonnenaufgang 06:38
Mittagssonne 13:05
Sonnenuntergang 19:33
Abenddämmerung 20:06
Tageslicht 775 Min
Nachtlicht 665 MinThat should be removed, and a new file ~/.rsvu_left_aligned created:
$ cat ~/.rsvu | sed 's/^[ \t]*//'
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung 06:04
Sonnenaufgang 06:38
Mittagssonne 13:05
Sonnenuntergang 19:33
Abenddämmerung 20:06
Tageslicht 775 Min
Nachtlicht 665 MinIn test conky, it looks like this:
##---------------------------
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 cat ~/.rsvu | sed 's/^[ \t]*//' > ~/.rsvu_left_aligned}It is now possible to center every line in Conky using ${alignc} and the ~/.rsvu_left_aligned file.
EDIT
It might be enough to simply change the `remind` command to:
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d' -e '/^[ \t]*//'>~/.rsvu}\If that works, the ~/.rsvu_left_aligned file is not needed.
Just add the lines to Conky in the usual way using ${alignc}, instead of:
${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}Note *
I don't have the remind installed and can't test it.
Last edited by marens (Yesterday 04:08:20)
If people would know how little brain is ruling the world, they would die of fear.
Offline
Maybe a silly question, but has anyone ever tried to make a taskar and system tray with Conky? Would that even be feasible?
Offline
Maybe a silly question, but has anyone ever tried to make a taskar and system tray with Conky? Would that even be feasible?
You can do it but I doubt you'd achieve much. I find conky rather fragile and awkward to use. Polybar or Lemonbar would be better.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Online
Sector11 wrote:And from my test.conky:
TEXT ${alignc}↓ TEST CODE ↓ ${color9}${swapbar 0}${color} ##--------------------------- ${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\ ${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu} ##--------------------------- ${font}${color9}${swapbar 0}${color} ${alignc}↑ BETWEEN LINES ↑The ~/.rsvu file has whitespace at the beginning of each line:
50.756389 N 12.63 E Lichtenstein Germany Dämmerung 06:04 Sonnenaufgang 06:38 Mittagssonne 13:05 Sonnenuntergang 19:33 Abenddämmerung 20:06 Tageslicht 775 Min Nachtlicht 665 MinThat should be removed, and a new file ~/.rsvu_left_aligned created:
$ cat ~/.rsvu | sed 's/^[ \t]*//' 50.756389 N 12.63 E Lichtenstein Germany Dämmerung 06:04 Sonnenaufgang 06:38 Mittagssonne 13:05 Sonnenuntergang 19:33 Abenddämmerung 20:06 Tageslicht 775 Min Nachtlicht 665 MinIn test conky, it looks like this:
##--------------------------- ${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\ ${execpi 600 cat ~/.rsvu | sed 's/^[ \t]*//' > ~/.rsvu_left_aligned}It is now possible to center every line in Conky using ${alignc} and the ~/.rsvu_left_aligned file.
EDIT
It might be enough to simply change the `remind` command to:${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d' -e '/^[ \t]*//'>~/.rsvu}\If that works, the ~/.rsvu_left_aligned file is not needed.
Just add the lines to Conky in the usual way using ${alignc}, instead of:${execpi 600 sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p -e 7p -e 8p -e 9p -e 10p ~/.rsvu}Note *
I don't have the remind installed and can't test it.
^^@marens,
thank you for your cooperation! ![]()
Unfortunately, due to this error in the terminal, the .rsvu or .rsvu_left_aligned file is always empty:
sed: -e Ausdruck #3, Zeichen 10: Unbekannter Befehl: »/«or english
░▒▓ …/.config/conky/mx-test 09:23
❯ LANG=C conky -c reminderrc &
[1] 5278
░▒▓ …/.config/conky/mx-test 09:36
❯ conky: desktop window (0x49d) is root window
conky: window type - normal
conky: drawing to created window (0x3e00001)
conky: drawing to double buffer
conky: forked to background, pid is 5292
conky: FOUND: wayland
conky: FOUND: x11
conky: FOUND: file
conky: FOUND: ncurses
conky: FOUND: console
conky: 'bunsenlabs' x11 session running 'BunsenLabs:XFCE' desktop
sed: -e expression #3, char 10: unknown command: `/'Online
The ~/.rsvu file has whitespace at the beginning of each line:
{ snip }
That should be removed, and a new file ~/.rsvu_left_aligned created:
WHY? Spaces are not a problem for sed at all
This ~/.test file has tabs, spaces and a mix of tabs and apaces
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file! 2026·09·12 @ 09:42:44 ~
$ sed -n -e 1p -e 2p -e 3p -e 4p -e 5p -e 6p ~/.test
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!This line ending creates a blank file.
-e '/^[ \t]*//'>~/.test 2026·09·12 @ 09:45:39 ~
$ sed -e "/.*(today):/d" -e '/^$/d' -e '/^[ \t]*//'>~/.test
sed: -e expression #3, char 10: unknown command: `/'
2026·09·12 @ 09:46:55 ~
$ cat ~/.test
2026·09·12 @ 09:46:59 ~
$ Let's make it easier:
2026·09·12 @ 10:32:29 ~
$ sed -n -e 1,6p ~/.test
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!- ALL SPACES
EDIT:
1. Let me fix this. Conky seems to have a problem with "tabs" not spaces
2. sed has no problem spaces.
Last edited by Sector11 (Yesterday 13:35:14)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^ As I said, I don't have the remind installed and can't test it.
$ cat ~/.test
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
$ cat ~/.test | sed 's/^[ \t]*//'
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!My idea is to left-align all the lines and then use ${alignc} in Conky.
Each line separately.
Good luck!
EDIT
Or, more simply, in Conky:
${alignc}${execpi 600 sed -n '1p' ~/.rsvu | sed 's/^[ \t]*//'}
${alignc}${execpi 600 sed -n '2p' ~/.rsvu | sed 's/^[ \t]*//'}
${alignc}${execpi 600 sed -n '3p' ~/.rsvu | sed 's/^[ \t]*//'}
...Last edited by marens (Yesterday 15:08:56)
If people would know how little brain is ruling the world, they would die of fear.
Offline
A test file could have worlked just as well.
I wrote the reminder file with spaces than called it into conky with ONE command.
It has worked for me for YEARS! unklar's use to work.
${pre_exec remind -q -r ~/.reminders.sun.v | sed -e "/.*(today):/d" -e '/^$/d'}MSG 50.756389 N 12.63 E
MSG Lichtenstein Germany
MSG Dämmerung [dawn()]
MSG Sonnenaufgang [sunrise()]
MSG Mittagssonne [noon_solar($T)]
MSG Sonnenuntergang [sunset()]
MSG Abenddämmerung [dusk()]
MSG
MSG Tageslicht [_light_len($T)] Min
MSG Nachtlicht [_dark_len($T)] Minwhich produced:
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung 06:30
Sonnenaufgang 06:56
Mittagssonne 12:50
Sonnenuntergang 18:44
Abenddämmerung 19:08
Tageslicht 708 Min
Nachtlicht 732 MinNICE AND NEAT!
Had I wanted it left aligned I would NOT have added spaces in the remind file:
MSG 50.756389 N 12.63 E
MSG Lichtenstein Germany
MSG Dämmerung [dawn()]
MSG Sonnenaufgang [sunrise()]
MSG Mittagssonne [noon_solar($T)]
MSG Sonnenuntergang [sunset()]
MSG Abenddämmerung [dusk()]
MSG
MSG Tageslicht [_light_len($T)] Min
MSG Nachtlicht [_dark_len($T)] MinBut in the conky:
50.756389 N 12.63 E
Lichtenstein Germany
Dämmerung 06:30
Sonnenaufgang 06:56
Mittagssonne 12:50
Sonnenuntergang 18:44
Abenddämmerung 19:08
Tageslicht 708 Min
Nachtlicht 732 MinNOT so nice and neat.
The code you gave yesterday was:
-e '/^[ \t]*//'>~/.testwhich left an empty ~/.test file
2026·09·12 @ 09:45:39 ~
$ sed -e "/.*(today):/d" -e '/^$/d' -e '/^[ \t]*//'>~/.test
sed: -e expression #3, char 10: unknown command: `/'
2026·09·12 @ 09:46:55 ~
$ cat ~/.test
2026·09·12 @ 09:46:59 ~
$ This Is different to what you said yesyerday:
's/^[ \t]*//'does not equal
-e '/^[ \t]*//'$ cat ~/.test
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
$ cat ~/.test | sed 's/^[ \t]*//'
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!
This is a test file!ADDING the
> ~/.rsvu(or
> ~/.testwas to see if unklar's conky version could call in a plain formated text file.
TEXT
${alignc}↓ TEST CODE ↓
${color9}${swapbar 0}${color}
##---------------------------
${alignc}${alignc}- - - - -
Directly from the remind command:
${alignc}${alignc}- - - - -
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'}
${alignc}- - - - -
From the created ~/.rsvu file
${alignc}- - - - -
${execpi 600 remind -q -r ~/.reminders.sun.v.unklar | sed -e "/.*(today):/d" -e '/^$/d'>~/.rsvu}\
${execpi 600 sed -n 1,10p ~/.rsvu}
${alignc}- - - - -
From an unformated text file with time's added (not real)
${alignc}${alignc}- - - - -
${goto 30}${execpi 600 sed -n -e 1p ~/.test}
${goto 30}${execpi 600 sed -n -e 2p ~/.test}
${goto 60}${execpi 600 sed -n -e 3p ~/.test}
${goto 20}${execpi 600 sed -n -e 4p ~/.test}
${goto 30}${execpi 600 sed -n -e 5p ~/.test}
${goto 0}${execpi 600 sed -n -e 6p ~/.test}
${goto 10}${execpi 600 sed -n -e 7p ~/.test}
${goto 0}${execpi 600 sed -n -e 8p ~/.test}
${goto 50}${execpi 600 sed -n -e 9p ~/.test}
${goto 50}${execpi 600 sed -n -e 10p ~/.test}
##---------------------------
${font}${color9}${swapbar 0}${color}
${alignc}↑ BETWEEN LINES ↑One line of code in conky or 10 lines, which is more efficient?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
MarkW wrote:Maybe a silly question, but has anyone ever tried to make a taskar and system tray with Conky? Would that even be feasible?
You can do it but I doubt you'd achieve much. I find conky rather fragile and awkward to use. Polybar or Lemonbar would be better.
@Dobbie03; you are correct; conky is not the application for a taskbar.
Polybar works well with X11.
Waybar, and Yambar for Wayland - although I don't know how well their system trays are working. Yambar also works in X11.
For X11 tint2 with some executors works well, but can get resource hungry.
You must unlearn what you have learned.
-- yoda
Offline