SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#5501 2013-06-07 16:53:16

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

lionhead wrote:

is it possible to 'grab' the name (mountpoint) of the usb-stick that i plugged in?
i have several usb-sticks with different names. and i just want to display the text once.

furthermore: when i format (with windows) the usb-stick gets a different name.

http://i.imgbox.com/abeAgJuA.jpg

mrpeachy's mounted.lua does that.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Be excellent to each other!

#5502 2013-06-09 19:51:13

b4d93r
New Member
From: Colorado
Registered: 2013-06-09
Posts: 3

Re: Conky v1.9 Thread

Hi everyone,

Been running #! (latest) on my netbook for the past couple of weeks and really like it. It's a little overwhelming in some spots for us Linux noobs but I'm getting it figured out. I do have one question though. In the original conky setup (which i'm still running), I really like the keyboard mapping guide. I was wanting to know how does one go about mapping their keys to an application? I have a couple i would like to do that with but not sure how.

Thanks
Steve


==========================================
Running CrunchBang on my Compaq Mini 110c

Offline

#5503 2013-06-09 20:05:03

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Re: Conky v1.9 Thread

Hey b4d93r and welcome to #!,

Check this out

http://wiki.debian.org/Keyboard/MultimediaKeys

Hope that helps

Offline

#5504 2013-06-09 20:57:04

dgz
#! Junkie
Registered: 2011-11-22
Posts: 380

Re: Conky v1.9 Thread

for some reason my left-hand conky is drawing above my lower 61px openbox margin, but my right hand one is fine:

acwp813V.jpg

i've tried placing the info from the left hand conky into the right, but it still draws above.

any suggestions?

Offline

#5505 2013-06-09 21:01:12

dgz
#! Junkie
Registered: 2011-11-22
Posts: 380

Re: Conky v1.9 Thread

b4d93r wrote:

Hi everyone,

Been running #! (latest) on my netbook for the past couple of weeks and really like it. It's a little overwhelming in some spots for us Linux noobs but I'm getting it figured out. I do have one question though. In the original conky setup (which i'm still running), I really like the keyboard mapping guide. I was wanting to know how does one go about mapping their keys to an application? I have a couple i would like to do that with but not sure how.

Thanks
Steve

in the right-click menu it's settings>openbox>edit rc.xml, then ctrl+f and search for an application that's already keymapped (say thunar or vlc), select its entry down to '</keybind>', copy/paste it below and edit the application name and key to what you would like.

Offline

#5506 2013-06-10 00:44:28

b4d93r
New Member
From: Colorado
Registered: 2013-06-09
Posts: 3

Re: Conky v1.9 Thread

dgz wrote:
b4d93r wrote:

Hi everyone,

Been running #! (latest) on my netbook for the past couple of weeks and really like it. It's a little overwhelming in some spots for us Linux noobs but I'm getting it figured out. I do have one question though. In the original conky setup (which i'm still running), I really like the keyboard mapping guide. I was wanting to know how does one go about mapping their keys to an application? I have a couple i would like to do that with but not sure how.

Thanks
Steve

in the right-click menu it's settings>openbox>edit rc.xml, then ctrl+f and search for an application that's already keymapped (say thunar or vlc), select its entry down to '</keybind>', copy/paste it below and edit the application name and key to what you would like.

Very cool, I will have to check that out! probably won't be until next week after I get back from my conference but will definately check it out then.


==========================================
Running CrunchBang on my Compaq Mini 110c

Offline

#5507 2013-06-10 01:12:18

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

dgz wrote:

for some reason my left-hand conky is drawing above my lower 61px openbox margin, but my right hand one is fine:

http://t.imgbox.com/acwp813V.jpg

i've tried placing the info from the left hand conky into the right, but it still draws above.

any suggestions?

Interesting, I took my left and right conkys, both top, and made them bl and br - and sure enough the left conky stayed above my 45 pixel margin.  So I made the left conky display on the right and the right on the left, now the right conky stays above the matgin.

I'll have to experiment more...


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5508 2013-06-10 16:31:44

dgz
#! Junkie
Registered: 2011-11-22
Posts: 380

Re: Conky v1.9 Thread

Sector11 wrote:
dgz wrote:

for some reason my left-hand conky is drawing above my lower 61px openbox margin, but my right hand one is fine:

http://t.imgbox.com/acwp813V.jpg

i've tried placing the info from the left hand conky into the right, but it still draws above.

any suggestions?

Interesting, I took my left and right conkys, both top, and made them bl and br - and sure enough the left conky stayed above my 45 pixel margin.  So I made the left conky display on the right and the right on the left, now the right conky stays above the matgin.

I'll have to experiment more...

odd, let me know if you find any answers.

Offline

#5509 2013-06-10 17:20:18

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

dgz wrote:
Sector11 wrote:

I'll have to experiment more...

odd, let me know if you find any answers.

Will do, in fact now that I'm home for the day ... it will give me something to do this afternoon evening.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5510 2013-06-10 21:35:46

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

Peachy how would I have this lua function as a standalone script?
I have it inside of a v9000 interactive script, but I would like for it to run solo without calling the weather script every .25 seconds.

timer1={}
timer1_length=30
logostart=1

--## function start animation ##
if logostart==1 then 
      for i = 1, tonumber(timer1_length) do
      timer1[i]=(timer1[i+1] or 0)
            if i==timer1_length then
            timer1[timer1_length]=tonumber(conky_parse('${updates}'))
            end
      end--of for loop
elseif logostart==0 then
timer1={}
end
directory="/home/falldown/FL-logo/logo/"
if logostart==1 then
count=0
for i=1,timer1_length  do
    if timer1[i]~=0 then
    count=count+1
    end
    output=count
end
else
output=1
end
--print (output)
image({x=5,y=5,w=415,h=274,file=directory..output..".png"})
end--of animation

Offline

#5511 2013-06-10 23:03:28

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

@ dgz

OK I think I have something here:  All nine conkys are identical other than the first line after TEXT that shows the position.

All have gap-x|y settings:

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

and:

own_window_type normal

Margins are set to 50 for all sides:
2013_06_10_19_26_28_1920x1080_Sector11.jpg

Top left obeys the margins.

Now change:

own_window_type normal

to

own_window_type override

and even that conky moves into place:
2013_06_10_19_37_06_1920x1080_Sector11.jpg

Here the test conkys in ~/margin-test along with a couple of scripts to start them.

Why the other seven conkys on the edge didn't obey the margins I have no idea... more research needed.  But when I run my daily conkys with those margins they ALL obey the space ... This is the Twilight Conky Zone


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5512 2013-06-11 10:17:56

Deegan
Member
From: Italy Varese
Registered: 2011-11-19
Posts: 36

Re: Conky v1.9 Thread

big_smile   big_smile   big_smile

schermatadel20130611121.png

.conkyrc

# -- Conky settings -- #
    background no
    update_interval 1

    cpu_avg_samples 2
    net_avg_samples 2

    override_utf8_locale yes

    double_buffer yes
    no_buffers yes

    text_buffer_size 2048
    imlib_cache_size 0

    # -- Window specifications -- #

    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

    border_inner_margin 0
    border_outer_margin 0

    minimum_size 390 0
    #maximum_width 360
    

    alignment tm
    gap_x 0
    gap_y 50

    # -- Graphics settings -- #
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes

    # -- Text settings -- #
    use_xft yes
    xftfont ZeKton:size=24
    xftalpha 0.4
    uppercase no

####################
#  -  LUA load  -  #
####################
lua_load ~/lua/background.lua
lua_draw_hook_pre main

##  http://www.youtube.com/user/GasDesigns/videos
##  conky -c .conkyGas

TEXT
${voffset -11}${color 707070}${font ZeKton:size=8:style=bold}${goto 44}Oggi${goto 115}${execi 600 conkyForecast --location=ITXX0082 --datatype=DW --shortweekday --startday=1}${goto 180}${execi 600 conkyForecast --location=ITXX0082 --datatype=DW --shortweekday --startday=2}${goto 245}${execi 600 conkyForecast --location=ITXX0082 --datatype=DW --shortweekday --startday=3}${goto 317}${execi 600 conkyForecast --location=ITXX0082 --datatype=DW --shortweekday --startday=4}
${lua conky_draw_bg 20 21 2 360 100 0x555555 0.2}
${execpi 600 conkyForecast --location=ITXX0082 --template=~/.scripts/vreme.template}

vreme.template

${image [--datatype=WI] -p 30,22 -s 60x60}
${image [--datatype=WI --startday=1] -p 98,22 -s 60x60}
${image [--datatype=WI --startday=2] -p 163,22 -s 60x60}
${image [--datatype=WI --startday=3] -p 233,22 -s 60x60}
${image [--datatype=WI --startday=4] -p 301,22 -s 60x60} 
${voffset -35} 
${goto 46}${execi 3600 conkyForecast -d HT -u -x}°C${goto 115}[--datatype=HT --startday=1] ${goto 180}[--datatype=HT --startday=2] ${goto 245}[--datatype=HT --startday=3] ${goto 317}[--datatype=HT --startday=4]

Offline

#5513 2013-06-11 12:35:49

ragamatrix
#! Junkie
From: Earth
Registered: 2012-12-05
Posts: 286

Re: Conky v1.9 Thread

I can now use these rings wich had xorg up ressources problems.
rings
The problem was that the script is abble to display 3 colors overlay:

{{0,0xFFAA00,1},{0.5,0xFF0000,1},{1,0x00AA00,1}}

And make xorg goes up with my old machine until 15 or 17% cpu usage; now it's 0.5 or 1.5%
The solution was to suppress one "layer" "color"

bg_colour1={{0.5,0xFFFFFF,0.6},{1,0xFFFFFF,0.1}},

Offline

#5514 2013-06-11 12:44:30

ragamatrix
#! Junkie
From: Earth
Registered: 2012-12-05
Posts: 286

Re: Conky v1.9 Thread

Find something interesting with xplanet:
Displaying planets .png with transparency background with this option: -transpng
And able to display witch one you want with conky or other ways
Exemple with saturn:
saturn

Last edited by ragamatrix (2013-06-11 12:45:52)

Offline

#5515 2013-06-11 14:29:27

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Well done my friend!  I love the presentation.
You are as addicted to conky as I am.

Ben fatto il mio amico!  Amo la presentazione.  cool
Tu sei come dipendente a conky come lo sono io.

**Conky & ConkyForecast Video** Part I & Part II - Italian
**Posta il tuo .conkyrc & png** - Ubuntu Italian Forum


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5516 2013-06-11 15:37:15

Deegan
Member
From: Italy Varese
Registered: 2011-11-19
Posts: 36

Re: Conky v1.9 Thread

## Sector11

big_smile    big_smile    big_smile    big_smile

Offline

#5517 2013-06-11 18:03:04

dgz
#! Junkie
Registered: 2011-11-22
Posts: 380

Re: Conky v1.9 Thread

Sector11 wrote:

@ dgz

OK I think I have something here:  All nine conkys are identical other than the first line after TEXT that shows the position.

All have gap-x|y settings:

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

and:

own_window_type normal

Margins are set to 50 for all sides:
http://s20.postimg.org/oj4e5vxc9/2013_06_10_19_26_28_1920x1080_Sector11.jpg

Top left obeys the margins.

Now change:

own_window_type normal

to

own_window_type override

and even that conky moves into place:
http://s20.postimg.org/u8kmq73ih/2013_06_10_19_37_06_1920x1080_Sector11.jpg

Here the test conkys in ~/margin-test along with a couple of scripts to start them.

Why the other seven conkys on the edge didn't obey the margins I have no idea... more research needed.  But when I run my daily conkys with those margins they ALL obey the space ... This is the Twilight Conky Zone

i'll give that a try later, cheers for investigating.

Offline

#5518 2013-06-13 19:42:21

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

Bought a Swiss Army Tank and re-vamped my right hand conky for something to do.

2013_06_13_16_26_50_1920x1080_Sector11.jpg

conky

# killall conky && conky -c /media/5/Conky/S11_Disk_Activity.conky &
###  Begin Window Settings  ##################################################
# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window yes with this one
# so double buffer won't be so big.
double_buffer yes
own_window 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 General Conky

### 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 965 ## width, height
maximum_width 270 ## width

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

alignment tr
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
#use_xft yes
#xftfont monofur:bold:size=12
font monofur:bold:size=12

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
#xftalpha 1

# Force UTF8? requires XFT ###
override_utf8_locale yes

## uppercase  default is no - uppercase alone sets it to "yes"
#uppercase
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 FF8C00 #255 140   0	DarkOrange
color3 7FFF00 #127 255   0	Chartreuse
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 00FFFF #  0 255 255	Cyan
color8 FFFF00 #255 255   0	Yellow
color9 FF0000 #255   0   0	Red
#####################################################  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 2048 #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

# Width for $top name value (default 15 characters)
top_name_width 8

## 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 200 0

## Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value
## if you use $image lots.		Set to 0 to disable the image cache.
#imlib_cache_size 0

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
#
## Above and After TEXT - After requires a composite manager or blinks.
#
lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#
## 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.2
# use: pre or post
#lua_draw_hook_post draw_bg 10 0 0 0 0 0x000000 0.2
#######################################################  End LUA Settings  ###

update_interval 1					# in seconds
TEXT
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}\
  ${font Dock 51:size=40}${color1}Sector${color}${font}\
${image /media/5/My_Images/Sector11_Avatar/S11_falldown3.png -p 200,0 -s 60x60}\
${image /media/5/Conky/images/EVE.png -p -5,65 -s 80x80}
${image /media/5/Conky/images/Wall.E.png -p 205,65 -s 80x80}
${color5}${font LED_Mono:size=30}${alignc}${time %T}${font}${color}
${alignc}${color6}Easter${color}
${alignc}${exec ncal -e}


${alignc}SU MO ${color6}${time %b %Y}${color} FR SA${image /media/5/Conky/images/See-thru_pad.png -p 37,143 -s 210x150}
${goto 60}${color}${execp LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 60}/g'}



${alignc}${color5}${kernel}${color}${image /media/5/Conky/images/steampunk_system_monitor_2.png -p 0,290}

          Distro${alignr 35}${color5}${execi 86400 lsb_release -is}${color}
           Version ${alignr 35}${color5}${execi 86400 lsb_release -rs}${color}
            Time On${alignr 35}${color5}${uptime_short}${color}



${image /media/5/Conky/images/SAMSUNG_32_LED.png -p 5,437 -s 270x238}${image /media/5/Conky/images/skyblue_1.png}\
 ${color5}Temperatures${alignr 25}CPU μm ${freq_g}${color}
 CPU ${color5}${platform f71882fg.2560 temp 1}${color}°\
  MB ${color5}${platform f71882fg.2560 temp 2}${color}°\
${alignr 18}${color5}1  ${color}|  ${color5}2  ${color}|  ${color5}3${color}
 GPU ${color5}${nvidia temp}${color}°\
  HD ${color5}${hddtemp /dev/sda}${color}°\
${alignr 10}${if_match ${cpu cpu1}<10}${color1}00${color5}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color1}0${color7}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}\
 | ${if_match ${cpu cpu2}<10}${color1}00${color5}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color1}0${color7}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}\
 | ${if_match ${cpu cpu3}<10}${color1}00${color5}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color1}0${color7}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}
${alignc}${color5}Avg CPU  % Usage ${if_match ${cpu cpu0}<10}${color1}00${color5}${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100}${color1}0${color7}${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}
${alignc}${color5}Disk Activity${color}
  Read   ${color5}${diskio_read /dev/sda}${goto 170}${color}Write ${color5}${diskio_write /dev/sda}${color}
 /Root   ${color5}${fs_size /}${goto 170}${color}Used${goto 220}${color5}${fs_used_perc /}%${color}
 /Home   ${color5}${fs_size /home}${goto 170}${color}Used${goto 220}${color5}${fs_used_perc /home}%${color}
  /M/5   ${color5}${fs_size /media/5}${goto 170}${color}Used${goto 220}${color5}${fs_used_perc /media/5}%${color}
   RAM   ${color5}${memmax}${goto 170}${color}Used${goto 220}${color5}${mem}
${alignc}${color5}Nvidia GPU${color}
 GPU ${color5}${nvidia gpufreq} ${color}MHz${alignr 15}MEM ${color5}${nvidia memfreq} ${color}MHz


${alignc}${cpubar cpu0 1,40} ${color5}Network Totals${color} ${cpubar cpu0 1,40}
${color5}${upspeed eth0}${color}${goto 77}< up ${cpubar cpu0 1,48} dn >${alignr 5}${color5}${downspeed eth0}${color}
${color5}rx ↓${goto 100}${color0}tx ↑${goto 190}${color5}Total
${alignc}${color}${exec date --date="0 day" | awk '{print $3" "$2" "$6}'}
${color5}${execpi 300 vnstat | grep "today" | awk '{print $2" "$3"\
${color0}${goto 100}"$5" "$6"\
${color5}${goto 190}"$8" "$9}'}
${alignc}${color}${execpi 3600 date --date="-1 day" | awk '{print $3" "$2" "$6}'}
${color5}${execpi 300 vnstat | grep "yesterday" | awk '{print $2" "$3"\
${color0}${goto 100}"$5" "$6 "\
${color5}${goto 190}" $8" "$9}'}
${alignc}${color}Current Week
${color5}${execpi 300 vnstat -w | grep "current week" | awk '{print $3" "$4 "\
${color0}${goto 100}" $6" "$7 "\
${color5}${goto 190}" $9" "$10}'}
${alignc}${color}Last Week
${color5}${execpi 300 vnstat -w | grep "last week" | awk '{print $3" "$4"\
${color0}${goto 100}" $6" "$7 "\
${color5}${goto 190}" $9" "$10}'}
${alignc}${color}Last 7 Days
${color5}${execpi 300 vnstat -w | grep "last 7 days" | awk '{print $4" "$5 "\
${color0}${goto 100}" $7" "$8 "\
${color5}${goto 190}" $10" "$11}'}
${alignc}${color}${time %b %Y}
${color5}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $3" "$4}'}\
${color0}${goto 100}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $6" "$7}'}\
${color5}${goto 190}${execi 300 vnstat -m | grep "`date +"%b %y"`" | awk '{print $9" "$10}'}

Warning:  my ~/.vnstatrc has been edited to change '%y to %y


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5519 2013-06-14 07:40:12

ragamatrix
#! Junkie
From: Earth
Registered: 2012-12-05
Posts: 286

Re: Conky v1.9 Thread

@Sector11Always in the pocket smile Nice pic !

Offline

#5520 2013-06-14 15:43:52

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

ragamatrix wrote:

@Sector11Always in the pocket smile Nice pic !

Yup, I got the "baby" Swiss Army knife with me all the time.  About the same size as the old Kingston Datatravelers are. big_smile

Won't leave home without it!


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5521 2013-06-14 17:57:32

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Conky v1.9 Thread

Very nice S11.. interesting use of the steampunk image that I never finished.
Thats on my long list of things to finish.

Offline

#5522 2013-06-14 18:36:06

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

falldown wrote:

Very nice S11.. interesting use of the steampunk image that I never finished.
Thats on my long list of things to finish.

That's yours!  I forgot where I got that, I will brand it now.  big_smile
2013_06_14_15_27_04_1920x1080_Sector11.jpg

Petro Dawg over on the Orange side asked for it as well when he saw it ... I'll let him know that you did it and re-up my branded version.  Thanks for some great art!

I did tell you you do good work didn't I?

I went looking after Petro Dawg asked for it and made some walls, with stuff I found ... one being:
2013_06_14_15_34_31_1920x1080_Sector11.jpg


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#5523 2013-06-14 22:03:18

tmq
#! Member
Registered: 2012-05-30
Posts: 84

Re: Conky v1.9 Thread

If you are running a compositing WM, use in conkyrc

own_window_argb_visual yes
own_window_argb_value 70 #some value in [0,255]
own_window_color fd2310 # some color
own_window_transparent no

or, use this lua script, which does not require a compositing manager.
From Sector11's post at pinguyos. The guy is everywhere big_smile big_smile.

Thanks, I'll have to try it out one of these days. Does this code have to be placed in a certain location?

Offline

#5524 2013-06-14 23:36:50

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky v1.9 Thread

tmq wrote:

If you are running a compositing WM, use in conkyrc

own_window_argb_visual yes
own_window_argb_value 70 #some value in [0,255]
own_window_color fd2310 # some color
own_window_transparent no

or, use this lua script, which does not require a compositing manager.
From Sector11's post at pinguyos. The guy is everywhere big_smile big_smile.

Thanks, I'll have to try it out one of these days. Does this code have to be placed in a certain location?

I use compton AND 'draw-bg.lua' because compton washes out the "images" when using argb:

2013_06_14_19_29_49_1920x1080_Sector11.jpg <<-- with argb & compton -- without argb & with compton-->> 2013_06_14_20_23_29_1920x1080_Sector11.jpg

A certain location - no!  but you need to call it in via the /path_to/ the script:

IF you use images in your conky and use compton use these settings for "window"

own_window yes
own_window_type normal
own_window_transparent yes  ## because I'm NOT using the argb settings
own_window_colour 000000 ## optional
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class Conky ## this is the default
own_window_title General Conky  ## optional

### 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

and ...

## Above and After TEXT - requires a composite manager or blinks.
##
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
# ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
#
##
## 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 20 0 0 0 0 0x000000 0.2
#lua_draw_hook_post draw_bg 20 0 0 0 0 0x000000 0.2
#
# TEXT
${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
##
#

Any questions just ask.

Last edited by Sector11 (2013-06-14 23:41:13)


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Be excellent to each other!

#5525 2013-06-17 09:42:17

Deegan
Member
From: Italy Varese
Registered: 2011-11-19
Posts: 36

Re: Conky v1.9 Thread

Hi boys  big_smile

I have changed the components of my pc

Scheda Madre AsRock Z77 Extreme4-M Soket 1155 DDR3 SATA3 USB3 MicroATX
VGA Sapphire Ati AMD Radeon HD 7950 with Boost Core 850/925MHz Memory GDDR5 5000MHZ 3GB 2xDVI HDMI DP

I don't now remember me that lace I must insert in the conky, to have the temperature of the mobo and that some vga...

deegan@deegan-precise:~$ sudo sensors-detect
[sudo] password for deegan: 
# sensors-detect revision 5984 (2011-07-10 21:22:53 +0200)
# System: To Be Filled By O.E.M. To Be Filled By O.E.M.
# Board: ASRock Z77 Extreme4-M

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): YES
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Nuvoton NCT6776F Super IO Sensors'                   Success!
    (address 0x290, driver `w83627ehf')
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): YES
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): YES
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Found unknown SMBus adapter 8086:1e22 at 0000:00:1f.3.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: Radeon i2c bit bus 0x90 (i2c-0)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x91 (i2c-1)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x92 (i2c-2)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x93 (i2c-3)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x94 (i2c-4)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x95 (i2c-5)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x49
Probing for `National Semiconductor LM75'...                No
Probing for `National Semiconductor LM75A'...               No
Probing for `Dallas Semiconductor DS75'...                  No
Probing for `National Semiconductor LM77'...                No
Probing for `Analog Devices ADT7410'...                     No
Probing for `Dallas Semiconductor DS1621/DS1631'...         No
Probing for `Maxim MAX6642'...                              No
Probing for `National Semiconductor LM73'...                No
Probing for `National Semiconductor LM92'...                No
Probing for `National Semiconductor LM76'...                No
Probing for `Maxim MAX6633/MAX6634/MAX6635'...              No
Probing for `NXP/Philips SA56004'...                        No
Probing for `SMSC EMC1023'...                               No
Probing for `SMSC EMC1043'...                               No
Probing for `SMSC EMC1053'...                               No
Probing for `SMSC EMC1063'...                               No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: Radeon i2c bit bus 0x96 (i2c-6)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus 0x97 (i2c-7)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon aux bus DP-auxch (i2c-8)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus ssc (i2c-9)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus vga (i2c-10)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus panel (i2c-11)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus dpc (i2c-12)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus dpb (i2c-13)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: i915 gmbus dpd (i2c-14)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: DPDDC-B (i2c-15)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: DPDDC-C (i2c-16)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: DPDDC-D (i2c-17)
Do you want to scan it? (YES/no/selectively): YES

Now follows a summary of the probes I have just done.
Just press ENTER to continue: YES

Driver `w83627ehf':
  * ISA bus, address 0x290
    Chip `Nuvoton NCT6776F Super IO Sensors' (confidence: 9)

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
w83627ehf
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)YES
Successful!

Monitoring programs won't work until the needed modules are
loaded. You may want to run 'service module-init-tools start'
to load them.

Unloading i2c-dev... OK
Unloading cpuid... OK

deegan@deegan-precise:~$
deegan@deegan-precise:~$ sensors
radeon-pci-0100
Adapter: PCI adapter
temp1:        +42.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +38.0°C  (high = +85.0°C, crit = +105.0°C)
Core 0:         +38.0°C  (high = +85.0°C, crit = +105.0°C)
Core 1:         +32.0°C  (high = +85.0°C, crit = +105.0°C)
Core 2:         +30.0°C  (high = +85.0°C, crit = +105.0°C)
Core 3:         +33.0°C  (high = +85.0°C, crit = +105.0°C)

deegan@deegan-precise:~$

These don't work... hmm  hmm

VGA: ${execi 8 aticonfig --odgt | grep 'Sensor' | cut -c43-47 | sed '/^$/d'}°C
MOBO. ${execi 20 sensors | grep "MB Temperature" | cut -d "+" -f2 | cut -c1-7 }

Thanks   big_smile    big_smile    big_smile

Last edited by Deegan (2013-06-17 09:47:42)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo