Conky configuration settings

Hello. In my conky, the first three lines display this:


$alignc ${color1}${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'}${color0}
$alignc ${color1}${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}${color0}
$alignc ${color1}${kernel}${color0}

OK, so when I run inxi, it does show Distro: EndeavourOs

[keith@end ~]$ inxi -S
System:    Host: end Kernel: 5.2.6-arch1-1-ARCH x86_64 bits: 64 Desktop: N/A Distro: EndeavourOS

So, does anyone know the conky entry to display “EndeavourOS”?

Thanks in advance for any help.


AFAIK it takes it’s info from the kernel, and the kernel is pure arch. I think that means you would have to replace the variable with plain text that reads “EndeavourOS”.
It’s like when I back up my system with timeshift, the snapshots are labeled “Arch”, because that’s what Timeshift identifies it as.

1 Like

I should have thought of that. It’s just a label that will never change.

Thanks, Beardedgeek72.

1 Like

what does tell lsb_release -is ?

1 Like

[keith@end ~]$ lsb_release -is
[keith@end ~]$ lsb_release -dc
Description: Arch Linux
Codename: n/a
[keith@end ~]$

1 Like

Thanks! We added a /etc/lsb-release for the next version thanks for your input.

For now maybe you can use /etc/os-release to identify EndeavourOS.

lsb_release is also like Neofetch to know which os you run… a seporate lsb_release package get easier to manupulate for updateing to a next month as example :slight_smile:

1 Like

I use this code on Conky

${font pftempestafivecondensed:size=10}${execi 86400 lsb_release -si} ${execi 86400 lsb_release -sr} ${execi 86400 lsb_release -sv}
${font pftempestafivecondensed:size=10}${kernel}
${font pftempestafivecondensed:size=10}${sysname} ${machine}

then it gives me this :

1 Like