Questions tagged [conky]

Conky is a free, light-weight system monitor for X that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD.

Conky is a free, light-weight system monitor for X that displays any information on your desktop. Conky is licensed under the GPL and runs on Linux and BSD.

Conky is a GitHub project. Its name is derived from the Canadian TV show Trailer Park Boys.

83 questions
0
votes
1 answer

How to display a conky builtin configuration variable?

Hello and thanks for the help. I'm trying to display the conky builtin configuration variable "update_interval". I've set it to 4 seconds, so the output should show "4". Unfortunately, the output just shows the string, not the value of "4". I've…
wonder
  • 33
  • 4
0
votes
1 answer

Pass conky object to external script

I have a conky object, and I want to pass it as parameter of a bash / lua script. How do I do it? Example: conky object: ${tcp_portmon 1 61000 lport 0} i.e the port of the first tcp connection script: $ lsof -i : | sed -n 2p | awk '{print…
sirfoga
  • 121
  • 4
0
votes
1 answer

conky drives info, changing totalbar colours under certain conditions

I have a conky script displaying drives info, percentage used, current amount used and total size I have a total bar under each drive name and I want to change the colour to red if the total is greater than 90% For the highest cpu/mem sections I am…
0
votes
1 answer

Lua script for conky runs without errors but doesn't draw anything

I am new to lua and was trying to get more into it by creating scripts for conky. In my example, I was trying to encapsulate cairo functionality into a Canvas object and drawable objects (i.e. Text object) that can be added to the canvas. When I…
RobinW
  • 292
  • 4
  • 16
0
votes
2 answers

Use bash in conky.config

You can use bash code, and call bash scripts, in conky.text. Is there any way to use it in conky.config? The reason I want this is to have window specifications depending on whether I have an external monitor connected or not. So I want logic…
jkazan
  • 1,149
  • 12
  • 29
0
votes
1 answer

Conky complains about "No such file or directory" after unmounting a volume

I have a bash script to check my removable devices in the system. This script is called by Conky to dynamically show/hide said devices and their used and free space. The script seems to be working fine: When inserting a new device, it shows up in…
Adri C.S.
  • 2,909
  • 5
  • 36
  • 63
0
votes
1 answer

Conky how to show desktop edition

Is there a way to get Conky to show your Desktop Edition? (Mate, Openbox, etc...) I have looked around on this site, AskUbuntu, Google (naturally), and many forums. not looking for code, just an answer or direction to find said info. Thanks in…
Dave Reid
  • 31
  • 1
  • 9
0
votes
2 answers

if-else statement in conky not working properly

my if-elseif-else construct in conky is not working properly. It should display "wireless" when I am connect to a wifi, "wired" when I am connected to a wired lan and "no network", when I have no network connection. This is my conky-code which is…
Alf
  • 1,821
  • 3
  • 30
  • 48
0
votes
1 answer

dzen2 and conky display config text

I'm using Xmonad and a minimal debian as OS and i'm trying to set a bottom dze2 bar with some conky information pipe to it. The problem is that in addition to the infos that my bar show i have the plain config text also as shown in the…
Habchi
  • 1,921
  • 2
  • 22
  • 50
0
votes
0 answers

conky stops when disconnected from network

I have a pretty decent sized conkyrc, you can see it here: https://raw.githubusercontent.com/spravo13/dotfiles/master/conkyrc-desktop I have a problem where when I disconnect from the internet the whole conky freezes. I understand if the features…
Spencer Bravo
  • 31
  • 1
  • 7
0
votes
1 answer

shell script to start conky and plank

I have just started to learn shell scripting on Ubuntu and thought of writing a basic script which starts conky and plank and placing it in /usr/bin so that I can run it as a command.I did make it an executable too. #!/bin/bash echo `conky -q…
Cyatos
  • 21
  • 6
0
votes
1 answer

sed for weather for conky

$ inxi -xxxw Weather: Conditions: 23 F (-5 C) - Scattered Clouds Wind: From the West at 15 MPH Humidity: 53% Pressure: 29.89 in (1012 mb) Wind Chill: 10 F (-12 C) Location: Chicago IL (USA) Altitude: 184 ft Time: November 17,…
0
votes
1 answer

can't execute conky on docker

I try to execute conky on my container (docker) for monitoring it with ssh tunnel. If I try to execute conky on my admin server it's okay but on my container I can't ! pc --> admin server --> container I've installed libimlib2-dev but I get again…
user2912390
  • 116
  • 2
  • 8
0
votes
1 answer

Bash if block doesn't run when it clearly should

The code: first=true mountpoint=" " partlist=`df -h | grep "^/dev"` # get partition info for i in $partlist # loop through info do if [[ ${i:0:1} = "/" ]] # items starting with / are what I'm interested in then if [[…
FatalKeystroke
  • 2,882
  • 7
  • 23
  • 35
0
votes
1 answer

SED: extract from google finance

my code: ${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=1&from=USD&to=PLN"|grep "
"|sed 's/<[^>]*>//g'} i trying to get currency rate from google…