Page 41 of 229 FirstFirst ... 3139404142435191141 ... LastLast
Results 401 to 410 of 2283

Thread: HOWTO: VinDSL Conky Script

  1. #401
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    @foodoo
    Yeah i haven't noticed that with x and y coordinates, i haven't changed that. It must be why it doesn't show graphs right. I'll try out this you suggested.

    @lambodroid Can you tell me which service are you using for weather? And some tips about setting it up?

    Thanks to both.

  2. #402
    Join Date
    Aug 2012
    Beans
    10

    Re: HOWTO: VinDSL Conky Script

    @Cvetan
    I am using ConkyWX like VinDSL has his setup with a few minor changes to accommodate the different screen resolution. I will make a post(hopefully soon) in the big conky thread and link you too it if you would like.

  3. #403
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    Yes i would like to see it. Thanks. Greetings.

    For the last issue, yes i have fix it with y position. Thansk once again foodoo.

    I don't get it what i need to have for weather with vindsl conky. And what services do work?
    Last edited by Cvetan; September 28th, 2012 at 03:35 AM.

  4. #404
    Join Date
    Jul 2012
    Beans
    88

    Re: HOWTO: VinDSL Conky Script

    Hi Cvetan,

    First of all you will need:
    conky-all and conky latest version is 1.9.0

    Install using the correct PPA:

    Open up a terminal, and paste the following commands one by one:

    sudo add-apt-repository ppa:vincent-c/conky
    sudo apt-get update
    sudo apt-get install conky-all
    sudo apt-get install conky
    ----------------------------------------------------------------
    fonts:
    you will need the correct fonts installed,
    create a folder called .fonts and save it in your hone directory
    get the fonts from this link: http://ompldr.org/vOHdoag
    the package will download automatically.

    unzip all the fonts into your .fonts folder
    then run this command in a terminal (it rebuilds font cache file):

    sudo fc-cache -fv

    ----------------------------------------------------------------
    In order to display the weather info you will need to install and run "conkywx" within your conkyrc file and you will need a template which is called-up by "conkywx".
    ----------------------------------------------------------------
    The entire man page is here: (RTFM)
    https://bitbucket.org/plikhari/conkywx_pub/wiki/Home
    ----------------------------------------------------------------
    You can get the correct version of conkywx for your operating system here:
    http://foreverquest.blogspot.de/

    for Ubuntu users!
    After it's downloaded, simply double click on it and let it install through the Ubuntu software center!
    ----------------------------------------------------------------

    First of all you will need to find the weather station ID and number closest to your town or city.
    Use this link to visit http://www.wunderground.com/

    Type in the name of your town or city, you may see some suggested stations that are closest to you or even right where you live, click on one to select it then click the "Search" button.

    Now you will see the selected weather station number in the address field at the top of your browser, it will look like this:
    http://www.wunderground.com/global/stations/10488.html

    It's the 10488 number that you will need!
    make a note of your number!

    Take a look further down the page to find a station xml ID (you may need to search a little bit to find this!)
    it will look something like this: ISACHSEN18
    make a note of this!
    ----------------------------------------------------------------
    Now you will to go to /etc/conkywx/conkywx.conf
    open conkywx.conf with a text editor like "gedit" in Ubuntu
    ------------------------------------------
    Make sure "use_xml" is set to 1 like this:
    use_xml=1

    Your xml id should look like this:
    xml_ID=ISACHSEN18 (use your own ID)
    ------------------------------------------
    Location is where you must put your station number:
    Location=10488 (use your own number) make sure this is not commented out with one of these: #

    It is important that these two settings are present in order to call all the correct data when using xml ID!!!
    ------------------------------------------
    show_notification
    set this to 1 to test that it updates every 900 seconds.
    show_notification=1
    ------------------------------------------
    the rest of the settings are cosmetic, see for yourself
    Once you have finished save the changes!
    ----------------------------------------------------------------
    Template:
    create a text file and give it a name
    suggested name:
    wx-wu-vindsl-template

    Below are the contents of the vindsl template, copy and paste everything into your created template text file and save it in:
    /usr/share/conkywx/examples

    ${voffset 6}${goto 34}${font Weather:size=44}${color6}y${font}
    ${voffset -58}${font RadioSpace:size=33}${color6}${alignc}[PT]${font}
    ${voffset 2}${alignc 6}${font}${font DroidSansFallback:bold:size=7.4}${color5}Feels${of fset 3}like${offset 1}:${offset 1}${color6}[FL]${offset 3}${color5}/${offset 3}${color6}[FCTT]${font}
    ${voffset -40}${goto 203}${font DroidSansFallback:bold:size=8.75}${color6}[D1T]${font}
    ${voffset 0}${goto 204}${font DroidSansFallback:bold:size=7.3}${color5}CoR${offs et 1}:${offset 1}${color6}[D1P]${font}
    ${voffset -45}${goto 188}${font KRARound:size=41.5}${color8}I${font}
    ${voffset 6}${font Ubuntu:size=22.75}${color5}${alignc}[CT]${font}
    ${voffset 7}${alignc 6}${font}${font DroidSansFallback:bold:size=8}${color5}Sunrise${of fset 1}:${offset 1}${color6}[SR]${offset 6}${color5}Sunset${offset 1}:${offset 1}${color6}[SS]${font}
    ${voffset 8}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Humidity ${offset 1}:${offset 2}${color6}[HM]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Baromete r${offset 1}:${offset 2}${color6}[BR]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Bar${off set 3}Trend${offset 1}:${offset 2}${color6}[FCTP]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Moonrise ${offset 1}:${color6}[MR]${font}${voffset 11}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Moonset$ {offset 1}:${color6}[MS]${font}
    ${voffset -61}${goto 16}${font ConkyWindNESW:size=41.6}${color6}[BF]${font}${voffset -36}${goto 196}${font MoonPhases:size=35}${color6}[MIF]${font}${voffset -36}${goto 198}${font MoonPhases:size=35}${color8}8${font}
    ${voffset -1}${goto 22}${font DroidSansFallback:bold:size=8.45}${color3}[WS] mph${voffset -1}${goto 203}[MP]${font}
    ${voffset 8}${goto 25}${font DroidSans:bold:size=8.5}${color5}[D2D]${goto 85}[D3D]${goto 144}[D4D]${goto 201}[D5D]${font}
    ${voffset 2}${goto 23}${font ConkyWeather:size=32}${color6}[D2F]${goto 83}[D3F]${goto 142}[D4F]${goto 200}[D5F]${font}
    ${voffset 1}${goto 25}${font DroidSans:bold:size=8.5}${color3}[D2T]${goto 85}[D3T]${goto 144}[D4T]${goto 201}[D5T]${font}
    ${voffset -1}${goto 24}${font DroidSans:bold:size=8.45}${color5}CoR${offset 1}:${offset 1}${color3}[D2P]${goto 84}${color5}CoR${offset 1}:${offset 1}${color3}[D3P]${goto 144}${color5}CoR${offset 1}:${offset 1}${color3}[D4P]${goto 201}${color5}CoR${offset 1}:${offset 1}${color3}[D5P]${font}
    The call-up in your conkyrc:
    I take it you will want to display the weather info under the Network info!
    This is my call-up plus a few cosmetic options, copy and paste all of it directly below your network stuff. Look at the path to your template and make sure you use the name you chose for your template and save the changes:
    #################################
    ## WEATHER ##
    #################################
    ${voffset 4}${font RadioSpace:bold:size=8.25}${color4}WEATHER${offset 8}${color4}${voffset -2}${hr 2}${font}
    ${execpi 900 conkywx -c /etc/conkywx/conkywx.conf -t /usr/share/conkywx/examples/wx-wu-vindsl-template|
    ####
    ## Windspeed [WS]
    sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g'|
    ####
    ## Moon Phases [MP]
    sed -e 's/New Moon'/'\$\{offset -10\}New Moon/g'|
    sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/First Quarter'/'\$\{offset -3\}First Qtr/g'|
    sed -e 's/Waxing Gibbous'/'\$\{offset -3\}Waxing/g'|
    sed -e 's/Full Moon'/'\$\{offset -8\}Full Moon/g'|
    sed -e 's/Waning Gibbous'/'\$\{offset -3\}Waning/g'|
    sed -e 's/Last Quarter'/'\$\{offset -3\}Last Qtr/g'|
    sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g'
    }${font}
    ----------------------------------------------------------------
    Note DO NOT SET THE CALL-UP LOWER THAN 900 SECONDS this is the minimum!
    ----------------------------------------------------------------
    Give these files root:

    conkywx.conf
    wx-wu-vindsl-template (unless you have used a different name)
    conkywx.sh
    ---------------------------------------------------------------
    In your .conkyrc

    ## This buffer is used for text, single lines, output from $exec, and other variables.
    ## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
    ## Decreasing the size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!

    set the text_buffer_size to something like 3600 my conky seems to work with this setting!
    text_buffer_size 3600

    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    set the max_specials to at least 600 or slightly higher lets say 700!
    max_specials 600
    --------------------------------------------------------------

    Now you are ready to run conky and see the magic!


    Have fun Sean.
    P:S. feel free to make a comment if i have missed something out that should be in this post!
    Last edited by foodoo; September 29th, 2012 at 11:09 AM. Reason: more info added

  5. #405
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    Thank once again mate.

    I will try out this and let you know what have i done. Cheers.

  6. #406
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    Not completely succesfull.

    Look what i got, half doesn't work, i fixed errors where i found it, but the else i don't see.

    There is the image and the terminal output when i run conky.
    Code:
    Conky: forked to background, pid is 14939
    cvetan@cvetan:~$ 
    Conky: desktop window (1000095) is subwindow of root window (158)
    Conky: window type - override
    Conky: drawing to created window (0x3e00001)
    Conky: drawing to double buffer
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    sed: read error on stdin: Input/output error
    Conky: unknown variable col
    Conky: unknown variable col
    What is this waxing gibbous to the right below the moon image? It stretched my conky window, it should be to the end of cpus and memory bars.

    If i get it right it can't display some fonts for weather conditions, but i don't know what is the problem all fonts are installed. I even tried copying them to /usr/share/fonts/ directory.
    Attached Images Attached Images
    Last edited by Cvetan; September 29th, 2012 at 01:00 AM.

  7. #407
    Join Date
    Jan 2009
    Location
    Harborcreek Pa
    Beans
    343
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    @Cvetan,

    Look at this section in .conkyrc and increase it to see if you see more of what should be displayed.

    Code:
    ####
    ## This buffer is used for text, single lines, output from $exec, and other variables.
    ## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
    ## Decreasing the size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    #
    text_buffer_size 6500
    For the fonts have you copied all the founts from conkywx to your .fonts folder and also rebooted?

    Bill
    LINUX Flight Simulator Machine - AMD 8-Core FX-8350 - Antec KUHLER H2O 920 - 32G Ram - Nvidia GeForce GTX 780 PCI/Express 6144 MB - Driver Version 340.65 - Asus VE278 - Ubuntu 64 bit 12.04 - 12.10 - 13.04 - 13.10 - 14.04 - X-Plane 10.325rc1

  8. #408
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    When i increase the text buffer size and run conky it outputs in terminal to many special thing in text and won't run conky.

  9. #409
    Join Date
    Jan 2009
    Location
    Harborcreek Pa
    Beans
    343
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by Cvetan View Post
    When i increase the text buffer size and run conky it outputs in terminal to many special thing in text and won't run conky.
    This will help that.
    Code:
    ####
    ## This buffer is used for text, single lines, output from $exec, and other variables.
    ## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
    ## Decreasing the size (too low) will truncate content and cause strange display output.
    ## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
    #
    text_buffer_size 6500
    
    ####
    ## Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
    #
    max_specials 600
    LINUX Flight Simulator Machine - AMD 8-Core FX-8350 - Antec KUHLER H2O 920 - 32G Ram - Nvidia GeForce GTX 780 PCI/Express 6144 MB - Driver Version 340.65 - Asus VE278 - Ubuntu 64 bit 12.04 - 12.10 - 13.04 - 13.10 - 14.04 - X-Plane 10.325rc1

  10. #410
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    48
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: VinDSL Conky Script

    Yeah i also found that option later. It now shows all information great. Thank you both.

    Here is how it looks.
    Attached Images Attached Images

Page 41 of 229 FirstFirst ... 3139404142435191141 ... 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
  •