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
1
vote
1 answer

How to use if_existing statment with path string?

Im trying to chech if the file exists in conky using ${if_existing ..} as follows: ${if_existing /home/stanislav/.cache/yandexweather/bkn_n.png}YES \ ${else}NO ${endif}\ And this works perfectly. However how can I use ${if_existing ..}…
RStanislav
  • 48
  • 3
1
vote
1 answer

Conky cpubar filling in wrong way

I have a simple conky cpubar for monitoring CPU load working on Debian KDE 9, here is the relevant part: ${image ~/script/conky/static/img/cpu.png -p 0,280 -s 26x26}\ ${goto 40}${font monospace:bold:size=15}${color1}CPU ${font …
max
  • 366
  • 5
  • 18
1
vote
1 answer

No Errors but still not drawing anything

This Conky Config that I like a lot had a couple of issues when I tried to run it : Old Syntax: downloaded Conky converter and changed some variable names by hand as well which fixed it Missing some endif: I managed to find where it is, put it in…
1
vote
1 answer

How to properly pass file path to lua function from Conky

I'm working to streamline my conky by refactoring display logic into lua functions, but I can't find any examples of how to pass file paths, and my attempts at guessing are yielding script errors. What I am attempting to to do is display the…
bregia
  • 83
  • 8
1
vote
0 answers

Displaying fps counter in conky

Is there is such variable that gives me fps counter in conky? https://github.com/brndnmtthws/conky Thanks!
1
vote
1 answer

Conky: write error: Bad file descriptor

I just switched from Debian 9 to Ubuntu 18.04 (don't judge me). I had a working Conky (don't judge me again) script on Debian 9 which does not run any more on Ubuntu 18.04 with the latest Conky version (1.10.9). The problem is that every single…
Benjamin Barrois
  • 2,566
  • 13
  • 30
1
vote
1 answer

Using Conky execpi variable with Bash conditional statement

I'm trying to write a simple "pinger" script which will periodically try to reach given IP address and output a colored message with information if it is available or not. I face the problem in which I can't set custom color inside Bash conditional…
1
vote
2 answers

How are progress bars programmed in Conky and how can I apply this in my own custom one?

I'm trying to customize my progress bars in Conky (battery_bar, fs_bar...) in order to have a layout other than the default one, which looks like: Following this answer I managed to create a filesystem usage bar, and with some code modifying, a…
xvlaze
  • 837
  • 1
  • 10
  • 30
1
vote
1 answer

Conky - Lua Config - Custom variables

I want to use custom variales in my Lua config of conky to share config between computers. Why does the following does not work, it uses simple Lua code: conky.config={..} -- set variables work = "COMPUTERNAME" lan = "wlp9s0" -- compare with…
Jens Peters
  • 2,075
  • 1
  • 22
  • 30
1
vote
3 answers

Conky/Dzen2 and variables from shell

I'm trying to make some dzen2 stuff, but i have some hard time on one point. I want to eval color variable between conky and dzen2. Something like that: Colors : #!/bin/zsh ################################# ## Colors for Dzen2 status bar…
Mathieu Van Nevel
  • 1,428
  • 1
  • 10
  • 26
1
vote
2 answers

conky transparency not working

i can't get transparency on conk. This is my code: # -- Conky settings_by_giancarlo64 -- # background yes update_interval 1 cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale yes double_buffer yes no_buffers yes text_buffer_size…
Quba
  • 4,776
  • 7
  • 34
  • 60
1
vote
1 answer

Conky runs the same curl request multiple times per interval

The API responds with an XML file containing everything. I want some of the data in that XML to appear in parts of my conky I have a bash script to fetch and parse the data. It looks like #!/bin/sh if [ -z $1 ]; then echo "missing…
beardedlinuxgeek
  • 1,652
  • 16
  • 26
1
vote
2 answers

execute conky with a cron job and bash

for my script in bash, I'd like to start conky if it's not running and pick a random wallpaper #! /bin/bash ## dependances : randomize-lines # otherwise wont work with cron export DISPLAY=0 while read line ; do echo $line | grep -vqe "^#" if [ $?…
Martin Trigaux
  • 5,311
  • 9
  • 45
  • 58
1
vote
1 answer

Conky interface

I am investigating a way to access remotely statistics about a linux server, the kind of information that conky would display. Is there a way to interface with conky and obtain the statistics it displays? If not, can you recommend a good way to…
Petru
  • 904
  • 1
  • 12
  • 18
1
vote
2 answers

Conky in C/C++ language

I want to change image of my desktop in mint :) I wan to add sth like conky to desktop but I don't know LUA language :( Is it possible to write it in C/C++ language? (for example I want to connect with forecast server to download some png with my…
PatLas
  • 179
  • 1
  • 5
  • 16