You are not logged in.

#1 2015-11-27 16:39:00

Hamza5
Member
Registered: 2015-10-31
Posts: 22

Conky doesn't use the ~/.conkyrc file

I know that this is a very stupid problem, but I can't figure out how to make Conky use a custom configuration file. I tried to download the default configuration (BTW, it doesn't have a similar structure to ~/.config/conky/conky.conf, I don't know if that matters) and move it to ~/.conkyrc, stopped and started Conky many times but no changes took effect. I tried to move it to ~/.config/conky/rc (as what Conky's manpage says) but no success. The only solution that works is to edit ~/.config/conky/conky.conf directly, but I want to keep the default configuration clean and add custom themes in a separate file. So where can I put the .conkyrc ?

Offline

#2 2015-11-27 18:02:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Conky doesn't use the ~/.conkyrc file

You could just force it with a -c flag.   conky -c ~/.conkyrc


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-27 18:11:38

karlch
Member
Registered: 2015-06-14
Posts: 105

Re: Conky doesn't use the ~/.conkyrc file

The default file should not have to be in home. Mine is in

/usr/share/doc/conky-1.10.1_pre/conky.conf

Of course you can also just use the c flag as ewaller pointed out.

Offline

#4 2015-11-27 19:39:13

Hamza5
Member
Registered: 2015-10-31
Posts: 22

Re: Conky doesn't use the ~/.conkyrc file

ewaller wrote:

You could just force it with a -c flag.   conky -c ~/.conkyrc

I know the -c flag, but I thought that there is another way to make Conky use multiple configuration files in a specific order, I mean like bash, there is /etc/profile, /etc/bashrc, ~/.profile, ~/.bashrc ....
For now, I will keep editing the default file

Offline

#5 2015-11-28 21:32:04

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,744
Website

Re: Conky doesn't use the ~/.conkyrc file

What is the output of:

ls -l ~/.conkyrc

You can get conky to generate a user configuration file from the system-wide version by starting it with:

conky -C > ~/.conkyrc

Then try modifying that file.

Offline

Board footer

Powered by FluxBB