You are not logged in.

#2741 2026-09-11 00:58:06

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,995

Re: Show us your conky

WizardofCOR wrote:

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

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

#2742 2026-09-11 11:18:38

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

Re: Show us your conky

Sector11 wrote:
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. wink

Does it clear up if you remove the colon?

No, there is no change.

Online

#2743 2026-09-11 14:00:50

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

Re: Show us your conky

unklar wrote:

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)] Min

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 ↑

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

#2744 2026-09-11 16:07:08

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

Re: Show us your conky

^^You shouldn't!  big_smile big_smile

no change  sad
.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 Min

q42NkTjt.png

with 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 Min

OuddMy3t.png

Online

#2745 2026-09-11 16:21:19

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

Re: Show us your conky

^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

#2746 2026-09-11 16:57:52

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

Re: Show us your conky

unklar wrote:

^^You shouldn't!  big_smile big_smile

You're kidding.  I learn something I pass it on!

unklar wrote:

no change  sad

Well I tried.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2747 2026-09-11 18:04:44

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

Re: Show us your conky

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

#2748 2026-09-11 18:40:08

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,341

Re: Show us your conky

On the topic of old Conky

https://github.com/gvoze32/Mainte


"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

#2749 2026-09-11 21:17:06

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

Re: Show us your conky

Döbbie03 wrote:

On the topic of old Conky

https://github.com/gvoze32/Mainte

Nice one.  It looks familiar.  But never owning a laptop .... I chose a Space Station - Starbase !#-10

768881050_starbase_-10.webp


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2750 2026-09-11 21:24:51

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,341

Re: Show us your conky

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

#2751 Yesterday 03:12:19

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,296

Re: Show us your conky

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 Min

That 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 Min

In 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

#2752 Yesterday 07:04:33

MarkW
Member
Registered: 2024-11-03
Posts: 547

Re: Show us your conky

Maybe a silly question, but has anyone ever tried to make a taskar and system tray with Conky?  Would that even be feasible?

Offline

#2753 Yesterday 07:18:45

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 4,341

Re: Show us your conky

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.


"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

#2754 Yesterday 07:39:04

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

Re: Show us your conky

marens wrote:
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 Min

That 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 Min

In 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!  smile

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

#2755 Yesterday 13:06:16

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

Re: Show us your conky

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

#2756 Yesterday 13:59:36

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 1,296

Re: Show us your conky

^ 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

#2757 Today 14:04:44

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

Re: Show us your conky

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)] Min

which 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 Min

NICE 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)] Min

But 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 Min

NOT so nice and neat.

The code you gave yesterday was:

 -e '/^[ \t]*//'>~/.test

which 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

> ~/.test

was 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?

TEST CONKY


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2758 Today 15:09:11

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 3,038

Re: Show us your conky

Döbbie03 wrote:
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

Board footer

Powered by FluxBB