No themes and only one background color for conky-colors #40

Closed
matrixbegins opened this Issue Dec 16, 2012 · 7 comments

Comments

Projects
None yet
3 participants

I am trying this first time.
Here is my details

System Details:

uname -a
Linux ankur-MS-7576 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 athlon i686 GNU/Linux

I followed all the installation steps, Although, I got a warning while make command

Then I configured conky as follows:

sudo conky-colors --theme=carbonite --lang=en --cpu=4 --network --hd=meerkat --hdtemp1=sda --hdtemp2=sdb --rhythmbox=glassy

after that It asked Ubuntu/Debian Distribution. After that launched the conky using
sudo conky -c /home/ankur/.conkycolors/conkyrc

the output was as follows:


Conky: desktop window (1800092) is subwindow of root window (176)
Conky: window type - override
Conky: drawing to created window (0x4600001)
Conky: drawing to double buffer
Conky: obj->data.i 4 info.cpu_count 3
Conky: attempting to use more CPUs than you have!
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
Conky: Unable to load image '/tmp/conkycolors/conkyCover.png'
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory

After that I checked the desktop (see attached screenshot). I tried to run this command with different theme and options but I always got screen like attached screenshot.

Is there something wrong with my config, any dependencies missing, or is just an issue with Conky ?

conkey1

Collaborator

android-808 commented Dec 16, 2012

May I congratulate you first on writing a good bug report. Normally my first few posts require me to obtain distro, conky-colors parameters etc. before I can even start to look into the issue.

First run:

cat /proc/cpuinfo

And count the number of processors you have. Conky is complaining that you have specified more than you actually have:

Conky: obj->data.i 4 info.cpu_count 3
Conky: attempting to use more CPUs than you have!

I think you may have a tri-core AMD, based on the output above.

Next regenerate and rerun conky without using sudo. It is looking for files in /home/ankur but I imagine they are in /root instead.

Let me know the outcome.

Thanks Man!
First I am developer too. (not into linux development but in web-apps). So I know what a developer may need.
Second You were right about both of the things Its tri-core AMD ! and since ran make with root so files were there but there was no permission in /home/ankur/

After regenerating the running the conky -c /home/ankur/.conkycolors/conkyrc command I have this output


Conky: desktop window (1c00092) is subwindow of root window (176)
Conky: window type - override
Conky: drawing to created window (0x3c00001)
Conky: drawing to double buffer
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
/dev/sda: open: Permission denied

/dev/sdb: open: Permission denied

Conky: Unable to load image '/tmp/conkycolors/conkyCover.png'
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
find: `/home/ankur/.cache/rhythmbox/covers/': No such file or directory
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found
^CConky: received SIGINT or SIGTERM to terminate. bye!

And when I see desktop it comes like the attached screenshot
Can you please tell me whats wrong now ?

conkey2

Oh! yeah Thanks for such a great reply and help!

Collaborator

android-808 commented Dec 16, 2012

I can see two issues from the provided output.

/dev/sda: open: Permission denied

This is caused by a permissions problem with hddtemp. There are a few solutions here but most involve setting SUID bit. Try running sudo dpkg-reconfigure hddtemp.

/home/ankur/.conkycolors/bin/conkyCover: 1: /home/ankur/.conkycolors/bin/conkyCover: identify: not found
/home/ankur/.conkycolors/bin/conkyCover: 17: /home/ankur/.conkycolors/bin/conkyCover: convert: not found

This is because the applications, identify and convert, are missing. Install imagemagick.

As for the background, I'm unable to reproduce on Arch. I've tried with Ubuntu fix yes+no and they both render ok. It may be something to do with desktop compositor in Unity.

Collaborator

android-808 commented Dec 16, 2012

Try opening ~/.conkycolors/conkyrc and changing

own_window_type override

to

own_window_type normal

Let me know if it works.

Hey Now I guess we are one step ahead :) 👍
so here it is what I did

sudo dpkg-reconfigure hddtemp


Should /usr/sbin/hddtemp be installed SUID root?  >> Y

Interval between hard drive temperature checks: 180 SEcs

Should the hddtemp daemon be started at boot? YES

Interface to listen on:   127.0.0.1

Port to listen on: 7634

then I installed Imagemagick after that I edited the conkyrc and changed the setting. Attached is the outcome. (Background is gone now. I am having a transparent glass)

conkyNew

If you Don't mind May I know ur name?

I was thinking, that there there are so many s/w available to customize the windows. lately there are new themes on deviantart that which can change the windows Desktop in such a way that you can't even recognize that its windows.

I was hoping if we can take this project to next level and build a GUI for conky-colors, which will automatically check the dependencies and let u install missing items. And can give u complete new Desktop experience for LINUX.
Moreover, there are new conky thems available on deviantart also. So we can do a standardization of such theme package (e.g. package must have these files in these orders. there should be a build.xml, which will list all the files and are require to apply themes, they can support customization also e.g. Fonts etc). User will just have to point conky-GUI to these package after validating GUI will apply theme.

This sounds a revolutionary Idea. I know there may be a lot better products in market that might be doing these thing. But if we can build such thing I'd like to contribute. So far I have no exp in C/C++ or Linux development but I can study it. We can possibly can take help from a community developer of ubuntu who is involved in Desktop development. Let me know ur thoughts.

Collaborator

android-808 commented Dec 18, 2012

EDIT: Before any of the below, ensure your using the latest version from https://github.com/helmuthdu/conky_colors/archive/master.zip

You have some font issues related to the fontconfig 210 upgrade which affected Mint and Arch. Latest version has patched fonts.


Its still not right. Although it is transparent, it is still appearing above the desktop, hence creating a border with a drop shadow. Try adding the following to the section modified earlier.

own_window_argb_visual yes

The other option to try is to select no when asked if your running a Ubuntu/Debian distro. That should enable some of these options and change the own_window_type. Only problem is it will break calendar support, but at least I will know the window code works.

One step ahead on GUI..
https://github.com/android-808/ccgui

It's still a work in progress, and is in no way an official GUI. There is supported for almost every option available to conky-colors, custom theme/colours being the part I'm working on at the moment. For now it will only output the conky-colors command to the terminal rather than actually running it, just allows me to preview command. I could add a window to check dependencies by looking for the actual executables but installing them would be different for each distro so would need to be managed by their own package manager or installed from source

Owner

helmuthdu commented Jul 9, 2013

I also had this bug and fixed it in the last commits. Closed.

helmuthdu closed this Jul 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment