Author Topic: Conky Support, Codes and Screenshots  (Read 208147 times)

jedi

  • DEFCON 1
  • Posts: 1633
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: New Look New Wall!!!
« Reply #60 on: January 17, 2013, 09:43:00 PM »
Thanks guys.  More 'borrowed' stuff from the artists at VSIDO!!!
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

lwfitz

  • DEFCON 1
  • Posts: 1774
  • sudo rm -rf /
    • View Profile
Re: Lua codes and screenshots.
« Reply #61 on: January 18, 2013, 03:08:34 AM »
Hey falldown any idea what is causing two wind advisory's to show?



I didnt change anything except the location from the intellicast site


EDIT:

Disregard my lua noobieness (is that a word?) I figured it out
Don't Be A Dick!

falldown

  • Posts: 366
    • View Profile
Re: Lua codes and screenshots.
« Reply #62 on: January 18, 2013, 03:31:16 AM »
I am not sure.. The Intellicast show multiple advisories here.. for stagnant air conditions. 
I will dig deeper into. 

I think that is a word..  :D

lwfitz

  • DEFCON 1
  • Posts: 1774
  • sudo rm -rf /
    • View Profile
Re: Lua codes and screenshots.
« Reply #63 on: January 18, 2013, 03:41:55 AM »
I am not sure.. The Intellicast show multiple advisories here.. for stagnant air conditions. 
I will dig deeper into. 

I think that is a word..  :D

Haha if its not a real word it should be!


So now I really do have a question........

Code: [Select]
subtab={
{d="start",x=5.5,y=10.5},
{d="arc_c",q=4,r=10,degs=90},
{d="rline",x=200,y=0},
{d="arc_c",q=1,r=10,degs=90},
{d="rline",x=0,y=125},
{d="arc_c",q=2,r=10,degs=90},
{d="rline",x=-200,y=0},
{d="arc_c",q=3,r=10,degs=90},
}
grec({g=5,gan=65,x=5,y=10,w=200,h=125,grad={{c=0x000000,a=1,p=0},{c=0x000000,a=1,p=1}},lw=1,sub=1,db=0,subtab=subtab})

subtab={
{d="start",x=5,y=10},
{d="arc_c",q=4,r=10,degs=90},
{d="rline",x=200,y=0},
{d="arc_c",q=1,r=10,degs=90},
{d="rline",x=0,y=125},
{d="arc_c",q=2,r=10,degs=90},
{d="rline",x=-200,y=0},
{d="arc_c",q=3,r=10,degs=90},
}
grec({g=5,gan=80,x=5,y=10,w=200,h=125,grad={{c=0x000000,a=0.35,p=0.0},{c=0xffffff,a=0.35,p=0.71},{c=0xffffff,a=0.35,p=0.73},{c=0xffffff,a=0.35,p=0.75},{c=0x000000,a=0.0,p=1}},lw=1,sub=1,db=0,subtab=subtab})

Is the background for the memory portion. Is this also where I change the size of that section? Like I wasnt to extend that background all the way down to my cpu area. Am I explaining good enough?
Don't Be A Dick!

falldown

  • Posts: 366
    • View Profile
Re: Lua codes and screenshots.
« Reply #64 on: January 18, 2013, 03:52:34 AM »
Yes.. correct.
The first
Code: [Select]
{d="arc_c",q=4,r=10,degs=90},is the top left corner of that box.

Also
Code: [Select]
subtab={
{d="start",x=5.5,y=10.5},
{d="arc_c",q=4,r=10,degs=90},
{d="rline",x=200,y=0},
{d="arc_c",q=1,r=10,degs=90},
{d="rline",x=0,y=125},
{d="arc_c",q=2,r=10,degs=90},
{d="rline",x=-200,y=0},
{d="arc_c",q=3,r=10,degs=90},
}
grec({g=5,gan=65,x=5,y=10,w=200,h=125,grad={{c=0x000000,a=1,p=0},{c=0x000000,a=1,p=1}},lw=1,sub=1,db=0,subtab=subtab})
This is the base solid background and the following
Code: [Select]
subtab={
{d="start",x=5,y=10},
{d="arc_c",q=4,r=10,degs=90},
{d="rline",x=200,y=0},
{d="arc_c",q=1,r=10,degs=90},
{d="rline",x=0,y=125},
{d="arc_c",q=2,r=10,degs=90},
{d="rline",x=-200,y=0},
{d="arc_c",q=3,r=10,degs=90},
}
grec({g=5,gan=80,x=5,y=10,w=200,h=125,grad={{c=0x000000,a=0.35,p=0.0},{c=0xffffff,a=0.35,p=0.71},{c=0xffffff,a=0.35,p=0.73},{c=0xffffff,a=0.35,p=0.75},{c=0x000000,a=0.0,p=1}},lw=1,sub=1,db=0,subtab=subtab})
is the gradient overlay.

The bargraph.lua explains the different g=(gradients) you can use.

lwfitz

  • DEFCON 1
  • Posts: 1774
  • sudo rm -rf /
    • View Profile
Re: Lua codes and screenshots.
« Reply #65 on: January 18, 2013, 04:04:58 AM »
^ Thanks buddy
Don't Be A Dick!

falldown

  • Posts: 366
    • View Profile
Re: Lua codes and screenshots.
« Reply #66 on: January 18, 2013, 04:09:20 AM »
Anytime!!  :)

jedi

  • DEFCON 1
  • Posts: 1633
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: Lua codes and screenshots.
« Reply #67 on: January 18, 2013, 07:01:04 AM »
Falldown - Got it working awesome first try!  Awesome conky!  Couple questions.  In a post here on VSIDO, I saw a scrot of this conky on your desktop with a shadow underneath.  How do I get the shadow?  It looked great!  Next question, could I have the last.fm .png file your using?  It would make my life easier as I'm artistically challenged and have to st*** I mean *borrow* all my creativity from you guys!  It is a great conky!  :-\
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

incognito

  • Posts: 2
    • View Profile
Re: Conky Codes and Images
« Reply #68 on: January 18, 2013, 07:15:41 AM »
I see a lot of amazing work here.  I have a couple of questions

Do all of you use VSIDO who has posted here?  If so, was there anything else you need to install to run these configurations you are posting? I do not have much experience with Conky but I think I can learn by trying as long as cut copy and paste works and I can get some help if I need it

Thanks

jedi

  • DEFCON 1
  • Posts: 1633
  • Not all those who wander are lost.
    • View Profile
    • NixNut.com
Re: Conky Codes and Images
« Reply #69 on: January 18, 2013, 07:38:13 AM »
I see a lot of amazing work here.  I have a couple of questions

Do all of you use VSIDO who has posted here?  If so, was there anything else you need to install to run these configurations you are posting? I do not have much experience with Conky but I think I can learn by trying as long as cut copy and paste works and I can get some help if I need it

Thanks
Hello incognito and welcome to VSIDO!  I can't speak for "everyone", but I'd have to say that 99.999% of the users here use VSIDO!  Conky comes with VSIDO by default as does Tint2 which you may have seen on some of the configs in the form of panels and or icons.  In order to get and install VSIDO, just follow the instructions in the VSIDO Download link at the top of the page.  We'd be glad to have you...
It is a really great Linux distribution!
Jed
Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Sector11

  • Posts: 870
    • View Profile
Re: Conky Codes and Images
« Reply #70 on: January 18, 2013, 12:13:37 PM »
Made a change to one of my desktop 2 conkys.  And wanted to stop the crying - I admit it, I like Batman


although I did make him:  VSIDO Batman

The Conky - no longer just a Disk Activity conky, must change name.
Code: [Select]
# killall conky && conky -c /media/5/Conky/S11_Disk_Activity.conky &
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title Disk Activity

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type override
# own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 150

minimum_size 270 0 #225 ## width, height
maximum_width 270 ## width, usually a good idea to equal minimum width

gap_x 10 ### left &right
gap_y 10 ### up & down

alignment tl
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monofur:bold:size=12
#xftfont WenQuanYi Micro Hei Mono:size=8

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

draw_shades no #### <<<<<<------------------To see it easier on light screens.
#default_shade_color black

draw_outline no #### <<<<<<---------------- Amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color gray
default_outline_color black

default_color DCDCDC #Gainsboro
color0 ffe595 #Teo Gold
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan #48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red  #A52A2A #DarkRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes #no
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

## default bar size
default_bar_size 200 20

## Specify a default width and height for graphs.
## Example: 'default_graph_size 0 25'. This is particularly useful for execgraph
## and execigraph as they do not take size arguments
## default_graph_size 220 100

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/dra2w-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
lua_load /media/5/Conky/LUA/draw-bg.lua
lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.5
### mount.lua ##################################################################
#
##instructions
##load script
##lua_load ~/path_to/mounted.lua
#lua_load /media/5/Conky/LUA/mounted.lua
## first lua command below text:
## ${lua get_mounted_data interval}, where interval is a number.  This starts data gathering
## to get output:
## ${lua mount partition_number data_type}, where partition number is a number
## data_type can be
## total - shows total number of partitions mounted, requires a partition_number also, use 1, could be used in an if_match
## fsys - shows filesystem
## size - shows space used in appropriate units
## free - shows free space in appropriate units
## use% - shows % used
## mount - shows mountpoint
#######################################################  End LUA Settings  ###

#digiThe all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1 # in seconds

# stuff after 'TEXT' will be formatted on screen
TEXT
 ${color3}${alignc}${time %A %d %B %Y}
 ${color5}${time %T}${alignr 15}${uptime_short}

${alignc}${color3}Hosted by: ${color5}${nodename}
${alignc}${color}${kernel}

${color3} Disk Activity
${goto 10}${diskiograph 50,250 FF0000 0000FF -t -l}${goto 10}${color0}${cpubar cpu4 50,250}${color}\
${voffset -35}${goto 80}SDA: R: ${diskio_read /dev/sda}
${goto 80}     W: ${diskio_write /dev/sda}
${voffset 5}${goto 60}${color1}${fs_bar /}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30}/Root   ${fs_size /}${goto 170}Used${goto 220}${fs_used_perc /}%
${goto 60}${color1}${fs_bar_free /}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30}${goto 170}Free${goto 220}${fs_free_perc /}%
${goto 60}${color1}${fs_bar /home}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30}/Home   ${fs_size /home}${goto 170}Used${goto 220}${fs_used_perc /home}%
${goto 60}${color1}${fs_bar_free /home}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30}${goto 170}Free${goto 220}${fs_free_perc /home}%
${goto 60}${color1}${fs_bar /media/5}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30} /M/5   ${fs_size /media/5}${goto 170}Used${goto 220}${fs_used_perc /media/5}%
${goto 60}${color1}${fs_bar_free /media/5}${goto 60}${color0}${cpubar cpu4}${color}
${voffset -30}${goto 170}Free${goto 220}${fs_free_perc /media/5}%
${color6}${hr}
${color3}CPU Frequency:${alignr 10}${color}${freq_g}Ghz

${goto 10}${color5}CPU1\
${voffset -8}${goto 60}${color1}${cpubar cpu1}${color5}${goto 60}${cpugraph cpu1 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu1}<10}  ${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100} ${cpu cpu1}\
${else}${cpu cpu1}${endif}${endif}%

${goto 10}${color5}CPU2\
${voffset -8}${goto 60}${color1}${cpubar cpu2}${color5}${goto 60}${cpugraph cpu2 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu2}<10}  ${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100} ${cpu cpu2}\
${else}${cpu cpu2}${endif}${endif}%

${goto 10}${color5}CPU3\
${voffset -8}${goto 60}${color1}${cpubar cpu3}${color5}${goto 60}${cpugraph cpu3 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu3}<10}  ${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100} ${cpu cpu3}\
${else}${cpu cpu3}${endif}${endif}%

${goto 10}${color5}CPU0\
${voffset -8}${goto 60}${color1}${cpubar cpu0}${color5}${goto 60}${cpugraph cpu0 -t 20,200 FF0000 FFFF00}\
${voffset -12}${goto 70}${color}${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${cpu cpu0}${endif}${endif}%

${color3}RAM: ${color5}${mem}${color3}/${color5}${memmax}${alignr 5}${color3}Swap: ${color5}${swap}${color3}/${color5}${swapmax}
${color3}SDA: ${color7}Read: ${color5}${diskio_read /dev/sda}${goto 160}${color7}Write: ${color5}${diskio_write /dev/sda}
${alignc}${color3}Network speeds for eth0
 ${color7}Down:${goto 60}${color5}${downspeedf eth0}${goto 125}${color7}Up:${goto 160}${color5}${upspeedf eth0}
${color6}${hr}${color}
Stay Home

Sector11

  • Posts: 870
    • View Profile
Re: Conky Codes and Images
« Reply #71 on: January 18, 2013, 12:21:39 PM »
Welcome incognito

I agree with Jed. And would like to add that it is not a requirement to be using VSIDO to even use our forum.  Stick around we'll grow on you.

Most distros today come with a default conky out of the box.  VSIDO is no different, however a few of us here are addicted to conky - and loving it.
Stay Home

Sector11

  • Posts: 870
    • View Profile
Re: Im Batman!
« Reply #72 on: January 18, 2013, 12:24:33 PM »
Heeeerrrrrrrreeeeeees VSIDO Batman
Stay Home

lwfitz

  • DEFCON 1
  • Posts: 1774
  • sudo rm -rf /
    • View Profile
Re: Im Batman!
« Reply #73 on: January 18, 2013, 03:13:46 PM »
Heeeerrrrrrrreeeeeees VSIDO Batman



 ??? ??? That looks awesome Sector11! WOW!
Don't Be A Dick!

Sector11

  • Posts: 870
    • View Profile
Re: Im Batman!
« Reply #74 on: January 18, 2013, 05:50:54 PM »
??? ??? That looks awesome Sector11! WOW!

And his first villain - The Washer!
some guy running around in his underwear  pimping car washes!
Stay Home