Page 40 of 287 FirstFirst ... 3038394041425090140 ... LastLast
Results 391 to 400 of 2865

Thread: HOWTO: VinDSL Conky Script

  1. #391
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    This is so unreal - freaky lol - I just got this arrow thingy into the program last night.[...]
    Oh, my! Now, that's funny! We must be clairvoyants. LoL!

    I've been playing with arrows all day. Isn't Conky fun?!?!?

    I went about it a different way...

    It requires installing a new font: Arrows by JLH Fonts (dafont.com) || JLH Fonts (author's site)


    .conkyrc
    Code:
    ##################################
    ##    CONKYWX WEATHER SCRIPT    ##
    ##################################
    ${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
    ${execpi 900 ${template0} -c "${template1}" -t "${template2}" |
    sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g' |
    sed -e 's/New Moon'/'\$\{offset -13\}New Moon/g' |
    sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g' |
    sed -e 's/First Quarter'/'\$\{offset -5\}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 -5\}Last Qtr/g' |
    sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g' |
    sed -e 's/TT:Falling'/'\$\{offset -4\}d/g' |
    sed -e 's/TT:Rising'/'\$\{offset -5\}c/g' |
    sed -e 's/TT:Steady'/'\$\{offset -10\}RQ/g' |
    sed -e 's/TT:N\/A'/'/g'
    }${font}

    /usr/share/conkywx/examples/vindsl-weather-template.sh
    Code:
    ##################################
    ## VinDSL | rev. 12-09-23 08:09 ##
    ##################################
    ##   CONKYWX WEATHER TEMPLATE   ##
    ##################################
    ${voffset 6}${goto 34}${font Weather:size=44}${color6}y${font}${voffset -35}${font Arrows:size=28}${goto 164}${color6}TT:[FCTT]${font}
    ${voffset -43}${font RadioSpace:size=33}${color6}${alignc 12}[PT]${font}
    ${voffset 2}${font DroidSansFallback:bold:size=7.4}${alignc 4}${color5}Feels${offset 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${offset 1}:${offset 1}${color6}[D1P]${font}
    ${voffset -45}${goto 188}${font KRARound:size=41.5}${color6}I${font}
    ${voffset 6}${font Ubuntu:size=22.75}${color5}${alignc}[CT]${font}
    ${voffset 7}${alignc 5}${font}${font DroidSansFallback:bold:size=8}${color5}Sunrise${offset 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}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Bar${offset 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}${color6}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}
    Last edited by VinDSL; September 25th, 2012 at 07:12 AM. Reason: Addendum
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  2. #392

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by VinDSL View Post
    Oh, my! Now, that's funny! We must be clairvoyants. LoL!

    I've been playing with arrows all day. Isn't Conky fun?!?!?

    I went about it a different way...
    Yes conky is FUN !!!

    Interesting font - ok let me see - can include this as part of the fonts packages with the program.

    I was working on the Version check thing and finally got the simplest solution - the number in the conky_version_check_test must be the same as the running program else the file is deleted which makes a fresh call to the server to get current file version - if that is higher - you get a noti for new version.

    Also the blacklist for changing the present condition - I felt people may have their own choice - why force them to what I feel is right - maybe they have a different take on what is right -and no calls to sed for this one and also capitalization - conky n vinDSL give you so many ideas

  3. #393
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    Interesting font - ok let me see - can include this as part of the fonts packages with the program.[...]
    Yes, an interesting font, for sure! And, freshly minted...

    I use dingbats* whenever possible. They're easier to work with than graphics, IMO, and quickly swapped out.

    I tried several arrow fonts before settling on this one. The author did an excellent job!

    EDIT

    * Extra credit reading for new Conky users: Dingbats (Wikipedia)
    Last edited by VinDSL; September 25th, 2012 at 05:33 PM. Reason: Addendum
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  4. #394

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by VinDSL View Post
    Yes, an interesting font, for sure! And, freshly minted...

    I use dingbats* whenever possible. They're easier to work with than graphics, IMO, and quickly swapped out.

    I tried several arrow fonts before settling on this one. The author did an excellent job!

    EDIT

    * Extra credit reading for new Conky users: Dingbats (Wikipedia)
    I am using echo -e '\unicode' or regular alphabet echo -e 'c' - both work - so it makes it easy - see the wiki have updated it for the new version

  5. #395
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: HOWTO: VinDSL Conky Script

    Quote Originally Posted by paramvir View Post
    I am using echo -e '\unicode' or regular alphabet echo -e 'c' - both work - so it makes it easy - see the wiki have updated it for the new version
    Sweet!

    That'll simplify matters considerably...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  6. #396
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    57
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HOWTO: VinDSL Conky Script

    i have a core i5 processor with 4 cores. What shoul i change in that first text section with system info to show cpu information? And also for the cpu graphs should i also change the lua files to?

  7. #397
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi Cvetan,

    Are you using the vindsl scripts or something else ?


    CPU info vinddsl conkyrc script:
    The code below shows your actual Frequency of "cpu0" but the name of the CPU has been hard coded so you can simply change this name to your own CPU.

    ${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font DroidSans:size=8.6}${color3}${offset 5}Intel®${offset 3}${offset 3}Core ™2 Duo E6850${offset 3}${alignr 1}${font DroidSans:size=8.3}${freq_g cpu0}${offset 1}GHz${font}

    In the script it only displays 2 cores:
    ${voffset 6}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU1${offset 5}${font DroidSans:size=8.3}${cpu cpu1}%${font}
    ${voffset 2}${font StyleBats:size=9.9}${color2}k${voffset -2}${font DroidSansFallback:size=8.39}${color3}${offset 2}CPU2${offset 5}${font DroidSans:size=8.3}${cpu cpu2}%${font}

    you could use the 2 existing lines to make 2 more and simply rename the third and forth to cpu3 and cpu4 and then use the existing cpu code in the lua file to create 2 more bars again you would need to label them cpu3 and cpu4, you would need to play around with the positions in the code to place them correctly but dont forget if you do all this everything else underneath will move downwards and depending on the size of your monitor you may loose some of the info that is being display.

    I hope i was able to help.

    Many thanks Sean

  8. #398
    Join Date
    May 2011
    Location
    Belgrade, Serbia
    Beans
    57
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HOWTO: VinDSL Conky Script

    Yes i am using vindsl. If i undestood you well, i can copy the part for cpu in lua file, and just rename the arguments? I tried that and it did not show the graphs, but regulary show info for the cpu usage in percentage.
    I might have made mistake somewhere, but i doubt because i just copied and pasted.

    Thanks.

  9. #399
    Join Date
    Aug 2012
    Beans
    10

    Re: HOWTO: VinDSL Conky Script

    Finally got my conky to match my theme. Thanks VinDSL. Looking forward to incorporating anything else you might add.
    Thanks again
    Attached Images Attached Images
    Last edited by LamboDroid; September 27th, 2012 at 05:05 PM.

  10. #400
    Join Date
    Jul 2012
    Location
    Dresden Germany
    Beans
    129
    Distro
    Ubuntu Gnome

    Re: HOWTO: VinDSL Conky Script

    Hi Cvetan,

    look at the post from Lambodroid he is using 6 cores and the lua file for the bars maybe you could ask him for the lua file and take out the 2 bars you wont need.

    In the Lua file did you adjust the Y coordination values in your 2 new bars ? these must be adjusted to reflect 2 new positions for your 2 extra CPU's if you didn't then the new bars would simply sit on top of existing bars for cpu1 and cpu2 !
    perhaps that is why you couldn't see the new ones.

    Take a look here i think you will see what i mean:

    { --[ Graph for CPU3 ]--
    name="cpu",
    arg="cpu3",
    max=100,
    alarm=50,
    alarm_colour={0xFF0000,0.72},
    bg_colour={0xFFFFFF,0.25},
    fg_colour={0x00FF00,0.55},
    mid_colour={{0.45,0xFFFF00,0.70}},
    x=82,y=156,<----------------------------------play with this value it needs to be higher!
    blocks=61,
    space=1,
    height=2,width=5,
    angle=90,
    smooth=true
    },
    { --[ Graph for CPU4 ]--
    name="cpu",
    arg="cpu4",
    max=100,
    alarm=50,
    alarm_colour={0xFF0000,0.72},
    bg_colour={0xFFFFFF,0.25},
    fg_colour={0x00FF00,0.55},
    mid_colour={{0.45,0xFFFF00,0.70}},
    x=82,y=170,<------------------------------------play with this value it needs to be higher!
    blocks=61,
    space=1,
    height=2,width=5,
    angle=90,
    smooth=true
    },

    I'm not sure if you would need to do anything else to the Lua file so it maybe a good idea to ask LamboDroid for the code to his Lua!
    You may also need to adjust the bars under your 2 new ones, i'm not sure again but it could be.

    Sean
    Last edited by foodoo; September 27th, 2012 at 05:54 PM.

Page 40 of 287 FirstFirst ... 3038394041425090140 ... 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
  •