Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Post hier je .conkyrc plus een screenshot ;) 2013 V.C.  (gelezen 200726 keer)

Offline tabasco

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #450 Gepost op: 2012/02/25, 21:13:00 »

Deze is nog niet helemaal uit ontwikkeld, zie deze ubuntu-nl thread voor meer info, of help mee...

De bedoeling is dat om de vijf minuten de tijd in tekst wordt geschreven, en tussendoor voor en achtervoegsels zoals: "bijna", "net" en "net geweest"...

Hier het Conky configuratiebestand:
Code: (.conkyrc) [Selecteer]
#!/usr/bin/conky -d -c
## .conkyrc configuration
alignment bottom_left
background yes
#border_margin 20
border_width 1
color0 555555
color1 FCAF3E
color2 2a2a2a
color3 a82553
color4 5e1014
color5 64574e
color6 2a2a2a
color7 8888CC
color8 9d9c61
color9 525276
cpu_avg_samples 2
default_color ffffff
default_outline_color 000000 # Black
default_shade_color 000000 # Black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 40
gap_y 30
max_specials 1024
max_user_text 10000
maximum_width 1000
minimum_size 1000
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour 000000 # Black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal l
pad_percents 2
short_units yes
stippled_borders 7
text_buffer_size 8000
total_run_times 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes
xftalpha 1
xftfont Freesans:pixelsize=9

TEXT

${font Zegoe Light - U:pixelsize=32}${exec python ~/.scripts/testtijd.py}${font}
${font Zegoe Light - U:pixelsize=20} ${time %A} - ${time  %d %B, %Y}${font}

en het Python script: (edit: 2011/02/25 23:37)
Code: (testtijd.py) [Selecteer]
#!/usr/bin/python
#!/usr/bin/python
# testtijd.py (Dutch)

import time

Hours = int(time.strftime('%I'))
minute = int(time.strftime('%M'))

TextHours = [' een', ' twee', ' drie', ' vier', ' vijf', ' zes', ' zeven', ' acht', ' negen', ' tien', ' elf', ' twaalf', ' een']

if minute>19:
    TextHour = TextHours[Hours]
else:
    TextHour = TextHours[Hours-1]

TextMins = [' vijf over', ' tien over', ' kwart over', ' tien voor half', ' vijf voor half', ' half', ' vijf over half', ' tien over half', ' kwart voor', ' tien voor', ' vijf voor']
TextMin = TextMins[int(minute / 5 -1)]

if minute == 00:
print ("Het is") + TextHour + (" uur precies")
elif minute < 5 > 00 :
print ("Het is") + TextHour + (" uur geweest")
elif minute > 5:       
print ("Het is") + TextMin + (TextHour)
« Laatst bewerkt op: 2012/02/25, 23:37:23 door tabasco »

Offline h2o

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #451 Gepost op: 2012/02/25, 22:18:11 »

Ik ben wel geïnteresseerd in die wallpaper. Waar kan ik die ophalen? Alvast bedankt.
Werk laptops + werkstation: Debian Testing
Privé laptops: Debian Testing/Unstable
Test laptop: Diverse andere Linux distribities
Chromebooks: ChromeOS Flex

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #452 Gepost op: 2012/02/25, 22:56:12 »


Grappig; ik had zo'n grove-tijdscript een week geleden gemaakt. Al is die van mij wel iets meer met de Franse slag geschreven. :D

Code: (.conkyrc) [Selecteer]
#### Conky settings
update_interval 1
alignment tr
double_buffer yes
no_buffers yes

#### Graphics settings
draw_shades no
use_xft yes
xftfont Ubuntu:size=12
override_utf8_locale yes
xftalpha 0.7

#### Window settings
own_window yes
own_window_type desktop
own_window_transparent no
own_window_hints undecorated,below,skip_pager,skip_taskbar

TEXT
${font Ubuntu:size=40}${exec python ~/.scripts/conky.py}
${font Ubuntu:size=10}${color ffffff}
${hr 1}
Datum ${alignr}${time %d-%m-%Y}
${hr 1}
Processor${alignr} ${cpu cpu0}%
Belasting ${alignr} ${loadavg 1}, ${loadavg 2}, ${loadavg 3}
Werkgeheugen${alignr} $mem/$memmax
${hr 1}
Kabel${alignr}${addr eth0}
Draadloos${alignr}${addr wlan0}
${hr 1}
Luisterend naar: ${exec audtool --current-song}
Tijd: ${exec audtool --current-song-length}
${hr 1}

Code: (~/.scripts/conky.py) [Selecteer]
#!/usr/bin/python
from time import strftime

hour =  strftime('%I')
minute = int(strftime('%M'))

hour_list = ['een', 'twee', 'drie', 'vier', 'vijf', 'zes', 'zeven', 'acht', 'negen', 'tien', 'elf', 'twaalf', 'een']
hour_dict = {'00': 'twaalf', '01': 'een', '02': 'twee', '03': 'drie', '04': 'vier', '05': 'vijf', '06': 'zes', '07': 'zeven', '08': 'acht', '09': 'negen', '10': 'tien', '11': 'elf'}

if minute == 58 or minute == 59:
print str(hour_list[int(hour)]) + " uur"
elif minute == 0 or minute == 1 or minute == 2:
print str(hour_dict[hour]) + " uur"
elif minute >= 3 and minute <= 7:
print "vijf over " + hour_dict[hour]
elif minute >= 8 and minute <= 11:
print "tien over " + hour_dict[hour]
elif minute >= 13 and minute <= 17:
print "kwart over " + hour_dict[hour]
elif minute >= 18 and minute <= 22:
print "twintig over " + hour_dict[hour]
elif minute >= 23 and minute <= 27:
print "vijf voor half " + hour_list[int(hour)]
elif minute >= 28 and minute <= 32:
print "half " + hour_list[int(hour)]
elif minute >= 33 and minute <= 37:
print "vijf over half " + hour_list[int(hour)]
elif minute >= 38 and minute <= 42:
print "twintig voor " + hour_list[int(hour)]
elif minute >= 43 and minute <= 47:
print "kwart voor " + hour_list[int(hour)]
elif minute >= 48 and minute <= 52:
print "tien voor " + hour_list[int(hour)]
else: # vijf voor
print "vijf voor " + hour_list[int(hour)]

Edit: Pythonscript aangepast, bleek een foutje in te zitten.
« Laatst bewerkt op: 2012/02/26, 08:19:34 door Stefan de Vries »
Bezoek ook eens de Ubuntu NL IRC-kanalen! |

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #453 Gepost op: 2012/04/05, 21:34:12 »
#!/usr/bin/conky -d -c
# The .conkyrc configuration for Conky-Joey
alignment top_left
background no
cpu_avg_samples 2
default_color ffffff

double_buffer yes
draw_borders no
draw_graph_borders no

gap_x 615
gap_y 140
max_specials 1024
max_user_text 10000
maximum_width 1600
minimum_size 175
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour FFFFFF # Srsly, there is no fscking need to touch this
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager #Unless you have super Dalek power don't touch any of these variables!
own_window_transparent yes  # Don't get anywhere near that, NO REALLY DON'T!
own_window_type override # Do not touch this unless you've totally lost it!
pad_percents 2
short_units yes
stippled_borders 0
text_buffer_size 8000
total_run_times 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes

TEXT
${font Geosans Light:pixelsize=36}${time %H:%M}${font}
  ${font Satellite:pixelsize=26}${time %A} I ${time  %B %d, %Y}${font}
  ${font Zegoe Light:pixelsize=26}POWER: ${battery_percent BAT1}%  ROOT: ${fs_used /}  DATA: ${fs_used /media/Data}${font}
$kernel

${color slate grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}%
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}%
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}%
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}%
${font style=Bold}${color red}CPU${hr 2}$color$font
Load: $loadavg
Core 1 @ ${freq 1}Mhz:  ${cpu cpu1}% ${color red}${cpubar cpu1}$color
Core 2 @ ${freq 2}Mhz:  ${cpu cpu2}% ${color red}${cpubar cpu2}$color
${color slate grey}MEM: ${color }$memperc% $mem/$memmax
${membar 5,000}
${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${swapbar 5,000}
Processes: $processes Running: $running_processes
Name        $alignr          PID       CPU%    MEM%     
 ${top_mem name 1}  $alignr    ${top_mem pid 1}  ${top_mem cpu 1}    ${top_mem mem 1}       
 ${top_mem name 2}  $alignr    ${top_mem pid 2}  ${top_mem cpu 2}    ${top_mem mem 2}       
 ${top_mem name 3}  $alignr    ${top_mem pid 3}  ${top_mem cpu 3}    ${top_mem mem 3}       
 ${top_mem name 4}  $alignr    ${top_mem pid 4}  ${top_mem cpu 4}    ${top_mem mem 4}     

openSUSE LEAP KDE
Kubuntu

Offline Suns

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #454 Gepost op: 2012/04/06, 18:12:04 »
Mij conky

Geheugen 15,6 GiB ntel® Core™ i7-3770 CPU @ 3.40GH

Linux Counter - user #51039

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #455 Gepost op: 2012/04/10, 12:13:00 »
Op verzoek van Prosper nog een keer het (gefixte) Pythonscript en bijbehorende .conkyrc.

Code: (~/.scripts/conky.py) [Selecteer]
#!/usr/bin/python
from time import strftime

# fuzzy time indicator
hour =  strftime('%I')
minute = int(strftime('%M'))

hour_list = ['een', 'twee', 'drie', 'vier', 'vijf', 'zes', 'zeven', 'acht', 'negen', 'tien', 'elf', 'twaalf', 'een']
hour_dict = {'00': 'twaalf', '01': 'een', '02': 'twee', '03': 'drie', '04': 'vier', '05': 'vijf', '06': 'zes', '07': 'zeven', '08': 'acht', '09': 'negen', '10': 'tien', '11': 'elf', '12': 'twaalf'}

if minute == 58 or minute == 59:
print str(hour_list[int(hour)]) + " uur"
elif minute == 0 or minute == 1 or minute == 2:
print str(hour_dict[hour]) + " uur"
elif minute >= 3 and minute <= 7:
print "vijf over " + hour_dict[hour]
elif minute >= 8 and minute <= 11:
print "tien over " + hour_dict[hour]
elif minute >= 13 and minute <= 17:
print "kwart over " + hour_dict[hour]
elif minute >= 18 and minute <= 22:
print "twintig over " + hour_dict[hour]
elif minute >= 23 and minute <= 27:
print "vijf voor half " + hour_list[int(hour)]
elif minute >= 28 and minute <= 32:
print "half " + hour_list[int(hour)]
elif minute >= 33 and minute <= 37:
print "vijf over half " + hour_list[int(hour)]
elif minute >= 38 and minute <= 42:
print "twintig voor " + hour_list[int(hour)]
elif minute >= 43 and minute <= 47:
print "kwart voor " + hour_list[int(hour)]
elif minute >= 48 and minute <= 52:
print "tien voor " + hour_list[int(hour)]
else: # vijf voor
print "vijf voor " + hour_list[int(hour)]

Code: (.conkyrc) [Selecteer]
#### Conky settings
update_interval 2
alignment tr
double_buffer yes
no_buffers yes

#### Graphics settings
draw_shades no
use_xft yes
xftfont Ubuntu:size=12
override_utf8_locale yes
xftalpha 0.7

#### Window settings
own_window yes
own_window_type desktop
own_window_transparent no
own_window_colour 000000
own_window_hints undecorated,below,skip_pager,skip_taskbar
minimum_size 400 400

TEXT
${color ffffff}${font Ubuntu:size=30}${exec python ~/.scripts/conky.py}${font Ubuntu:size=10}
${hr 1}
Datum ${alignr}${time %d-%m-%Y}
${hr 1}
Processor${alignr} ${cpu cpu0}%
Belasting ${alignr} ${loadavg 1}, ${loadavg 2}, ${loadavg 3}
Werkgeheugen${alignr} $mem/$memmax
${hr 1}
Kabel${alignr}${addr eth0}
Draadloos${alignr}${addr wlan0}
${hr 1}
Luisterend naar: ${exec audtool --current-song}
Tijd: ${exec audtool --current-song-length}
${hr 1}

:)

Offline Pfoeh

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #456 Gepost op: 2012/04/10, 23:35:02 »
Thanks! Erg mooi ook die screenshot in dat andere topic.
Linux Registered user 485465

Beperkingen voor het vervoer van gevaarlijke stoffen, genoemd onder Tunnelcategorie E in randnummer 1.9.5.2.2. van bijlage 1, gelden voor de ArenAtunnel, gelegen onder de Amsterdam ArenA, te Amsterdam.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #457 Gepost op: 2012/06/09, 09:28:51 »


En bedankt!

Offline h2o

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #458 Gepost op: 2012/10/03, 11:47:04 »
Ik zoek een string die de activiteit van de harde schijf in beeld geeft. Kan iemand mij daarmee helpen?
Werk laptops + werkstation: Debian Testing
Privé laptops: Debian Testing/Unstable
Test laptop: Diverse andere Linux distribities
Chromebooks: ChromeOS Flex

Offline DivinGGoD

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #459 Gepost op: 2012/10/09, 17:15:11 »
ik heb het volgende conky probleem en kom er niet uit,
aangezien er in dit topic genoeg gebruik van gemaakt wordt het volgende;

ik heb het conky_HUD thema gedownload
nu wil ik een extra meter toevoegen bij mijn geheugen voor de GPU
Dit werkt, echter is deze maar half in beeld, en lijkt conky ergens een stuk af te snijden...

Hoe kan ik ervoor zorgen dat mijn meter gewoon goed doorloopt?

het gaat om de meest linkse meter
http://www.freeimagehosting.net/t/42toq.jpg(plaatje wegens malwaremelding weggehaald, openen op eigen risico)

hieronder mijn .conkyrc
#==============================================================================
#                            conkyrc_HUD
#
#  author  : SLK
#  version : v2011011601
#  license : Distributed under the terms of GNU GPL version 2 or later
#
#==============================================================================

background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 500
gap_y 600
minimum_size 250 130
maximum_width 250
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

default_color FFFFFF
color1 F0EC12

lua_load ~/.conky/conky_HUD.lua
lua_draw_hook_post main

TEXT
${color1}${font ubuntu:size=10}${time %H:%M:%S}
${voffset 25}
${goto 100}${font Ubuntu:size=8,weight:bold}${color}DISKS
${goto 110}${font Ubuntu:size=7,weight:normal}${color1}size /
${goto 105}${font Ubuntu:size=9,weight:normal}${color1}${offset 5}${voffset -4}${fs_size /}
${goto 105}${font Ubuntu:size=7,weight:normal}${color1}size /home
${goto 105}${font Ubuntu:size=9,weight:normal}${color1}${offset 5}${voffset -4}${fs_size /home}

${voffset -70}
${goto 30}${font Ubuntu:size=8,weight:bold}${color}MEM

${voffset -25}
${goto 180}${font Ubuntu:size=8,weight:bold}${color}CPU

en mijn LUA
--==============================================================================
--                              conky_HUD.lua
--
--  author  : SLK
--  version : v2011062101
--  license : Distributed under the terms of GNU GPL version 2 or later
--
--==============================================================================

require 'cairo'

--------------------------------------------------------------------------------
--                                                                    gauge DATA
gauge = {
{
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=180,                         y=120,
    graph_radius=50,
    graph_thickness=5,
    graph_start_angle=0,
    graph_unit_angle=0.9,          graph_unit_thickness=0.9,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=40,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=30,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=180,                         y=120,
    graph_radius=60,
    graph_thickness=5,
    graph_start_angle=0,
    graph_unit_angle=0.9,          graph_unit_thickness=0.9,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=70,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=55,
    graduation_thickness=5,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='memperc',                arg='',                      max_value=100,
    x=40,                          y=85,
    graph_radius=34,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2,            graph_unit_thickness=2,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=20,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=24,
    graduation_thickness=6,        graduation_mark_thickness=2,
    graduation_unit_angle=10,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='nvidia',                arg='memfreq',                      max_value=100,
    x=40,                          y=85,
    graph_radius=40,
    graph_thickness=5,
    graph_start_angle=180,
    graph_unit_angle=2,            graph_unit_thickness=2,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=55,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=24,
    graduation_thickness=6,        graduation_mark_thickness=2,
    graduation_unit_angle=10,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='fs_used_perc',           arg='/',                     max_value=100,
    x=120,                         y=70,
    graph_radius=40,
    graph_thickness=4,
    graph_start_angle=210,
    graph_unit_angle=2,            graph_unit_thickness=2,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=32,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=46,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=20,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='fs_used_perc',           arg='/home/',                max_value=100,
    x=120,                         y=70,
    graph_radius=50,
    graph_thickness=8,
    graph_start_angle=210,
    graph_unit_angle=2,            graph_unit_thickness=2,
    graph_bg_colour=0xF0EC12,      graph_bg_alpha=0.3,
    graph_fg_colour=0xF0EC12,      graph_fg_alpha=0.0,
    hand_fg_colour=0xF0EC12,       hand_fg_alpha=1.0,
    txt_radius=60,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xF0EC12,        txt_fg_alpha=0.8,
    graduation_radius=58,
    graduation_thickness=4,        graduation_mark_thickness=2,
    graduation_unit_angle=20,
    graduation_fg_colour=0xF0EC12, graduation_fg_alpha=0.3,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
}

-------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end

-------------------------------------------------------------------------------
--                                                              draw_gauge_ring
-- displays gauges
--
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end

-------------------------------------------------------------------------------
--                                                               go_gauge_rings
-- loads data and displays gauges
--
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end
   
    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
   
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
   
    if update_num > 5 then
        go_gauge_rings(display)
    end
   
    cairo_surface_destroy(cs)
    cairo_destroy(display)
end

hopelijk kan iemand mij hiermee helpen, ik heb geen idee hoe ik dit aan kan passen....
« Laatst bewerkt op: 2012/12/26, 12:24:45 door Johan van Dijk »

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #460 Gepost op: 2012/10/10, 08:51:28 »
Ik denk dat je je maximum width in je config file wat moet opschroeven, van 250 naar 350.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #461 Gepost op: 2012/12/25, 01:32:42 »
Vandaag heb ik wat met conky zitten spelen, dit was uiteindelijk de mijne:

En de .conkyrc:
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250
maximum_width 1000
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color red
default_outline_color green
alignment middle_right
gap_x 60
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes

TEXT
${voffset 10}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %H:%M}${font} ${voffset -84}${offset 10}${color FFA300} ${font GE Inspira:pixelsize=42}${time %d}
${offset 356}${font GE Inspira:pixelsize=42}${time %b}
${voffset 1}${offset 12}${font Ubuntu:pixelsize=10}${color FFA300}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color FFA300}RAM ${offset 9}$color$mem / $memmax${offset 30}${color FFA300}CPU ${offset 9}$color${cpu cpu0}%
Maar ik haal het er weer van af, conky is niet echt mijn ding, onnodig gedoe IMO.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #462 Gepost op: 2013/01/03, 21:15:39 »
Op verzoek van asphyxia mijn simpele conky


# conky configuration
# edited by darcon@gmail.com, a little bit changed by theo

# set to yes if you want Conky to be forked in the background
background yes

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*


# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?
# out_to_console no

# mail spool
#mail_spool $MAIL

# Update interval in seconds
update_interval 2.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 1000 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 620
gap_y 1

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no


# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes
#Note: doesn't work in conky 1.2 =(

#   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
#   mldonkey_port         Mldonkey port, 4001 default
#   mldonkey_login        Mldonkey login, default none
#   mldonkey_password     Mldonkey password, default none


# Possible variables to be used:
#
#      Variable         Arguments                  Description               

# addr              (interface)   IP address for an interface
# acpiacadapter                   ACPI ac adapter state.                   
# acpifan                         ACPI fan state                           
# acpitemp                        ACPI temperature.                       
# adt746xcpu                      CPU temperature from therm_adt746x       
# adt746xfan                      Fan speed from therm_adt746x             
# alignr            (num)         Right-justify text, with space of N
# alignc                          Align text to centre
# battery           (num)         Remaining capasity in ACPI or APM       
# battery. ACPI battery number can be     
# given as argument (default is BAT0).     
# buffers                         Amount of memory buffered               
# cached                          Amount of memory cached                 
# color             (color)       Change drawing color to color           
# cpu                             CPU usage in percents                   
# cpubar            (height)      Bar that shows CPU usage, height is     
# bar's height in pixels                 
# cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
# CPU usage graph, with optional colours in hex,
# minus the #.
# downspeed         net           Download speed in kilobytes             
# downspeedf        net           Download speed in kilobytes with one     
# decimal                                 
# downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
# Download speed graph, colours defined in
# hex, minus the #.
# exec              shell command Executes a shell command and displays   
# the output in conky. warning: this     
# takes a lot more resources than other   
# variables. I'd recommend coding wanted   
# behaviour in C and posting a patch :-). 
# execbar           shell command Same as exec, except if the first value
# return is a value between 0-100, it
# will use that number for a bar.
# The size for the bar is currently fixed,
# but that may change in the future.
# execgraph         shell command Same as execbar, but graphs values
# execi             interval, shell command
Same as exec but with specific interval.
# Interval can't be less than             
# update_interval in configuration.       
# font   font Specify a different font.  Only applies
# to one line.
# fs_bar            (height), (fs)Bar that shows how much space is used on
# a file system. height is the height in   
# pixels. fs is any file on that file     
# system.                                 
# fs_free           (fs)          Free space on a file system available   
# for users.                               
# fs_free_perc      (fs)          Free percentage of space on a file       
# system available for users.             
# fs_size           (fs)          File system size                         
# fs_used           (fs)          File system used space                   
# hr                (height)      Horizontal line, height is the height in
# pixels                                   
# i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
# may be omitted if you have only one I2C 
# device. type is either in (or vol)       
# meaning voltage, fan meaning fan or
# temp/tempf (first in C, second in F)
# meaning temperature. n is number of the 
# sensor. See /sys/bus/i2c/devices/ on     
# your local computer.                     
# if_running        (process)     if PROCESS is running, display
# everything if_running and the matching $endif
# if_existing       (file)        if FILE exists, display everything between
# if_existing and the matching $endif
# if_mounted        (mountpoint)  if MOUNTPOINT is mounted, display everything between
# if_mounted and the matching $endif
# else                            Text to show if any of the above are not true
# kernel                          Kernel version                         
# linkstatus        (interface)   Get the link status for wireless connections
# loadavg           (1), (2), (3) System load average, 1 is for past 1     
# minute, 2 for past 5 minutes and 3 for   
# past 15 minutes.                         
# machine                         Machine, i686 for example               
# mails                           Mail count in mail spool. You can use   
# program like fetchmail to get mails from
# some server using your favourite         
# protocol. See also new_mails.           
# mem                             Amount of memory in use                 
# membar            (height)      Bar that shows amount of memory in use   
# memmax                          Total amount of memory                   
# memperc                         Percentage of memory in use
#
# metar_ob_time
# metar_temp
# metar_tempf                     Temp in F
# metar_windchill
# metar_dew_point                 There are a bunch of these
# metar_rh                        and they are self-explanatory
# metar_windspeed
# metar_winddir
# metar_swinddir
# metar_cloud
# metar_u2d_time
#
# ml_upload_counter               total session upload in mb
# ml_download_counter             total session download in mb
# ml_nshared_files                number of shared files
# ml_shared_counter               total session shared in mb, buggy
# in some mldonkey versions
# ml_tcp_upload_rate              tcp upload rate in kb/s
# ml_tcp_download_rate            tcp download rate in kb/s
# ml_udp_upload_rate              udp upload rate in kb/s
# ml_udp_download_rate            udp download rate in kb/s
# ml_ndownloaded_files            number of completed files
# ml_ndownloading_files           number of downloading files
#
# mpd_artist Artist in current MPD song
# (must be enabled at compile)
# mpd_album Album in current MPD song
# mpd_bar           (height)      Bar of mpd's progress
# mpd_bitrate                     Bitrate of current song
# mpd_status                      Playing, stopped, et cetera.
# mpd_title Title of current MPD song
# mpd_vol MPD's volume
# mpd_elapsed                     Song's elapsed time
# mpd_length                      Song's length
# mpd_percent                     Percent of song's progress
# new_mails                       Unread mail count in mail spool.         
# nodename                        Hostname                                 
# outlinecolor      (color)       Change outline color                     
# pre_exec          shell command Executes a shell command one time before
# conky displays anything and puts output
# as text.                                 
# processes                       Total processes (sleeping and running)   
# running_processes               Running processes (not sleeping),       
# requires Linux 2.6                       
# shadecolor        (color)       Change shading color                     
# stippled_hr       (space),      Stippled (dashed) horizontal line       
# (height)       
# swapbar           (height)      Bar that shows amount of swap in use     
# swap                            Amount of swap in use                   
# swapmax                         Total amount of swap                     
# swapperc                        Percentage of swap in use               
# sysname                         System name, Linux for example           
# offset            pixels        Move text over by N pixels
# tail              logfile, lines (interval)
# Displays last N lines of supplied text
# text file.  If interval is not supplied,
# Conky assumes 2x Conky's interval.
# Max of 30 lines.
# Max of 30 lines can be displayed.
# time              (format)      Local time, see man strftime to get more
# information about format                 
# totaldown         net           Total download, overflows at 4 GB on     
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times 
# it has already done that before conky   
# has started.                           
# top               type, num     This takes arguments in the form:
# top <name> <number>
# Basically, processes are ranked from
# highest to lowest in terms of cpu
# usage, which is what <num> represents.
# The types are: "name", "pid", "cpu", and
# "mem".
# There can be a max of 10 processes listed.
# top_mem           type, num     Same as top, except sorted by mem usage
# instead of cpu
# totalup           net           Total upload, this one too, may overflow
# updates                         Number of updates (for debugging)       
# upspeed           net           Upload speed in kilobytes               
# upspeedf          net           Upload speed in kilobytes with one       
# decimal                                 
# upspeedgraph      net (height),(width)  (gradient colour 1) (gradient colour 2)
# Upload speed graph, colours defined in
# hex, minus the #.
# uptime                          Uptime                                   
# uptime_short                    Uptime in a shorter format               
#
# seti_prog                       Seti@home current progress
# seti_progbar      (height)      Seti@home current progress bar
# seti_credit                     Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT



${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes 
${offset 240}${color slate grey}Running:   ${color }$running_processes

${offset 240}${color slate grey}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}

${offset 240}${color slate grey}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}

${offset 240}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}SLACK:  ${color }${fs_free /mnt/slack}/${fs_size /mnt/slack}
${offset 240}${fs_bar 3,100 /mnt/slack}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}


En hier de screenshot.










Ryzen 7 1700 16gb, RX 580 8gb, AOC 24" FreeSync scherm,  Corsair Strafe Red (mechanisch toetsenbord), 256GB SSD, 4 TB HDD. OS: Linux Mint

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #463 Gepost op: 2013/01/18, 12:01:34 »
Een hele leuke gevonden en een beetje aangepast. Het origineel heb ik gezipped toegevoegd



https://dl.dropbox.com/u/4538281/rippedpaper.zip

Offline Suns

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #464 Gepost op: 2013/01/20, 08:17:32 »
Een hele leuke gevonden en een beetje aangepast. Het origineel heb ik gezipped toegevoegd



https://dl.dropbox.com/u/4538281/rippedpaper.zip


Ziet er erg mooi uit , maar is te hoog gegrepen voor mij ik heb het al vele malen geprobeerd maar zonder succes , maar het is wel mooi om te zien hoe mooi sommige hier dat op het bureaublad  krijgt Top!
Geheugen 15,6 GiB ntel® Core™ i7-3770 CPU @ 3.40GH

Linux Counter - user #51039

Offline MKe

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #465 Gepost op: 2013/05/10, 17:30:05 »

Python script voor weer:
#!/usr/bin/env python

import sys
import re
import urllib2

from time import localtime, strftime

regex = r'/weerstation/grafiek/\d{4}/.{2}\?name=(?P<soort>.*?)(%2520\(km%2Fu\)|)&amp;stationname={stad}&amp;extension=.*?">(?P<waarde>.*?)</a>'
stad = sys.argv[1]

webtext = urllib2.urlopen('http://www.buienradar.nl/')
tabel = webtext.read()
webtext.close()
print('Tijd: $alignr {tijd}'.format(tijd=strftime("%X ", localtime())))
r = re.compile(regex.replace('{stad}',stad))
waarde = [m.groupdict() for m in r.finditer(tabel)]

for w in waarde:
    print('{soort}: $alignr {waarde}'.format(soort=w['soort'],waarde=w['waarde']))

Python script voor verkeer (is nog wat onbeholpen, moet nog een keer gestroomlijnd worden):
#!/usr/bin/env python

import sys
import re
import urllib2
from textwrap import wrap

#get roads
wegen = sys.argv[1].replace(',','|')

fin = urllib2.urlopen('http://vid.nl/VI/overzicht/')#file('temp','r')
text = fin.read()
fin.close()

# isolate only table
regex = r'<tbody><(?P<hoofd>.*?)<h1>Verkeersinformatie</h1>(?P<hoofd2>.*?)</tr><tr>(?P<eersteregel>.*?)</tr>(?P<tussen>(.|\n)*?)</tbody></table>'
r = re.compile(regex)
tabel = r.search(text).group('tussen')

results = []
searchstring = r'td><b>(?P<weg>{weg})</b>((.|\n)*?)<i><img .*?/>(?P<desc>((.|\n)*?))</i>'
#print searchstring.format(weg=wegen)
r = re.compile(searchstring.format(weg=wegen))
waarde = [m.groupdict() for m in r.finditer(tabel)]
#print waarde
if waarde:
    for w in waarde:
        print w['weg']
        print '\n'.join(wrap(' '.join(w['desc'].replace('<span>','').replace('</span>','').replace('\n','').strip().split()),int(sys.argv[2])))
else:
    print 'no traffic on {wegen}'.format(wegen = sys.argv[1])

De conky:
# Use Xft?
use_xft yes
xftfont OFL Sorts Mill Goudy:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
background no
own_window yes
own_window_type normal
own_window_argb_visual true
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color black
default_shade_color grey
default_outline_color black
own_window_colour black
color1 black

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 35

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT

# mijn eigen weer script.
${font Goudy Bookletter 1911:style=Bold}WEER${font} ${hr 2}
${execpi 600 python /home/mke/.conky/weer/get_weather_data.py Rotterdam}
#Temp: $alignr ${exec python /home/mke/.conky/weer/get_weather_data.py Rotterdam temp} °C
#Wind: $alignr ${exec python /home/mke/.conky/weer/get_weather_data.py Rotterdam wind}
#Luchtdruk: $alignr ${exec python /home/mke/.conky/weer/get_weather_data.py Rotterdam luchtdruk} hpa
#Luchtvochtigheid: $alignr ${exec python /home/mke/.conky/weer/get_weather_data.py Rotterdam luchtvochtigheid}%

${font Goudy Bookletter 1911:style=Bold}FILES${font} ${hr 2}
${execpi 300 python /home/mke/.conky/verkeer/get_traffic.py A16,A17,A27,A10 35}

« Laatst bewerkt op: 2013/05/13, 16:37:14 door MKe »
Mijn blokkendoos blog: http://mke21.wordpress.com/

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #466 Gepost op: 2013/05/16, 18:18:47 »
Mooie conky's allemaal.
Bij mij wilt het helaas niet zonder problemen draaien.
De oplossing voor het ene probleem veroorzaakt weer een nieuwe.

Offline MKe

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #467 Gepost op: 2013/05/16, 19:41:33 »
Mooie conky's allemaal.
Bij mij wilt het helaas niet zonder problemen draaien.
De oplossing voor het ene probleem veroorzaakt weer een nieuwe.
Wat is je probleem? Kan ik helpen?

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #468 Gepost op: 2013/05/17, 17:24:47 »
Hulp is erg gewanst ja.  ^-^
Ik heb er een aparte topic voor lopen.
http://forum.ubuntu-nl.org/software-en-configuratie/conky-verstoord-werking-van-de-sneltoetsen/

Het probleem is dat bij het sluiten van alle schermen op 1 bureaublad een deel van de toetsenbord commando's niet meer werken.
Bijv. het schuiven naar een ander werkblad met "ctrl+alt+[pijltjestoets]".
« Laatst bewerkt op: 2013/05/17, 17:28:18 door Erik Krom »