SEARCH

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

You are not logged in.

#7276 2014-03-28 20:24:31

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

Re: Conky v1.9 Thread

Joe90 wrote:

Got a bit of writing to do!

Looking forward to seeing it Joe.


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

Offline

Be excellent to each other!

#7277 2014-03-28 22:31:15

Copper0
#! CrunchBanger
Registered: 2013-07-02
Posts: 149

Re: Conky v1.9 Thread

Just an update for anyone using the nct6775 driver. I just performed an update to the 3.13-1 kernel. /sys/devices/platform/nct6775.xxx no longer gets filled. Running 'sensors' still provided me with the same info as before. I did find everything in /sys/class/hwmon/.

Last edited by Copper0 (2014-03-28 22:31:35)

Offline

#7278 2014-03-28 23:16:14

boisei0
#! CrunchBanger
From: Gaanderen, Netherlands
Registered: 2013-07-16
Posts: 193

Re: Conky v1.9 Thread

Crosspost from the SPAM Alert topic:

boisei0 wrote:

Just did another test with the filter and pushed it back to 4% false-positives. I'm willing to launch with that, however a whitelist based on usernames might be an idea as well. Will try to work that out before putting the system online.

Edit1: About to start the debugging on the server. Expect a running version within hours.
Edit2: Beta version up and running on http://hubsec.eu:8145. For now, it is a global spam counter. Will add a daily reset option to it tomorrow. Please note that it's still beta, so if the system crashes overnight, I'll fix it when I've time.

So build your Conky around it smile


YAWS (cli weather script with conkyForecast syntax) | Bitbucket | Github | Blog
Member of the Unofficial #! Emergency Tinfoil Hat Distribution Center
Emergency Tinfoil Hat Conky Alert System development team

Offline

#7279 2014-03-29 11:33:39

boisei0
#! CrunchBanger
From: Gaanderen, Netherlands
Registered: 2013-07-16
Posts: 193

Re: Conky v1.9 Thread

Using 'The official revised O#!ETHDC Emergency Tinfoil Hat Conky Alert System, V2.1' as a base system, I just made the following:

##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type normal
own_window_title ETHDC
# own_window_argb_visual yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
# default color 65667
default_color b5e59c
default_shade_color 000000
default_outline_color 828282
draw_graph_borders yes
alignment tr
gap_x 24
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

##############################################
#  Output
##############################################
TEXT
${execi 900 wget -q -O /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt http://hubsec.eu:8145/spam/ }\
${if_match ${execi 5 sed -n '1p' /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt} < 5}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color 17a013}SPAMCON 5

${font Andale Mono:size=11}$alignc Low Risk: 
$alignc Tinfoil Hats on Standby

${font Andale Mono:bold:size=11}${color 004fde}${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}
${else}${if_match ${execi 5 sed -n '1p' /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt} < 15}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color EBF706}SPAMCON 4

${font Andale Mono:size=11}$alignc Moderate Risk:
Take precautions. Tinfoil Hat 
use recommended for prolonged
exposure. Remain on Alert.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}
${else}${if_match ${execi 5 sed -n '1p' /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt} < 40}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color c84716}SPAMCON 3

${font Andale Mono:size=11}$alignc Elevated Threat:
Wear Tinfoil Hat when risk of
exposure is present. Limit any
nonessential forum use at night.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}
${else}${if_match ${execi 5 sed -n '1p' /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt} < 60}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color f00e0e}SPAMCON 2

${font Andale Mono:size=11}$alignc Severe Threat:
Wear Tinfoil Hat at all times.
Be prepared to seek shelter.
Avoid forum use at night. 
Exercise extreme caution.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}
${else}${if_match ${execi 5 sed -n '1p' /home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/ETHCAS.txt} >= 60}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color d5ebf1}SPAMCON 1

${font Andale Mono:size=11}$alignc Extreme Threat:
Seek fortified shelter.
Do not remove Tinfoil Hat.
Avoid forums at night & limit
nonessential daytime use.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

(Replace '/home/boisei0/Scripts-Snippets/lua/conkyrc/ETHDC/' with the path to your Conky and it's ready to run)

kWVAcFF.png

Last edited by boisei0 (2014-03-29 13:08:10)


YAWS (cli weather script with conkyForecast syntax) | Bitbucket | Github | Blog
Member of the Unofficial #! Emergency Tinfoil Hat Distribution Center
Emergency Tinfoil Hat Conky Alert System development team

Offline

#7280 2014-03-30 03:30:49

#!_828
#! Tinfoil Hat
From: Ohio, U. S. of A.
Registered: 2013-09-19
Posts: 1,244

Re: Conky v1.9 Thread

^Looks pretty cool. I've recently become aware of something that just didn't sit well with me in the ETHCAS, & I've modified it accordingly. The change is very minor & purely aesthetic, but it allows the look to remain more uniform across any variety of Conky setups. So without further ado, I hereby present the Emergency Tinfoil Hat Conky Alert System v2.2 smile

$alignr${color 004fde}${hr}
${if_match ${execi 5 sed -n '1p' /home/mike/bin/Conky/ETHCAS.txt} == 5}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color 17a013}SPAMCON 5

${font Andale Mono:size=11}$alignc Low Risk: 
$alignc Tinfoil Hats on Standby

${font Andale Mono:bold:size=11}${color 004fde}${hr}
ETHCAS Version: $alignr 2.2
${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

${else}${if_match ${execi 5 sed -n '1p' /home/mike/bin/Conky/ETHCAS.txt} == 4}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color EBF706}SPAMCON 4

${font Andale Mono:size=11}$alignc Moderate Risk:
Take precautions. Tinfoil Hat 
use recommended for prolonged
exposure. Remain on Alert.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
ETHCAS Version: $alignr 2.2
${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

${else}${if_match ${execi 5 sed -n '1p' /home/mike/bin/Conky/ETHCAS.txt} == 3}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color c84716}SPAMCON 3

${font Andale Mono:size=11}$alignc Elevated Threat:
Wear Tinfoil Hat when risk of
exposure is present. Limit any
nonessential forum use at night.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
ETHCAS Version: $alignr 2.2
${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

${else}${if_match ${execi 5 sed -n '1p' /home/mike/bin/Conky/ETHCAS.txt} == 2}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color f00e0e}SPAMCON 2

${font Andale Mono:size=11}$alignc Severe Threat:
Wear Tinfoil Hat at all times.
Be prepared to seek shelter.
Avoid forum use at night. 
Exercise extreme caution.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
ETHCAS Version: $alignr 2.2
${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

${else}${if_match ${execi 5 sed -n '1p' /home/mike/bin/Conky/ETHCAS.txt} == 1}${font Andale Mono:bold:size=11}Alert Level:${alignr}${color d5ebf1}SPAMCON 1

${font Andale Mono:size=11}$alignc Extreme Threat:
Seek fortified shelter.
Do not remove Tinfoil Hat.
Avoid forums at night & limit
nonessential daytime use.

${font Andale Mono:bold:size=11}${color 004fde}${hr}
ETHCAS Version: $alignr 2.2
${hr}
Conky Version: $alignr$conky_version
${hr}
${hr}

Those who would trade essential liberty for temporary security deserve neither
Member of the (Un)Official #! Emergency Tinfoil Hat Distribution Center
Emergency Tinfoil Hat Conky Alert System development team

Offline

#7281 2014-03-30 07:06:05

colorpixel
#! CrunchBanger
From: Germany
Registered: 2013-11-06
Posts: 118

Re: Conky v1.9 Thread

Here are my conkys from screenshot-thread

###################################
# conky_time_by c2p 2014 @ debian #
###################################
own_window yes
own_window_transparent yes
own_window_class conky-semi
own_window_type override ## normal, conky, override, desktop
own_window_title conky ## conky, normal, override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
use_xft yes
xftfont sans:size=10
xftalpha 0.8
update_interval 0.5
total_run_times 0
double_buffer yes
no_buffers yes
minimum_size 450 40
maximum_width 450
maximum_length 260
alignment tl
draw_shades no
draw_outline no
draw_borders no
gap_x 30
gap_y 50
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
show_graph_scale no
show_graph_range no
#text_buffer_size 1024
#color
default_color 48483E #845329
color2 7C0002 #323232
color3 7C7D6D #494949
short_units yes
pad_percents 3
#${voffset -35} ${voffset 25}${offset -100}${color #21323C}

TEXT
${font bonvenocf:size=100} ${time %H}${color3}:${color}${time %M}${font} ${color}
${voffset 20}${color3} ${offset 140} ${font bonvenocf:size=50} ${time %d} ${font} ${color}
${font cuprum:size=12} ${offset 235} ${voffset -40} ${time %B} ${time %Y} ${font} ${color}
${font cuprum:size=14} ${offset 237} ${time %A} ${font} ${color}
#######################################
# conky_mini_sys by c2p 2014 @ debian #
#######################################
own_window yes
own_window_transparent yes
own_window_class conky-semi
own_window_type override ## normal, conky, override, desktop
own_window_title conky ## conky, normal, override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background yes
use_xft yes
xftfont sans:size=10
xftalpha 0.8
update_interval 0.5
total_run_times 0
double_buffer yes
no_buffers yes
minimum_size 140
maximum_width 140
maximum_length 260
alignment tr
draw_shades no
draw_outline no
draw_borders no
gap_x 10
gap_y 90
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
show_graph_scale no
show_graph_range no
#text_buffer_size 1024
#colour
default_color 48483E
color1 7C0002
#Visitor TT2 BRK | ${pre_exec whoami}
TEXT  
${offset 50}${font cuprum:size=10}${color 48483E}  

${image /home/c2p/.conky/png/trash.png -p 10,33 -s 40x40}
${offset 50}${voffset -6}${if_match ${execi 60 find ~/.local/share/Trash/files -type f | wc -l}<=0}leer ${endif}${if_match ${execi 60 find ~/.local/share/Trash/files -type f | wc -l}>=1} voll $else $endif
${offset 50}${execi 60 find ~/.local/share/Trash/files -type f | wc -l}
${image /home/c2p/.conky/png/up.png -p 16,85 -s 28x28}
${color1}${offset 50}${uptime_short}${color}
${offset 50}${execi 28800 /home/c2p/.debupdates.sh}



${image /home/c2p/.conky/png/ram.png -p 16,160 -s 28x28}
${offset 50}${voffset -16}$kernel
${offset 50}ram ${memperc}%  ${mem}


${image /home/c2p/.conky/png/cpu.png -p 16,220 -s 28x28}
${offset 50}${voffset -16}cpu  ${cpu cpu1}% 
${offset 50}temp  ${hwmon temp 1}°C


${image /home/c2p/.conky/png/home.png -p 16,280 -s 28x28}
${offset 50}${voffset -16}root  ${fs_free /}
${offset 50}home  ${fs_free /home}


${image /home/c2p/.conky/png/net.png -p 16,340 -s 28x28}
${offset 50}${voffset -13}dwn  ${downspeed eth0} /s 
${offset 50}up  ${upspeed eth0} /s

Iconset for conky_mini_sys can be found here

#################################################
# conky_weather_horizontal by c2p 2014 @ debian #
#################################################
background yes
update_interval 1
double_buffer yes
no_buffers yes

# Window specifications #
gap_x 0
gap_y 140
minimum_size 260 40
maximum_width 260
maximum_length 260
own_window yes
own_window_transparent yes
own_window_class conky-semi
own_window_type override ## normal, conky, override, desktop
own_window_title conky ## conky, normal, override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#border_margin 0
#border_inner_margin 0
#border_outer_margin 0
alignment bm

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

# Text settings #
use_xft yes
xftalpha 0
xftfont Open Sans Light:size=10

override_utf8_locale yes

imlib_cache_size 0

# Color scheme #
default_color 48483E #087B20 #E5B5AF #2D100C
color2 7C0002 #323232 #626262 #A9A9A9 #D8D3CD #BB0D00 #A83C0E

TEXT
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=665684&u=c" -o ~/.cache/weather.xml}
${font cuprum:size=11}${color2}${goto 7}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font} ${color} ${font play:size=10}${goto 55}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${goto 110}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${goto 165}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°${goto 220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}° ${font} ${color}
${voffset -10}
${font cuprum:size=9}${goto 75}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${goto 132}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${goto 187}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°${goto 242}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°
${font cuprum:size=10}${voffset 10}
${goto 7}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}${goto 55}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${goto 112}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}${goto 166}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4' | tr '[a-z]' '[A-Z]'}${goto 220}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5' | tr '[a-z]' '[A-Z]'}
${font cuprum:size=10}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 0,45 -s 24x24}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 50,45 -s 24x24}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 105,45 -s 24x24}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 160,45 -s 24x24}${execi 300 cp -f ~/.conky-weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 215,45 -s 24x24} ${font} ${color}

The weather-icon-set can be found here. Be sure you have curl installed!

####################################
# conky_radio by c2p 2014 @ debian #
####################################
background yes
use_xft yes
xftfont play:size=10
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_class conky-semi
own_window_type override ## normal, conky, override, desktop
own_window_title conky ## conky, normal, override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 50
maximum_width 250
maximum_length 250
text_buffer_size 2048
imlib_cache_size 0
draw_shades no
draw_outline no
draw_borders no
border_outer_margin 10
alignment bl
gap_x 7
gap_y 15
no_buffers yes
uppercase no
override_utf8_locale yes
# ${voffset -4}${color 817E79}${stippled_hr 2}${color #21323C}
##############################################
#  Output                                    #
##############################################
TEXT
${color #48483E}${font cuprum:size=9}${execi 15 qdbus net.sourceforge.radiotray /net/sourceforge/radiotray net.sourceforge.radiotray.getCurrentRadio}${color}${font}
${voffset 3}${color #48483E}${font cuprum:size=10}${execi 15 qdbus net.sourceforge.radiotray /net/sourceforge/radiotray getCurrentMetaData| fold -s -w35}${color}${font}

Radio-conky needs qdbus.

########################################
# conky_workspace by c2p 2014 @ debian #
########################################
imlib_cache_size 0
use_xft yes
xftfont Droid Sans :size=25
xftalpha 0.9
uppercase no
override_utf8_locale yes
update_interval 1.0
total_run_times 0
background yes
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
no_buffers yes
draw_shades no
draw_outline no
draw_borders no
default_color 48483E #626262 #087B20 #888888 #C54380 #A3635A
color1 7C0002 #A9A9A9 #01D9FD #49029C #49029C #C51518 #BB0D00  #E5B5AF
alignment br
gap_x 7
gap_y 15
default_bar_size 25,25

TEXT
${if_match ${desktop}==1}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}•${color}
#${if_match ${desktop}==1}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}${execbar echo 100}${color}
#${if_match ${desktop}==1}${color1}${endif}1${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}2${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}3${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}4${color}

+ Where there's a shell, there's a way +

Offline

#7282 2014-03-30 17:27:30

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

Re: Conky v1.9 Thread

colorpixel wrote:

Here are my conkys from screenshot-thread

Nice stuff!  Thank you.


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

Offline

#7283 2014-03-30 17:38:09

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

Re: Conky v1.9 Thread

@ boisei0 & #!_828

And they're off!
SPAMCON 3 by boisei0 takes an early lead and is deepening the distance as I speak!
#!_828 has yet to identify which SPAMCON he's riding but the Tin Foil Hat certainly looks impressive ...

... and into the first corner it's SPAMCON3 by 6 lengths ...
#!_828 keeps having to adjust his TFH! ... that's probably slowing him down ...

O:) O:) O:)

OK back to the conkys ... EXCELLENT work boisei0, #!_828 ... really really nice!

Last edited by Sector11 (2014-03-30 17:39:59)


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

Offline

#7284 2014-04-03 17:29:55

boisei0
#! CrunchBanger
From: Gaanderen, Netherlands
Registered: 2013-07-16
Posts: 193

Re: Conky v1.9 Thread

Where it all started... 2014_03_07_14_53_41_1920x1080_Sector11.jpg
Just updated YAWS to 1.5.3, will update it's forum post in a couple of minutes. Changes: a few bugfixes and SPAMCON support.
Add [--datatype=SC] to your template to get the alert level.

${time %T} | [--datatype=CN]
${color4}${font monospace:bold:size=9}[--datatype=CC]${font}${color}
${voffset 3}${color3}Wind: ${color}[--datatype=WA]([--datatype=WD]) ${color3}@ ${color}[--datatype=WS --beaufort]${goto 235}${color3}FL: ${color}[--datatype=LT]${image [--datatype=WI] -p 15,45 -s 48x48}
${goto 100}${font Zekton:size=20}${color}${voffset 10}[--datatype=HT]${font}${voffset -15}${goto 235}${color3}Max: ${color}[--datatype=HT --startday=0]
${goto 235}${color3}Min: ${color}[--datatype=LT --startday=0]
${voffset 5}${goto 235}${color3}Hum: ${color}[--datatype=HM]
${goto 235}${color3}DP: ${color}[--datatype=DP]
${color3}Pressure: ${color}[--datatype=BR] - [--datatype=BD]${color}
${color3}Moon Phase: ${color}[--datatype=MP]${color}
${voffset 5}    ${color3}Sunrise:${color} [--datatype=SR]
     ${color3}Sunset:${color} [--datatype=SS]
    ${color3}Daylight:${color} [--datatype=DL]
${voffset 3}${color3}Alert Level:${color} SPAMCON [--datatype=SC]

SpWBY7J.png


YAWS (cli weather script with conkyForecast syntax) | Bitbucket | Github | Blog
Member of the Unofficial #! Emergency Tinfoil Hat Distribution Center
Emergency Tinfoil Hat Conky Alert System development team

Offline

#7285 2014-04-03 20:05:55

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

Re: Conky v1.9 Thread

boisei0 wrote:

HEY  I remember that ... just colour coded the UVI output for a sample  big_smile

How it's grown ...

You should have YAWS in your signature. I had to StartPage it ... to find it.   wink


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

Offline

#7286 2014-04-04 15:00:51

lionhead
#! Junkie
From: Dagobah / Germany
Registered: 2011-01-22
Posts: 459

Re: Conky v1.9 Thread

'the nasa - image of the day' looks better now: http://postimg.org/image/811nbk2d7/

is it possible to display a colored border? this is sometimes very usesful. it looks a bit stupid when the nasa shows a dark photo while you have a dark wallpaper.

Offline

#7287 2014-04-04 16:27:38

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

^ this is pretty easy, depending on how fancy you want your border of course,
just set a color, and draw a rectangle based on the image coordinates and size

if you want rounded corners then it takes a bit more calculation smile

Offline

#7288 2014-04-05 05:23:13

Dobbie03
Resident Metaller
From: New Zealand
Registered: 2009-08-15
Posts: 1,591

Re: Conky v1.9 Thread

Ok weird stuff happening with conky.  I have a conky script using curl for weather.  I have dark weather icons in my Documents folder which I have directed conky to use but for some reason conky keeps using a white icon even though I don't even have them installed.

I am totally confused, I have emptied my .cache folder of the weather icons, killed conky, restarted the pc and still the same icons,  If someone could please help, his is my config, let me know if you need more.

use_xft yes
xftfont 80:size=8
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_title conky
own_window_transparent yes
own_window_color 000000
own_window_argb_visual yes
own_window_argb_value 155
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_page
own_window_class conky
double_buffer yes
minimum_size 275 5
maximum_width 550
draw_shades no
draw_graph_borders no
default_color 454545
alignment top_left
gap_x 4
gap_y 30
no_buffers yes
uppercase no
override_utf8_locale yes


TEXT
\
# Various images #
${execi 300 curl -s "http://weather.yahooapis.com/forecastrss?w=2348079&u=c" -o ~/.cache/weather.xml}
\
# The name of the days #
\
${voffset 65}${font Helvetica Neue:weight=Thin:pixelsize=14}${alignc 90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}
${font Helvetica Neue:weight=Thin:pixelsize=14}${voffset -17}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}
${font Helvetica Neue:weight=Thin:pixelsize=14}${voffset -17}${alignc -90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}
\
# The temperatures #
\
${font Helvetica Neue:weight=Thin:pixelsize=14}${alignc 90}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}
${voffset -17}${font Helvetica Neue:weight=Thin:pixelsize=14}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}° / ${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°
${voffset -17}${alignc -90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}° / ${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color}
\
# The icons of the forecast and condition #
\
${execi 300 cp -f /home/dobbie/Documents/weather-icons/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 27,40 -s 32x32}\
${execi 300 cp -f /home/dobbie/Documents/weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 118,40 -s 32x32}\
${execi 300 cp -f /home/dobbie/Documents/weather-icons/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 209,40 -s 32x32}${font}\

Offline

#7289 2014-04-05 05:30:34

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

^ can you post a screenshot of the white icons?  Has anything changed since they were working properly that might coincide with the white icons?

What happens if you comment out the argb setting lines?

Last edited by mrpeachy (2014-04-05 05:32:24)

Offline

#7290 2014-04-05 05:56:30

Dobbie03
Resident Metaller
From: New Zealand
Registered: 2009-08-15
Posts: 1,591

Re: Conky v1.9 Thread

This is what happens when I # the ARGB:

selection0021.png

And this is the original:

selection0030.png

This is a brand new script, first time using it.  I'm using Gnome Shell 3.10 by the way.

EDIT:  This seems to be the issue I'm having http://sourceforge.net/p/conky/bugs/439/.  Something about imlib2 images not showing up.

EDIT:  If I change the ARGB settings to this:

own_window_argb_visual yes
own_window_argb_value 255
own_window_colour ffffff

I get this result:

selection0040.png

I can't quite get the background to be 100% transparent.

Last edited by Dobbie03 (2014-04-05 07:03:21)

Offline

#7291 2014-04-05 12:30:43

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

Re: Conky v1.9 Thread

Dobbie03 wrote:

EDIT:  If I change the ARGB settings to this:

own_window_argb_visual yes
own_window_argb_value 255
own_window_colour ffffff

I get this result:

http://en.zimagez.com/miniature/selection0040.png

I can't quite get the background to be 100% transparent.

Did you set "own_window_transparency" to no - or comment it out?

This 'should' give conky the 'true transparency' however the images don't work, defeating your purpose.

This is a conky problem that's been a known issue for a long time, composite managers and images ... check out what dk75 wrote about it.

own_window yes
own_window_type override
#   own_window_argb_visual yes <--- no ARGB visuals
#   own_window_argb_value 100  <--- no ARGB visuals
own_window_transparent yes
#own_window_colour black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_class Conky
own_window_title ConkyTest

It's been a problem for XFCE users and the "built in" composite manager, and GNOME3 has adopted a built in composite manager (mutt) so picking up the same problems.

From what I've read there doesn't seem to be a way to turn compositor off in GNOME3. Mind you it was a quick search.
The BIG problem here is how GNOME3 now does backgrounds ... on the first layer as Krzysztof Duchnowski said in the first Discussion post in the link you gave.

The problem there is, you will get the black again as that is the "root window" - no wall paper.

OpenBox with compton has the same type of problem ... it washes out images but it can be turned off for specific 'window classes'.  If you can't do that in GNOME3 I see a problem.

And according to wikipiedia that may be the problem GNOME Shell (italics are mine)

Reception
See also: Controversy over GNOME 3

GNOME Shell has received mixed reviews: It has been criticized for a variety of reasons, mostly related to design decisions and reduced user control over the environment. For example, users in the free software community have raised concerns that the planned tight integration with Mutter will mean that users of GNOME Shell will not be able to switch to an alternative window manager without breaking their desktop. In particular, users might not be able to use Compiz with GNOME Shell while retaining access to the same types of features that older versions of GNOME allowed.[23]

Reviews have generally become more positive over time, with upcoming releases addressing many of the annoyances reported by users.[24] [25]

If I may make a few suggestions

  1. keep that conky as a backup

  2. make an exact copy to test with.

  3. get another weather conky that uses 'fonts' instead of images running with true argb transparency to have a 'working' weather conky on your desktop as you test this fully. See Teo's scripts in my sig.

In a nutshell:

  1. the washed out images are a composition manager problem within conky, mutt in GNOME3 in your case

  2. the black background is a conky problem due to pusedo-transparency using the 'root' window

Last edited by Sector11 (2014-04-05 12:32:33)


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

Offline

#7292 2014-04-05 14:44:22

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

I was thinking about a post in the forum about how complete conky configs posted in this thread are so spread out
Perhaps I could start to archive them in a post, this post, and have the link somewhere to hand
Not sure how i feel about going through the thread, but new, complete setups I could grab and post the scrot and the post link

If anyone has a complete setup they have seen and know where to get it, let me know!
have to see how well i do LOL

Last edited by mrpeachy (2014-04-05 14:44:34)

Offline

#7293 2014-04-05 15:15:27

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

or maybe start a new complete conky archive thread
have done so here
http://crunchbang.org/forums/viewtopic.php?id=33811
intention is this
"Keep all conky discussion to the main thread.
This is intended as an archive of links only"

Last edited by mrpeachy (2014-04-05 16:17:48)

Offline

#7294 2014-04-05 16:18:07

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

Re: Conky v1.9 Thread

mrpeachy wrote:

I was thinking about a post in the forum about how complete conky configs posted in this thread are so spread out
Perhaps I could start to archive them in a post, this post, and have the link somewhere to hand
Not sure how i feel about going through the thread, but new, complete setups I could grab and post the scrot and the post link

If anyone has a complete setup they have seen and know where to get it, let me know!
have to see how well i do LOL

One problem with that is "the post" would soon get to be so far back in the thread - new users wouldn't find it easily.

I though of a page at CPS once, but soon realized that that would quickly grow well beyond the usefulness of a single page, even thumbnails would slow down a connection if there were a lot of them on the page.

I remember once trying to 'bookmark' my conkys over at the Ubuntu forums - what a chore that was, and that wasn't making thumbs or anything, just bookmarked and just mine.

However, if you want to try, may I make a suggestion to go backwards from here .. get the most current and work to older conkys that 'may not' work as conky has been updated, new dependencies etc etc.

Get the links like boisei0 suggested here using the post method near the bottom.

If you want to start, I'll help.  I'll start at page 200 here and work up ... putting everything in a text file something like this:

[url=http://crunchbang.org/forums/viewtopic.php?pid=297852#p297852]#4988 - kroey - modified default #! conky[/url]
[url=http://crunchbang.org/forums/viewtopic.php?pid=298464#p298464]#4995 - lwfitz - dual vertical conkys[/url]

and sending the text file to you every, lets say week, for inclusion in "the list" wherever it goes.

Also - do you include full conkys - but the poster was asking how to modify it ... like Satoru?

mrpeachy wrote:

or maybe start a new complete conky archive thread

Been there, talked about that - I doubt you'll see that happen.
People will start asking questions about a specific conky and next thing you know, two support threads.

We had monthly threads ... they are buried in here someplace now BUT ... they are listed on Conky PitStop

lol  lol  did you know:

mrpeachy does supper stuff with Lua

I'll have my steak.lua rare please!  lol  lol

Last edited by Sector11 (2014-04-05 16:22:39)


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

Offline

#7295 2014-04-05 16:30:29

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Sector11 wrote:
mrpeachy wrote:

I was thinking about a post in the forum about how complete conky configs posted in this thread are so spread out
Perhaps I could start to archive them in a post, this post, and have the link somewhere to hand
Not sure how i feel about going through the thread, but new, complete setups I could grab and post the scrot and the post link

If anyone has a complete setup they have seen and know where to get it, let me know!
have to see how well i do LOL

One problem with that is "the post" would soon get to be so far back in the thread - new users wouldn't find it easily.

I though of a page at CPS once, but soon realized that that would quickly grow well beyond the usefulness of a single page, even thumbnails would slow down a connection if there were a lot of them on the page.

I remember once trying to 'bookmark' my conkys over at the Ubuntu forums - what a chore that was, and that wasn't making thumbs or anything, just bookmarked and just mine.

However, if you want to try, may I make a suggestion to go backwards from here .. get the most current and work to older conkys that 'may not' work as conky has been updated, new dependencies etc etc.

Get the links like boisei0 suggested here using the post method near the bottom.

If you want to start, I'll help.  I'll start at page 200 here and work up ... putting everything in a text file something like this:

[url=http://crunchbang.org/forums/viewtopic.php?pid=297852#p297852]#4988 - kroey - modified default #! conky[/url]
[url=http://crunchbang.org/forums/viewtopic.php?pid=298464#p298464]#4995 - lwfitz - dual vertical conkys[/url]

and sending the text file to you every, lets say week, for inclusion in "the list" wherever it goes.

Also - do you include full conkys - but the poster was asking how to modify it ... like Satoru?

mrpeachy wrote:

or maybe start a new complete conky archive thread

Been there, talked about that - I doubt you'll see that happen.
People will start asking questions about a specific conky and next thing you know, two support threads.

We had monthly threads ... they are buried in here someplace now BUT ... they are listed on Conky PitStop

lol  lol  did you know:

mrpeachy does supper stuff with Lua

I'll have my steak.lua rare please!  lol  lol

yes, that is the danger, I can repost any help posts in the main thread and try and keep discussion away in the archive thread
i have already started going backwards as you can see in the first post here
http://crunchbang.org/forums/viewtopic.php?id=33811 smile

your help would be greatly appreciated!

Last edited by mrpeachy (2014-04-05 16:31:03)

Offline

#7296 2014-04-05 16:33:55

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

Re: Conky v1.9 Thread

mrpeachy wrote:

or maybe start a new complete conky archive thread
have done so here
http://crunchbang.org/forums/viewtopic.php?id=33811
intention is this
"Keep all conky discussion to the main thread.
This is intended as an archive of links only"

Already with posts #3 and #4 the final:

"Keep all conky discussion to the main thread.
This is intended as an archive of links only"

is upset.

Don't get me wrong.  I liked the two thread approach a lot:
My Conky Config - Archive
Conky Help - Archive
it's just that they both became support threads.

And as the last page of My Conky Config shows - I'm a guilty as anyone, and probably more so.

Last edited by Sector11 (2014-04-05 16:35:56)


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

Offline

#7297 2014-04-05 16:41:41

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

Re: Conky v1.9 Thread

mrpeachy wrote:
Sector11 wrote:

We had monthly threads ... they are buried in here someplace now BUT ... they are listed on Conky PitStop

lol  lol  did you know:

mrpeachy does supper stuff with Lua

I'll have my steak.lua rare please!  lol  lol

yes, that is the danger, I can repost any help posts in the main thread and try and keep discussion away in the archive thread
i have already started going backwards as you can see in the first post here
http://crunchbang.org/forums/viewtopic.php?id=33811 smile

your help would be greatly appreciated!

Consider it done ... I'll start tomorrow or later tonight ... I have to run now ...


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

Offline

#7298 2014-04-05 16:44:36

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Sector11 wrote:

"Keep all conky discussion to the main thread.
This is intended as an archive of links only"

Already with posts #3 and #4 the final:
"Keep all conky discussion to the main thread.
This is intended as an archive of links only"
is upset.

LOL - yes indeed, this was before I figured out what do do with the thread  big_smile

Offline

#7299 2014-04-05 17:23:57

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

falldown wrote:

going through th thread back wards and came across this!

someone go grab falldown, drag him to a computer and make him post the code and images!  big_smile   big_smile

fabulous

Offline

Help fund CrunchBang, donate to the project!

#7300 2014-04-05 17:29:02

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: Conky v1.9 Thread

Sector11 wrote:

My new look!
http://s20.postimg.org/gwlqkbbbd/2013_11_02_17_06_35_1920x1080_Sector11.jpg

11 images, an awk script by dk75 (calendar) 3 lua scripts; draw-bk.lua (a CCCC thing), v9000 lua {weather} by mrpeachy and easysid's Mechanical Clock.  big_smile


do you have the codes for the clock and right side?

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