Giter Club home page Giter Club logo

Comments (34)

android-808 avatar android-808 commented on June 9, 2024

Thank you for reporting the issue. Apologies but the screenshot with the world icon etc. is a little out of date. It should, AT THE MOMENT, be an office tray with up/down arrow for sent/received and a LAN icon for IPs. I will be changing it back at some stage to the old icons because I think they were much better than the current ones. It was something Helmuthdu and myself discussed a while ago.

I must say, Ubuntu and Debian have a far better online package database, I've been trying to find a link like this: http://packages.ubuntu.com/quantal/conky-all to check dependencies for conky, but so far no luck. I need a little more information from you before I can get any further.

First, please make sure your using conky-all in Linux Mint, otherwise lua support is not included for SLS, Slim etc. Unfortunately the latest version I've come across seems to be 1.8.1 for LM "Lisa", but even then I can't find a download link to check the control file. This version is known to have problems running scripts, so use 1.9.0 or above.

Can you check to see if ” “ ¬ characters display correctly in another application, like LibreOffice. If they don't then the issue could be a problem with the font package/renderer. You were right in trying to rebuild the font-cache. Did you try a reboot between installing the font and running the application, shouldn't matter be it did help me out once.

Next, what version of conky-colors are you using? Best version for me to compare would be the current master/head available via the zip link on the "Code" page.

Finally, what were the command line options to generate the config?

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Hi,

Thanks for your quick reply.
I'm confirming that I'm using conky-all.
pablo@lcars ~/Descargas $ dpkg -l|grep conky-all
ii conky-all
1.9.0-2 amd64 highly configurable
system monitor

About conky-colors, acording to ChangeLog, the most recent change is:

8.0 (2012-03-13)

  • Removed all conkyForecast scripts
  • Added new conkyWeather script
  • Revamped slim and board modes
  • Fixed position of some modules
  • Bugfixes
  • Many more...

The file downloaded was:
conky_colors_by_helmuthdu-d41qrmk.zip

I have reboot, and nothing change.

I'm attaching some screenshots. Perhaps these would help.

Thank you again.

PN.-

2012/12/6 android-808 [email protected]

Thank you for reporting the issue. Apologies but the screenshot with the
world icon etc. is a little out of date. It should, AT THE MOMENT, be an
office tray with up/down arrow for sent/received and a LAN icon for IPs. I
will be changing it back at some stage to the old icons because I think
they were much better than the current ones. It was something Helmuthdu and
myself discussed a while ago.

I must say, Ubuntu and Debian have a far better online package database,
I've been trying to find a link like this:
http://packages.ubuntu.com/quantal/conky-all to check dependencies for
conky, but so far no luck. I need a little more information from you before
I can get any further.

First, please make sure your using conky-all in Linux Mint, otherwise lua
support is not included for SLS, Slim etc. Unfortunately the latest version
I've come across seems to be 1.8.1 for LM "Lisa", but even then I can't
find a download link to check the control file. This version is known to
have problems running scripts, so use 1.9.0 or above.

Can you check to see if ” “ ¬ characters display correctly in another
application, like LibreOffice. If they don't then the issue could be a
problem with the font package/renderer. You were right in trying to rebuild
the font-cache. Did you try a reboot between installing the font and
running the application, shouldn't matter be it did help me out once.

Next, what version of conky-colors are you using? Best version for me to
compare would be the current master/head available via the zip link on the
"Code" page.

Finally, what were the command line options to generate the config?


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11095711.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Didn't get the screenshots, but I think I know what you mean for the squares. Not sure about the circles.

What version of fontconfig are you using in Linux Mint?

You don't have the latest version, it looks like one from DeviantArt which hasn't been updated to reflect the changes here. I would suggest using the latest snapshot from https://github.com/downloads/android-808/conky_colors/conky_colors-20121205.zip This is the version I currently build a package for Arch Linux from so it is easier to compare.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Hi,

The version of fontconfig is:
ii fontconfig 2.10.1-0ubuntu3 amd64 generic font
configuration library - support binarie

Ok.. I downloaded the version you told me. Things changed... Instead of the
circles, I got "1" and "8". Instead of the temperature symbol, I got "y".
The initial squares remained. The calendar is missing.

My conky-colors syntax is:
conky-colors --lang=es --theme=elementary --cpu=8 --cputemp --swap
--updates --hd=mix --hdtemp1=sda --clock=modern --calendar --proc=10
--network --battery

Thanks again.

2012/12/6 android-808 [email protected]

Didn't get the screenshots, but I think I know what you mean for the
squares. Not sure about the circles.

What version of fontconfig are you using in Linux Mint?

You don't have the latest version, it looks like one from DeviantArt which
hasn't been updated to reflect the changes here. I would suggest using the
latest snapshot from
https://github.com/downloads/android-808/conky_colors/conky_colors-20121205.zipThis is the version I currently build a package for Arch Linux from so it
is easier to compare.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11104584.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

ok, i've seen the "y" before, so were getting somewhere. just to be sure, have you re-run conky-colors to create a new conkyrc since upgrading?

i will admit hd=mix is something i don't personally use so i will need to check that. I'm on a course during the day today and then have an exam this evening so I won't be able to do much till late tonight or tomorrow

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Ok. Thanks.
I've to tell you, after upgrading the version and rebooting, everything has
fixed. Except for the "y", that I've fixed by adding the weather.ttf font
file (for a previous version), that hasn't been installed in the first place.
And the calendar, that is missing.

Good luck with your exam.

2012/12/7 android-808 [email protected]

ok, i've seen the "y" before, so were getting somewhere. just to be sure,
have you re-run conky-colors to create a new conkyrc since upgrading?

i will admit hd=mix is something i don't personally use so i will need to
check that. I'm on a course during the day today and then have an exam this
evening so I won't be able to do much till late tonight or tomorrow


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11121921.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

short break.

fontconfig 2.10 broke the fonts on Arch. It was a problem with it not working with certain encodings (mac format iirc) helmuthdu re-encoded some of the ones we ship in the package. openlogos was one, can't remember them all without checking commit log.

weather.ttf may be missing because it is often included in distro's repos. Ubuntu is another example. there was a big font debate with fedora users to do with the way they are packaged, which is why the up/down arrow and globe went. due to the lack of support and the fact the old one were better, they will change back.

calendar support requires /usr/bin/cal. in arch this is provided by utillinux IIRC but in Ubuntu, and presumably Mint, it requires something like bsdmainutil. the actual packages are listed in another bug report. I was actually going to ask if it was working. Helmuthdu included a specific fix for debian/ubuntu but i don't understand why it it uses -h as an option.

from conky_colors.

helmuthdu avatar helmuthdu commented on June 9, 2024

the "cal" app in ubuntu and arch were different, that's why theres an "-h"
option when using ubuntu or it fails to display
But i didnt have checked it since 12.04, so idk if the cal app changed.

2012/12/7 android-808 [email protected]

short break.

fontconfig 2.10 broke the fonts on Arch. It was a problem with it not
working with certain encodings (mac format iirc) helmuthdu re-encoded some
of the ones we ship in the package. openlogos was one, can't remember them
all without checking commit log.

weather.ttf may be missing because it is often included in distro's repos.
Ubuntu is another example. there was a big font debate with fedora users to
do with the way they are packaged, which is why the up/down arrow and globe
went. due to the lack of support and the fact the old one were better, they
will change back.

calendar support requires /usr/bin/cal. in arch this is provided by
utillinux IIRC but in Ubuntu, and presumably Mint, it requires something
like bsdmainutil. the actual packages are listed in another bug report. I
was actually going to ask if it was working. Helmuthdu included a specific
fix for debian/ubuntu but i don't understand why it it uses -h as an option.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11129338.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Ok.

First of all, thanks for the quick reply.
I couldn't find weather.ttf in my repo's.
About cal... I've already check that, it is installed in: /usr/bin/cal, and
with -h option, it simply ignore it.

pablo@lcars ~ $ cal -h
Diciembre 2012
do lu ma mi ju vi sá
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31

2012/12/7 android-808 [email protected]

short break.

fontconfig 2.10 broke the fonts on Arch. It was a problem with it not
working with certain encodings (mac format iirc) helmuthdu re-encoded some
of the ones we ship in the package. openlogos was one, can't remember them
all without checking commit log.

weather.ttf may be missing because it is often included in distro's repos.
Ubuntu is another example. there was a big font debate with fedora users to
do with the way they are packaged, which is why the up/down arrow and globe
went. due to the lack of support and the fact the old one were better, they
will change back.

calendar support requires /usr/bin/cal. in arch this is provided by
utillinux IIRC but in Ubuntu, and presumably Mint, it requires something
like bsdmainutil. the actual packages are listed in another bug report. I
was actually going to ask if it was working. Helmuthdu included a specific
fix for debian/ubuntu but i don't understand why it it uses -h as an option.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11129338.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Ok, -h option prevents it highlighting current date in some versions.

Does it appear like https://dl.dropbox.com/u/8394801/widgetoverly.png from #4?

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

I'm leaning towards are good old friend 'sed' here.

Here is an extract from conkyrc_default.c, minus some of the containing if statements:

(skip beginning) execpi 300 DJS=`date +%%_d`; cal ");
fprintf(fp,"-h ");
fprintf(fp," -s|sed \'2,8!d\'| sed \'/./!d\' | sed \'s/^/${goto 42} /\'| sed \'s/$/ /\' | sed \'s/^/ /\' | sed /\" $DJS \"/s/\" $DJS \"/\" \"\'${font Arial:style=Bold:size=8}${voffset -2}${offset -4}${color1} \'\"$DJS\"\'${color}${font Monospace:size=7}\'\" \"/}${voffset -1}\n"
fprintf(fp,"${voffset -22}\n");

What I'm thinking is that one of the many sed's here are wiping out the rest of the output. Starting with DJS=date +%%_d; cal -h -s, can you try running the additional sed commands in stages (add the |sed '2,8!d' and so on) to see what part it starts to go wrong.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Ok.

The first one just give an error:

DJS=date +%%_d; cal -h -s

pablo@lcars ~ $ DJS=date +%%_d; cal -h -s
cal: la opción requiere un argumento -- 's'
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]

2012/12/7 android-808 [email protected]

DJS=date +%%_d; cal

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

yep, i think i see the problem.

change it to -S. week should print with sunday first.
replace with -M. week should start with monday first.

util-linux version use small letters. I had to add the -s otherwise the calendar was the same for me --calendar and --calendarm passed to conky-colors.

if that works i'll add an if..else.. statement for both options

Edit: potential fix is now in my repo/fork, feel free to test before I merge changes. I need to fully test myself as I wrote fix in browser without laptop present.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Fix in my fork is working ok for me, both on --calendar and --calendarm using your config. I too now have the 'y' symbol for hdd temp, I have an early Atom CPU and SSD and trying to read temperature gives stupid values so I never enabled it.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Ok. Good.
When can I download then fix?

Thanks!!

2012/12/9 android-808 [email protected]

Fix in my fork is working ok for me, both on --calendar and --calendarm
using your config. I too now have the 'y' symbol for hdd temp, I have an
early Atom CPU and SSD and trying to read temperature gives stupid values
so I never enabled it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11169265.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Fix is now merged for calendar, so just redownload from main page, install and regenerate config. Will leave report open for now until I sort out the temperature font.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Hi,

I've downloaded conkyrc_defaults.c, recompiled conky-colors, and there is
no calendar with the switch --calendar.

Thanks.

2012/12/9 android-808 [email protected]

Fix is now merged for calendar, so just redownload from main page, install
and regenerate config. Will leave report open for now until I sort out the
temperature font.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11170215.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

have you regenerated the config?

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Yes.

pablo@lcars ~ $ conky-colors --lang=es --theme=elementary --cpu=8 --cputemp
--swap --updates --calendar --hdtemp1=sda --proc=10 --network --gnome
Ubuntu/Debian distro? [y/N]: y
Your conkyrc was copied to /home/pablo/.conkycolors
Generated configuration files are copied to /home/pablo/.conkycolors

To run conky-colors and conky type:
conky -c /home/pablo/.conkycolors/conkyrc

Thanks!

2012/12/11 android-808 [email protected]

have you regenerated the config?


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11240605.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Can you give output of

DJS=`date +%%_d`; cal -h -S

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

yes,

pablo@lcars ~ $ DJS=date +%%_d; cal -h -S
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]

2012/12/11 android-808 [email protected]

Can you give output of

DJS=date +%%_d; cal -h -S


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11241113.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

okay, try changing cal to ncal.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

It works!

pablo@lcars ~ $ DJS=date +%%_d; ncal -h -S
Diciembre 2012
do 2 9 16 23 30
lu 3 10 17 24 31
ma 4 11 18 25
mi 5 12 19 26
ju 6 13 20 27
vi 7 14 21 28
sá 1 8 15 22 29

2012/12/11 android-808 [email protected]

okay, try changing cal to ncal.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11241376.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

not quite. try ncal -h -S -b

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Or if not, ncal -h -S -C

Were aiming for output similar to this:

November 2011
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Here we go:

pablo@lcars ~ $ ncal -h -S -b
Diciembre 2012
do lu ma mi ju vi sá
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31

2012/12/11 android-808 [email protected]

ncal -h -S -b

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Ok, give it a go, click here to get latest master copy.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Now it works.

The network section ought to be a few pixels down (between 5px and 10px).

Thank you anyway.

2012/12/11 android-808 [email protected]

Ok, give it a go, click herehttps://github.com/helmuthdu/conky_colors/archive/master.zipto get latest master copy.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-11242424.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

can you post a screenshot. you can attach to a comment

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

conky

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

what happens if you remove ${voffset -22} from the conkyrc after the calendar commands?

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Fixed.

from conky_colors.

android-808 avatar android-808 commented on June 9, 2024

Removing that line did the trick? If so I'll remove it from conkyrc_default.c and close the bug.

from conky_colors.

pabloniklas avatar pabloniklas commented on June 9, 2024

Yes. It did.

from conky_colors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.