Can't run Conky

I am new with Linux. I've been experimenting with Ubuntu and Kali Linux and decided to install Conky. I ran the following commands:

sudo apt-get install conky
sudo apt-get install conky-manager

But then I found a website that recommended conky curl beacause it's easier to manage and better looking. I decided to follow up with new commands:

sudo apt-get install conky curl
cd && wget -O .elune-eos-bauraturia-conky.sh
cd && chmod +x .elune-eos-bauraturia-conky.sh && ./.elune-eos-bauraturia-conky.sh

Now conky is not running... Here is what appears in terminal when I try to run it:

conky: Syntax error (/root/.conkyrc:2: '=' expected near 'yes') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (a00015) is subwindow of root window (25d)
conky: window type - override
conky: drawing to created window (0xe00001)
X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 1 (X_CreateWindow) Serial number of failed request: 92 Current serial number in output stream: 96

Any help will be appreciated. Thanks!

Edit: my .conkyrc file:

7

3 Answers

The config file syntax has changed from Conky 1.10 version onwards.

The new config file uses Lua syntax.

More about Configuration File Syntax, Configuration Settings and Configuration Variables can be found in the below links:

Try to remove the installation of conky first by running this command: sudo apt-get --purge remove conky conky-all. Then reinstall Conky using the following commands one at a time

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install conky-manager

It's pretty straight forward and easy to install. After that, reboot your machine and Conky should be installed.

If you get stuck please use the following link

6
own_window_type = "override"

replace to:

own_window_type = "normal"

or to:

own_window_type = "desktop"

Explanation: The issue you have is because you probably don't have nvidia-smi installed If you have a nvidia gpu you can install that. If you don't then you won't be able to use the Gpu widget and need to remove it in lua file. Run gdb conky. Run (gdb) run -c ~/.conkyrc. When it crashes, run (gdb) bt full. If you will notice the line that says sh: nvidia-smi: command not found then you need to install nvidia-smi.

Additionally you can set

double_buffer = false, 

instead of true value.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like