keith
August 7, 2019, 7:45pm
1
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.
Keith
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
keith
August 7, 2019, 10:13pm
3
I should have thought of that. It’s just a label that will never change.
Thanks, Beardedgeek72.
1 Like
ringo
August 7, 2019, 10:32pm
4
what does tell lsb_release -is ?
1 Like
keith
August 8, 2019, 8:07pm
5
[keith@end ~]$ lsb_release -is
Arch
[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.
ringo
August 8, 2019, 9:57pm
7
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
1 Like
FLVAL
October 20, 2019, 4:15pm
8
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