Page 90 of 185 FirstFirst ... 40808889909192100140 ... LastLast
Results 891 to 900 of 1841

Thread: HOWTO: VinDSL Conky Script

  1. #891
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    Only the images are out - images have an absolute location - this is a conky thing - you need to just change the vertical component of the images - you notice the images do not change only the text shifts.

    ${image [D2I] -p 15,441.5 -s 40x40} - lets take this as an example - the option -p has horizontal,vertical components - you do not need to change the horizontal values just the vertical ones for the images - moon and forecast images.

    First get your text the way you want and then fix moon and then the forecast images. Finally the background can be sorted out as well.

    This should sort it out

    cheers
    Silly me.
    I've switched to Font mode for now. Will chase the layout later.
    Would be nice to have Conky scale the entire script in proportion. Thanks for the explanation anyway!!

  2. #892
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: HOWTO: VinDSL Conky Script

    I only just managed to try 0.9.0. I'm using a Mono font and the spacing still needs little correction in places.
    Attached Images Attached Images

  3. #893

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by os2 View Post
    I only just managed to try 0.9.0. I'm using a Mono font and the spacing still needs little correction in places.
    Good Morning

    Hey that is great news - well I shall soon release the 0.9.1 - you get weather alerts besides some tweaks.

    Ok here is the deal - All fonts are not the same - if not from the same family they may look similar but have a different Font Metrics if you google you will feel more one than anyone with regards Fonts. They may be mono spaced but it only means their w and i take the same space rest of the specs will probably be different.

    Try increasing the Liberation font size or reducing till all falls in place - it may look ugly Or just install Deja Vu fonts.

    Let me know how it goes

    cheers

  4. #894
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: HOWTO: VinDSL Conky Script

    Same issue if switching to DejaVu Sans Mono. Here in the first attachment I'm using 11pt. If I increase the size to 12pt the TEXT overlaps in both columns. If I decrease the font size to 10pt or 10.5pt, the layout is as in the second attachment. So the optimum font size appears to be 11pt (first attachment) but which still appears to need correction.
    Attached Images Attached Images

  5. #895

    Cool Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by os2 View Post
    Same issue if switching to DejaVu Sans Mono. Here in the first attachment I'm using 11pt. If I increase the size to 12pt the TEXT overlaps in both columns. If I decrease the font size to 10pt or 10.5pt, the layout is as in the second attachment. So the optimum font size appears to be 11pt (first attachment) but which still appears to need correction.
    Ok - you need to adjust these parts voffset for vertical positioning and offset for horizontal as stated.

    I am not using the code formatters as I want to use colour highlighting

    Look for each of these lines in the order I have listed them. you need to increase or decrease the blue values only.

    ${voffset -90}${goto 100}${color3}${font DejaVu Sans Mono:style=Bold:size=32}[PT]${font Arrows:size=42}[FCTTF]${font}${font}

    ${voffset -95}${goto 105}${color3}Moon : ${color1}[MP3]


    ${voffset -290}${goto 270}${color3}Today: ${color1}[D1C]

    [Edit - this one is a bit pesky so do this last once all else looks fine]
    ${voffset -52}${alignc 195}${font DejaVu Sans Mono:style=Bold:size=13}${color3}[MV]${offset 2}${voffset 1}${font Arrows:size=18}[FCTMIF]${font}


    My settings are for Deja Vu size 10 - so there will be adjustment required. The change in DPI also makes a diff.

    AT first align only the first line I have shown - see the result - and you will get an idea about the rest.

    Let me know how it goes

    cheers
    Last edited by paramvir; May 8th, 2013 at 10:29 AM. Reason: See changes in lines

  6. #896
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: HOWTO: VinDSL Conky Script

    Changes are indicated in Red.
    Good idea to get alignment, white space(s) and (: |) symbols all lined up.

    Code:
    ${image [PTBI]/short-brown-rnd-light.png -p -5,-1 -s 487x550}
    ${voffset -15}${goto 20}${color3}Station: ${color1}[SN]
    ${goto 20}${color3}Last Update: ${color1}[LU]
    ${goto 20}${color3}Last Fetch: ${color1}[TD] - [LF] LT
    ${font DejaVu Sans Mono:style=Bold:size=11}${color1}Present Condition ${color4}${hr 2}${font}
    ${font DejaVu Sans Mono:style=Bold:size=20}${goto 100}${color1}[CT]${font}
    ${voffset -25}${goto 3}${font ConkyWeather:size=60}${color1}[PIF]
    ${voffset -80}${goto 100}${color3}${font DejaVu Sans Mono:style=Bold:size=32}[PT]${font Arrows:size=42}[FCTTF]${font}${font}
    ${goto 105}${color3}Feels: ${color1}[FL]
    ${goto 105}${color3}Vis  : ${color1}[VI]${color3}${font Arrows:size=14} [FCTVF]${font}
    ${goto 105}${color3}UV   : ${color1}[UV]${color3}${font Arrows:size=14} [FCTUF]${font}
    ${voffset -1}${goto 3}${font ConkyWindNESW:size=60}${color1}[BF]${font}
    ${voffset -65}${goto 105}${color3}Wind : ${color1}[WS] ${color3}${font Arrows:size=14}[FCTWF]${font}
    ${goto 105}${color3}Gust : ${color1}[WG]
    ${goto 105}${color3}From : ${color1}[WD]
    ${voffset 41}${goto 7}${font Moon Phases:size=60}${color1}[MIF]${font}
    ${voffset -52}${alignc 213}${font DejaVu Sans Mono:style=Bold:size=13}${color3}[MV]${offset 2}${voffset 1}${font Arrows:size=18}[FCTMIF]${font}
    ${voffset -75}${goto 105}${color3}Moon : ${color1}[MP3]
    ${goto 105}${color3}Age  : ${color1}[MA]
    ${goto 105}${color3}RoC  : ${color1}[MROC] %/day
    ${goto 105}${color3}New  : ${color1}[NM]
    ${goto 105}${color3}FQ   : ${color1}[MFQ]
    ${goto 105}${color3}Full : ${color1}[FM]
    ${goto 105}${color3}LQ   : ${color1}[MLQ]
    ${goto 105}${color3}Rise : ${color1}[MR]${color3}${font Arrows:size=14} [FCTMRF]${font}
    ${goto 105}${color3}Set  : ${color1}[MS]${color3}${font Arrows:size=14} [FCTMSF]${font}
    ${goto 105}${color3}Tran : ${color1}[MMT]
    ${voffset -270}${goto 300}${color3}Today    : ${color1}[D1C]
    ${voffset 5}${goto 300}${font ConkyWeather:size=18}${color1}[D1F]${font}${goto 275}
    ${voffset -30}${goto 321}${color3} Temp : ${color1}[D1T]
    ${goto 321}${color3} CoR  : ${color1}[D1P]
    ${voffset 0}${goto 300}${color3}Clouds   : ${color1}[CLD]
    ${goto 300}${color3}Rain     : ${color1}[RF]
    ${goto 300}${color3}Snow     : ${color1}[SD]
    ${goto 300}${color3}Dew P.   : ${color1}[DP]${color3}${font Arrows:size=14} [FCTDF]${font}
    ${goto 300}${color3}Humid    : ${color1}[HM]${color3}${font Arrows:size=14} [FCTHF]${font}
    ${goto 300}${color3}Barometer: ${color1}[BR]${color3}${font Arrows:size=14} [FCTPF]${font}
    ${voffset 2}${goto 300}${color3}Dur Light: ${color1}[LOV]${color3}${font Arrows:size=14} [FCTLLF]${font}
    ${goto 300}${color3}Dur Day  : ${color1}[LOD]${color3}${font Arrows:size=14} [FCTLDF]${font}
    ${goto 300}${color3}Tom DayLn: ${color1}[LODN]${color3}${font Arrows:size=14} [LODNT]${font}
    ${voffset 2}${goto 300}${color3}Sun Rise : ${color1}[SR]${color3}${font Arrows:size=14} [FCTSRF]${font}
    ${goto 300}${color3}Sun Set  : ${color1}[SS]${color3}${font Arrows:size=14} [FCTSSF]${font}
    ${goto 300}${color3}Transit  : ${color1}[SMT]
    ${goto 300}${color3}CT: ${color1}[CTR]${color3}/${color1}[CTS]
    ${goto 300}${color3}NT: ${color1}[NTR]${color3}/${color1}[NTS]
    ${goto 300}${color3}AT: ${color1}[ATR]${color3}/${color1}[ATS]
    # ${exec echo "[METAR]" | exec fold -s -w 55}
    # Forecast header
    ${voffset 0}${font DejaVu Sans Mono:style=Bold:size=11}${color1}Forecast ${font DejaVu Sans Mono:size=10}QOF High temp: ${color3$
    # day date line
    ${goto 15}${color3}[D2D]${goto 80}[D3D]${goto 145}[D4D]${goto 210}[D5D]${goto 275}[D6D]${goto 340}[D7D]${goto 405}[D8D]
    # weather status icons or fonts
    ${voffset 0}${font ConkyWeather:size=26}${goto 15}${color1}[D2F]${goto 80}[D3F]${goto 145}[D4F]${goto 210}[D5F]${goto 275}[D6F]$$
    # daily temps
    ${voffset 0}${goto 15}${color3}[D2T]${goto 80}[D3T]${goto 145}[D4T]${goto 210}[D5T]${goto 275}[D6T]${goto 340}[D7T]${goto 405}[D$
    # chance of rain
    ${voffset 3}CoR ${color1}[D2P]${goto 95}[D3P]${goto 160}[D4P]${goto 225}[D5P]${goto 290}[D6P]${goto 355}[D7P]${goto 420}[D8P]${f$
    ${voffset -5}${color4}${hr 2}${font}
    Attached Images Attached Images

  7. #897
    Join Date
    Dec 2012
    Beans
    Hidden!

    Re: HOWTO: VinDSL Conky Script

    Code:
    ${image [PTBI]/short-brown-rnd-light.png -p -5,0 -s 487x525}
    ${voffset -12}${goto 20}${color3}Station: ${color1}[SN]
    ${goto 20}${color3}Last Update: ${color1}[LU]
    ${goto 20}${color3}Last Fetch: ${color1}[TD] - [LF] LT
    ${font DejaVu Sans Mono:style=Bold:size=11}${color1}Present Condition ${color4}${hr 2}${font}
    ${voffset 0}${font DejaVu Sans Mono:style=Bold:size=20}${goto 105}${color1}[CT]${font}
    ${voffset 122}${goto 10}${image [PIC] -p 0,95 -s 100x100}
    ${voffset -115}${goto 105}${color3}${font DejaVu Sans Mono:style=Bold:size=32}[PT]${font Arrows:size=42}[FCTTF]${font}${font}
    ${goto 105}${color3}Feels: ${color1}[FL]
    ${goto 105}${color3}Vis  : ${color1}[VI]${color3}${font Arrows:size=14} [FCTVF]${font}
    ${goto 105}${color3}UV   : ${color1}[UV]${color3}${font Arrows:size=14} [FCTUF]${font}
    ${voffset -9}${goto 10}${font ConkyWindNESW:size=60}${color1}[BF]${font}
    ${voffset -55}${goto 105}${color3}Wind${font} : ${color1}[WS] ${color3}${font Arrows:size=14}[FCTWF]${font}
    ${goto 105}${color3}Gust : ${color1}[WG]
    ${goto 105}${color3}From : ${color1}[WD]
    ${voffset 105}${goto 10}${image [MIC] -p 9,295 -s 85x85}
    ${voffset -48}${font DejaVu Sans Mono:style=Bold:size=16}${alignc 200}${color5}[MV]${font}${offset 2}${voffset -6}${font Arrows:size=21}[FCTMIF]${font}
    ${voffset -95}${goto 105}${color3}Moon : ${color1}[MP3]
    ${goto 105}${color3}Age  : ${color1}[MA]
    ${goto 105}${color3}RoC  : ${color1}[MROC] %/day
    ${goto 105}${color3}New  : ${color1}[NM]
    ${goto 105}${color3}FQ   : ${color1}[MFQ]
    ${goto 105}${color3}Full : ${color1}[FM]
    ${goto 105}${color3}LQ   : ${color1}[MLQ]
    ${goto 105}${color3}Rise : ${color1}[MR]${color3}${font Arrows:size=14} [FCTMRF]${font}
    ${goto 105}${color3}Set  : ${color1}[MS]${color3}${font Arrows:size=14} [FCTMSF]${font}
    ${goto 105}${color3}Tran : ${color1}[MMT]
    # ${exec echo "[METAR]" | exec fold -s -w 55}
    ${voffset -271}${image [D1I] -p 300,126 -s 30x30}${goto 300}${voffset -27}${color3}Today    : ${color1}[D1C]
    ${goto 340}${color3}Temp: ${color1}[D1T]
    ${goto 340}${color3}CoR : ${color1}[D1P]
    ${voffset 3}${goto 300}${color3}Clouds   : ${color1}[CLD]
    ${goto 300}${color3}Rain     : ${color1}[RF]
    ${goto 300}${color3}Snow     : ${color1}[SD]
    ${goto 300}${color3}Dew P.   : ${color1}[DP]${color3}${font Arrows:size=14} [FCTDF]${font}
    ${goto 300}${color3}Humid    : ${color1}[HM]${color3}${font Arrows:size=14} [FCTHF]${font}
    ${voffset 3}${goto 300}${color3}Barometer: ${color1}[BR]${color3}${font Arrows:size=14} [FCTPF]${font}
    ${voffset 3}${goto 300}${color3}Dur Light: ${color1}[LOV]${color3}${font Arrows:size=14} [FCTLLF]${font}
    ${goto 300}${color3}Dur Day  : ${color1}[LOD]${color3}${font Arrows:size=14} [FCTLDF]${font}
    ${goto 300}${color3}Tom DayLn: ${color1}[LODN]${color3}${font Arrows:size=14} [LODNT]${font}
    ${voffset 3}${goto 300}${color3}Sun Rise : ${color1}[SR]${color3}${font Arrows:size=14} [FCTSRF]${font}
    ${goto 300}${color3}Sun Set  : ${color1}[SS]${color3}${font Arrows:size=14} [FCTSSF]${font}
    ${goto 300}${color3}Transit  : ${color1}[SMT]
    ${goto 300}${color3}CT: ${color1}[CTR]${color3}/${color1}[CTS]
    ${goto 300}${color3}NT: ${color1}[NTR]${color3}/${color1}[NTS]
    ${goto 300}${color3}AT: ${color1}[ATR]${color3}/${color1}[ATS]
    ${voffset 2}${font DejaVu Sans Mono:style=Bold:size=11}${color1}Forecast ${font DejaVu Sans Mono:size=10}QOF High temp: ${color3}[QOF]${color4}${hr 2}${font}
    ${goto 15}${color3}[D2D]${goto 80}[D3D]${goto 145}[D4D]${goto 210}[D5D]${goto 275}[D6D]${goto 340}[D7D]${goto 405}[D8D]
    ${image [D2I] -p 15,441.5 -s 40x40}${image [D3I] -p 80,441.5 -s 40x40}${image [D4I] -p 145,441.5 -s 40x40}${image [D5I] -p 210,441.5 -s 40x40}${image [D6I] -p 275,441.5 -s 40x40}${image [D7I] -p 340,441.5 -s 40x40}${image [D8I] -p 405,441.5 -s 40x40}
    ${voffset 20}${goto 15}${color3}[D2T]${goto 80}[D3T]${goto 145}[D4T]${goto 210}[D5T]${goto 275}[D6T]${goto 340}[D7T]${goto 405}[D8T]${font}
    ${voffset 3}${color3}CoR ${color1}[D2P]${goto 90}[D3P]${goto 155}[D4P]${goto 220}[D5P]${goto 285}[D6P]${goto 350}[D7P]${goto 415}[D8P]${font} 
    ${voffset -5}${color4}${hr 2}${font}
    Attached Images Attached Images

  8. #898

    Thumbs up Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by os2 View Post
    Changes are indicated in Red.
    Good idea to get alignment, white space(s) and (: |) symbols all lined up.
    Saw both the font and image templates - Fantabulous!!! way to go - Yes I "asbalutley" agree with you - It is looking excellent.

    I suggest keep those templates with you as in the new 0.9.1 with alerts is going to have one change in these templates in the Present Condition line - you see my earlier post.

    cheers

  9. #899

    Cool Conkywx 0.9.1 Released - Now with Weather ALerts


    Conkywx Conky Weather Program With Weather Alerts - Conkywx 0.9.1 Released


    Many Improvements and changes ...



    Visit my blog for details http://foreverquest.blogspot.in/2013...conkywx_9.html

    Cheers

  10. #900
    Join Date
    Aug 2009
    Beans
    3,200
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Thanks paramvir! It looks great! So, will a warning about severe weather pop up now when it happens?

    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Ubuntu 12.04 | 14.04 | 14.10 | Mint 13 | Mint 17 | Windows 7 | All 64 bit

Page 90 of 185 FirstFirst ... 40808889909192100140 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •