Configuring Conky

Leap 42.1 is the most responsive and stable openSUSE ever. I installed the Xfce DE but after many days without rebooting the system slowed down. In order to determine what was eating up my RAM I installed Conky and as a result closed one of the four web browsers that was in use.

However: Conky opened in a window with a black background. I would like to configure it to have a transparent background and assume more control over what text and how much is shown.

I also installed conky-doc but have not been able to open it. (cnf conky-doc produces no results, and geany conky-doc opens a blank page).

Any suggestions will be appreciated.

Thanks in advance.

I found a few tutorials but for some reason conkyrc does not appear to be in the usual place and searching for it with SpaceFM File Search doesn’t locate it either.

On Sun 06 Dec 2015 10:46:01 PM CST, d hinds wrote:

I found a few tutorials but for some reason conkyrc does not appear to
be in the usual place and searching for it with SpaceFM File Search
doesn’t locate it either.

Hi
If you don’t have a ~/.conkyrc or use the -c option then by default it
will use /etc/conky/conky.conf.

Now, with version 1.10.x the configuration file is different since it’s
move to lua type scripts/configuration. I prefer to use the 1.9.x
series at the moment…

So if you copy the default one to ~/.conkyrc and then tweak that to
your liking.

Have a look at;
http://conky.sourceforge.net/config_settings.html
http://conky.sourceforge.net/variables.html

If you search online for configs, just make sure the 1.10 versions you
try.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.48-52.27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

The YaST Package Manager lists 3 versions, all of which are 1.10x.

/etc/conky/conky.conf. is where it is, alright. But Thunar doesn’t show it. A SpaceFM File Search did, though.

As you mention, conky’s home is on sourceforge and http://archive09.linux.com/feature/136147 has conky info, also.

Sure - I’ll do that now. And thanks Malcolm, for the orientation.

I installed conky from the packman repo via yast and then when i tried to start it from terminal i get this ‘segmentation fault’


conky
conky: desktop window (1a00044) is subwindow of root window (25b)
conky: window type - desktop
conky: drawing to created window (0x4800001)
Segmentation fault

any idea on what to do ?

On Sun 13 Dec 2015 12:06:02 PM CST, knightsu wrote:

I installed conky from the packman repo via yast and then when i tried
to start it from terminal i get this ‘segmentation fault’

Code:

conky
conky: desktop window (1a00044) is subwindow of root window (25b)
conky: window type - desktop
conky: drawing to created window (0x4800001)
Segmentation fault


any idea on what to do ?

Hi
Install the openSUSE version, it has most things configured by default.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.51-52.31-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

I am getting the same error from openSUSE version too. Tried from both openSUSE-Leap-42.1-Update , openSUSE-Leap-42.1-OSS, both gives the same error.

On Sun 13 Dec 2015 03:26:02 PM CST, knightsu wrote:

malcolmlewis;2742638 Wrote:
> Hi
> Install the openSUSE version, it has most things configured by
> default.
>
> –
> Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter
> #276890)
> SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 |
> 3.12.51-52.31-default If you find this post helpful and are logged
> into the web interface, please show your appreciation and click on
> the star below… Thanks!

I am getting the same error from openSUSE version too. Tried from both
openSUSE-Leap-42.1-Update , openSUSE-Leap-42.1-OSS, both gives the same
error.

Hi
So was it an existing conkyrc you are using as in <= 1.9 version? If
so, you need to convert for the 1.10 version.

Else if you run the default config, does it error out;


conky -c /etc/conky/conky.conf


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.51-52.31-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

No i am not using any existing conkyrc or which is <1.9version. yes


conky -c /etc/conky/conky.conf

Also errors out.

Hi
Just tested here with Leap 42.1 and the GNOME DE, all works fine with the default config.

Aside from conky, did/are the following packages get installed;


imlib2-loaders libImlib2-1 libid3tag0 libmicrohttpd10 libmysqlclient18 lua51

What DE (Desktop Environment) are you using?

while installing conky -
The following 5 NEW packages are going to be installed:

conky imlib2-loaders libImlib2-1 libmicrohttpd10 lua51

i checked for -libid3tag0 libmysqlclient18 in yast. They are also installed.

Currently i am on and using Cinnamon DE. (EDIT:just now i also checked it in plasma5 and xfce, there too i get the same error).

On Sun 13 Dec 2015 05:06:01 PM CST, knightsu wrote:

malcolmlewis;2742650 Wrote:
> Hi
> Just tested here with Leap 42.1 and the GNOME DE, all works fine with
> the default config.
>
> Aside from conky, did/are the following packages get installed;
> >
Code:

> >
> imlib2-loaders libImlib2-1 libid3tag0 libmicrohttpd10
libmysqlclient18 lua51 >

> >
>
> What DE (Desktop Environment) are you using?

while installing conky -
The following 5 NEW packages are going to be installed:

conky imlib2-loaders libImlib2-1 libmicrohttpd10 lua51

i checked for -libid3tag0 libmysqlclient18 in yast. They are also
installed.

Currently i am on and using Cinnamon DE.

Hi
I would guess it’s something to do with the Cinnamon tweaks they do…
not sure.
I would report a bug (Hit the report bug button in the following link);
https://build.opensuse.org/package/show/X11:Cinnamon:Current/cinnamon


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.51-52.31-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

ok i have filed a bug report here-https://bugzilla.opensuse.org/show_bug.cgi?id=958897. Someone suggested doing

conky-debuginfo

to create a trace of the crash and debug(by trying gdb conky ).
so this is the conky i installed- conky- 1.10.0.-3.1 -from the repo openSUSE-Leap-42.1-Update -http://download.opensuse.org/update/leap/42.1/oss/ and there is no conky-debuginfo for this version in the openSUSE repos.
This is what i tried to do conky-debuginfo:
After enabling all debug repos-But the only conky-debuginfo available was this version conky-debuginfo (1.10.0.1.4) from the repo openSUSE-Leap-42.1-Debug - http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/
so i removed conky by-

 sudo rm -u conky 

and try to install conky- 1.10.0.1.4 from openSUSE-Leap-42.1-Oss - http://download.opensuse.org/distribution/leap/42.1/repo/oss/ , so that i can use the same version as the available conky-debuginfo, this i what i get:

Problem: nothing provides /usr/bin/lua51 needed by conky-1.10.0-1.4.x86_64
 Solution 1: do not install conky-1.10.0-1.4.x86_64
 Solution 2: break conky-1.10.0-1.4.x86_64 by ignoring some of its dependencies

Is this non-availability of the conky-debuginfo for the conky version 1.10.0.-3.1 is also a bug to be reported ?

Hi
Yes there was a bug in the original 1.10 version with the lua paths…
https://build.opensuse.org/package/view_file/server:monitoring/conky/conky.changes?expand=1
Actual fix;
https://build.opensuse.org/package/rdiff/server:monitoring/conky?linkrev=base&rev=52

So install the conky package, and select solution 2, then go and fix (as in manually edit) the /etc/conky/convert.lua to respect /usr/bin/lua5.1.