Closed pabloniklas closed 11 years ago
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?
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)
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11095711.
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.
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11104584.
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
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11121921.
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.
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11129338.
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11129338.
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?
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.
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 notifications@github.com
DJS=
date +%%_d
; cal
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.
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.
Ok. Good. When can I download then fix?
Thanks!!
2012/12/9 android-808 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11169265.
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.
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11170215.
have you regenerated the config?
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 notifications@github.com
have you regenerated the config?
— Reply to this email directly or view it on GitHubhttps://github.com/helmuthdu/conky_colors/issues/34#issuecomment-11240605.
Can you give output of
DJS=`date +%%_d`; cal -h -S
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 notifications@github.com
Can you give output of
DJS=
date +%%_d
; cal -h -S— Reply to this email directly or view it on GitHubhttps://github.com/helmuthdu/conky_colors/issues/34#issuecomment-11241113.
okay, try changing cal to ncal.
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 notifications@github.com
okay, try changing cal to ncal.
— Reply to this email directly or view it on GitHubhttps://github.com/helmuthdu/conky_colors/issues/34#issuecomment-11241376.
not quite. try ncal -h -S -b
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
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 notifications@github.com
ncal -h -S -b
Ok, give it a go, click here to get latest master copy.
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 notifications@github.com
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/helmuthdu/conky_colors/issues/34#issuecomment-11242424.
can you post a screenshot. you can attach to a comment
what happens if you remove ${voffset -22} from the conkyrc after the calendar commands?
Fixed.
Removing that line did the trick? If so I'll remove it from conkyrc_default.c and close the bug.
Yes. It did.
There is an issue with the font Webdings in Linux Mint. Instead of the Sent/Received arrows and the world icon with the local and public ip address, I've got squares. Apart from that, in the HD section I've got circles in the sections when conky informs the space in the filesystems. I've got Webdings font installed by the mscore package, and conky as well has it installed. I've tried removing one of them and regenerates the fonts cache, but that didn't work,