This is the pertinent section of my .conkyrc file:
The lines containing the pre_exec command aren't working now; they were in 14.10. This is what these lines show now:
From a konsole, typing:
properly responds with:
and
with
so why isn't it working within the conky configuration file now?
Also, 15.10 is using Plasma as the DE, so how can I capture the Plasma version instead of the KDE version that I was capturing in 14.10?
Code:
${color}Distribution:${color 20a5e4} ${pre_exec lsb_release -ds | awk '{print $1}'} ${color}Release :${color 20a5e4} ${pre_exec lsb_release -ds | awk '{print $2}'} ${pre_exec lsb_release -ds | awk '{print $3}'} ${color}Codename :${color 20a5e4} ${pre_exec lsb_release -cs | awk '{print $1}'} # ${color}Desktop :${color 20a5e4} KDE ${pre_exec kde4-config --version | grep KDE | awk '{print $4}'} ${color}Desktop :${color 20a5e4} KDE ${pre_exec konsole --version | grep KDE | awk '{print $4}'} ${color}Linux Kernel:${color 20a5e4} $kernel ${color}Hostname :${color 20a5e4} $nodename
From a konsole, typing:
Code:
lsb_release -ds | awk '{print $1}'
Code:
paul@tanagra:~$ lsb_release -ds | awk '{print $1}' Ubuntu paul@tanagra:~$
Code:
lsb_release -ds | awk '{print $2}'
Code:
paul@tanagra:~$ lsb_release -ds | awk '{print $2}' 15.10 paul@tanagra:~$
Also, 15.10 is using Plasma as the DE, so how can I capture the Plasma version instead of the KDE version that I was capturing in 14.10?
Comment