Conky - Ваша подешавања

Ова тема је замишљена као место где ћемо качити снимак екрана са Конкијем, приложити конфигурационе фајлове, фонтове и евентуално упуство.
Избегавајте дискусије како би тема била што прегледнија и како би имали што више различитих подешавања за ову популарну апликацију.

Па да почнемо. :wink:

http://www.dodaj.rs/t/1A/ks/2JMbnC34/001.jpg

За овај конки потребно је додати репозиторијум командом:

sudo apt-add-repository ppa:conkyhardcore/ppa sudo apt-get update sudo apt-get install conky conkyforecast

Архиву распаковати у корисничку фасциклу, фонтови иду у .fonts. Након додавања фонтова у терминалу укуцати fc-cache -fv
У .conkyrc фајлу треба изменити град Краљево градом за који желите да видите временску прогнозу (довољно је само укуцати име града, нпр. Kragujevac).

http://www.filefactory.com/file/c3efaf7/n/conky.tar.gz

Moze detaljno uputstvo kako instalirati? :wink:

Надам се да ме зезаш, пошто упуство стоји горе. Оно у код таговима је конкретно за инсталацију :wink:

Na trenutoj distribuciji, kada budem na Minutu, Ubuntuu i Debianu okačiću.

source .conyrc-a

[code]alignment top_right
double_buffer yes
gap_x 20
gap_y 45
update_interval 1.0
background yes
own_window yes
own_window_transparent yes
#own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
minimum_size 280 5
maximum_width 250 5
use_xft yes
xftalpha 0.5
xftfont Sans:size=8

TEXT
${font openlogos:size=20}${font Arial:size=15}${color #0088cc}Slackware ${color Ivory}${font openlogos:size=15}13.37${font }
${font size=7}${color slate grey}Info $hr${color }${font }

Kernel: ${alignr}$kernel ($machine)
Uptime: ${alignr}$uptime
Time: ${alignr}${time %H:%M:%S}
Date: ${alignr}${time %d.%m.%y}
User: ${alignr}$alignc${exec whoami} @ $nodename
Filesystem: $alignr${fs_type}

${font size=7}${color slate grey}CPU Usage $hr${color }${font }

CPU1 ${alignr}${cpu cpu1}%
${cpugraph cpu1 16, 200}

CPU2 ${alignr}${cpu cpu2}%
${cpugraph cpu2 16, 200}
CPU-Temp.${alignr}${hwmon temp 1}°C

${font size=7}${color slate grey}Ram Usage $hr${color }${font }

RAM ${alignr}$mem/$memmax
${membar 6, 200}

${font size=7}${color slate grey}Filesystem $hr${color }${font }

Slackware home ${alignr}${fs_free /}
${fs_bar 6, 200 /}

Ubuntu 10.04.3${alignr}${fs_free /media/home_ubuntu}
${fs_bar 6, 200 /media/home_ubuntu}

${font size=7}${color slate grey}Top CPU Tasks $hr${color }${font }

${color #ddaa00}${top name 1}${alignr}${top cpu 1}%${color }
${top name 2}${alignr}${top cpu 2}%
${top name 3}${alignr}${top cpu 3}%
${top name 4}${alignr}${top cpu 4}%
${top name 5}${alignr}${top cpu 5}%

${font size=7}${color slate grey}Top RAM Tasks $hr${color }${font }

${color #ddaa00}${top_mem name 1}${alignr}${top_mem mem 1}%${color }
${top_mem name 2}${alignr}${top_mem mem 2}%
${top_mem name 3}${alignr}${top_mem mem 3}%
${top_mem name 4}${alignr}${top_mem mem 4}%
${top_mem name 5}${alignr}${top_mem mem 5}%

${font size=7}${color slate grey}Network $hr${color }${font }
IP (Lan): $alignr${addr eth0}
IP (Public): $alignr${execi 600 wget http://checkip.dyndns.org/ -q -O - | grep -Eo ‘’}
Total Down $alignr${totaldown eth0}
Total Up $alignr${totalup eth0}

Download ${alignr}${downspeed eth0}
${downspeedgraph eth0}

Upload ${alignr}${upspeed eth0}
${upspeedgraph eth0}

[/code]

Ma ne zezam, nego svaki put kad instaliram neki widget ne ide, pa hocu da vidim kako tacno drugi rade kako bih znao da li je do mene ili do sistema. :wink: Do sad nisam mogao da pokrenem ni jedan widget koji sam instalirao preko right click -> add widget -> download from bla bla.

Okačiću i ja moja 2 kad me ne bude mrzelo… nešto me mnogo mrzi da komentarišem po forumu ove nedelje al aj… :wink: :slight_smile:

@ MrSpaz
Conky nije widget nego programčić (system monitor) koji direktno otvara svoj X prozor, i moraš ili peške ili da kopiraš od nekoga skriptu.

o bogamu pa sta sad ne valja ono sto sam ja pisao? :wink:

@milke
ovo nije nikakvo uputstvo, nista korisno nisi napisao za nekog pocetnika
@ MrSpaz
otvori synaptic i u search ukucaj conky i instaliraj
odes u /home folder, pritisnes ctrl+h da bi video skrivene fajlove
nadji fajl .conkyrc i otvori ga sa gedit-om
u gedit-u vrsis sva podesavanja,izbrisi sve iz njega ako ima nesto i iskopiraj u njega ovo sto je Broker stavio u kod, to ce ti biti dosta za pocetak. sacuvas i ako hoces da pokrenes conky pritisni alt+f2(run application) i ukucaj conky pa enter…trebalo bi da ti se pojavi

to ti je osnovno, ako hoces i weather onda prati prvi post, najbolje ti je da nadjes nekoliko razlicitih podesavanja i sam iskombinujes kako ti najbolje odgovara

Писање конкијевог конфигурационог фајла од нуле је сизифов посао ако се први пут срећеш с њим, тако да ти ја препоручујем преузимање неке готове конфигурације коју ћеш, евентуално, мало да прерадиш, мада и не мораш.

Инсталирај конки. Фајл и фасцикле које сам ја прикачио само распакујеш у твој /home, фонтове у ~/.fonts, то је то. После конки покренеш нпр. притиском на ALT+F2 и куцањем conky (еквивалентно је покретању из терминала истом командом).
Оно што је Брокер прикачио је још и једноставније - направи у твојој корисничкој фасцикли (/home/ti/) фајл који се зове .conkyrc и у њега убаци оно што је он ставио у код таг, и покрени конки.

@savic - Можда си у праву, видећу да мало изменим мој пост и објасним како се копирају и налепљују команде у терминалу.

Hvala Savicu, instalirao sam tako kako si rekao i sve je ok. Zanima me samo kako da odradim da mi ne pokazuje posebno svaki cpu, nego ukupno za svih 4 (odnosno 8, kako god ga racuna)…

Takvo upustvo treba ljudima, a ne 3 komande koje mogu, a i ne moraju da rade. :wink:

Recimo, nakon dodavanja ovog repa koji si, milke, predlozio ne vrsi update jer izbacuje gresku 404 not found za repoz ppa:conkyhardcore/ppa i to je ono o cemu sam ti ja pricao. Glup nisam, ali sam nov u svemu ovome tako da mislim da nema razloga za takvim sarkazmom kao sto je u tvom prethodnom postu.

Minimalistički, a ima sve što mi treba:

http://www.dodaj.rs/t/1k/Oq/AihHsKz/screenshot-02212012-0918.jpg

Nisam siguran koji od fontova treba da ubacite, pa ubacite sve…

Evo ga iz Ubuntua 10.04.4

Conkyrc

[code]#Author: Thio

Conky sample configuration

the list of variables has been removed from this file in favour

of keeping the documentation more maintainable.

Check http://conky.sf.net for an up-to-date-list.

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 xirod:size=8

Text alpha when using Xft

xftalpha 0.8

Print everything to stdout?

out_to_console no

MPD host/port

mpd_host localhost

mpd_port 6600

mpd_password tinker_bell

Print everything to console?

out_to_console no

mail spool

mail_spool $MAIL

Update interval in seconds

update_interval 1.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 1

If own_window is yes, you may use type normal, desktop or override

own_window_type override

Use pseudo transparency with own_window?

own_window_transparent 1

If own_window_transparent is set to no, you can set the background colour here

own_window_colour hotpink

If own_window is yes, these window manager hints may be used

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

Draw shades?

draw_shades no

Draw outlines?

draw_outline no

Draw borders around text

draw_borders no

Draw borders around graphs

draw_graph_borders yes

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

dexter_client no
dexter_server no

config file for libdexter (default search path: $HOME/.dexterrc; /etc/libdexter/dexter.conf)

dexter_config

Text alignment, other possible values are commented

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

Gap between borders of screen and text

same thing as passing -x at command line

gap_x 20
gap_y 45

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 no

Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)

#max_port_monitor_connections 256

Maximum number of special things, e.g. fonts, offsets, aligns, etc.

#max_specials 512

Maximum size of buffer for user text, i.e. below TEXT line.

#max_user_text 16384

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
Hostname:$alignr$nodename
$sysname $kernel $alignr $machine

Uptime:$alignr$uptime
${time %A}$alignr${time %F}

Intel Core2 Duo Processor E7500 $alignr${freq_g cpu1} Ghz
temp: $acpitemp C$alignr${freq_g cpu2} Ghz

${color green}CPU#1 ${color whte}${cpu cpu1} %${alignr}${cpu cpu2} %${color green} CPU#2
${color white}${cpugraph cpu1 25,140 FF8200 ff0000} ${alignr}${cpugraph cpu2
25,140 FF0000 FF9900}$color

MEM $alignc $mem / $memmax $alignr $memperc%
${membar FF8200 ff0000}

${color green}Devices$color

Ubuntu/Root 10.04.3 $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

Ubuntu/Home 10.04.3 $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

Slackware 13.37/Root $alignc ${fs_used /media/sda4} / ${fs_size /media/sda4} $alignr ${fs_free_perc /media/sda4}%
${fs_bar /media/sda4}

Windows 7 $alignc ${fs_used /media/sda2} / ${fs_size /media/sda2} $alignr ${fs_free_perc /media/sda2}%
${fs_bar /media/sda2}

Hard Drive1 $alignc ${fs_used /media/sda5} / ${fs_size /media/sda5} $alignr ${fs_free_perc /media/sda5}%
${fs_bar /media/sda5}

Hard Drive2 $alignc ${fs_used /media/sda6} / ${fs_size /media/sda6} $alignr ${fs_free_perc /media/sda6}%
${fs_bar /media/sda6}

${color green}Top Processes$color

CPU $alignr %
${top name 1}$alignr${top cpu 1}
${top name 2}$alignr${top cpu 2}
${top name 3}$alignr${top cpu 2}

MEM $alignr %
${top_mem name 1}$alignr${top_mem mem 1}
${top_mem name 2}$alignr${top_mem mem 2}
${top_mem name 3}$alignr${top_mem mem 3}

${color green}Network$color

IP on eth0 $alignr ${addr eth0}
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color white}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color[/code]

Conky iz Debiana 6.0.3

[code]# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

Use Xft?

use_xft yes

xftfont Droid Sans:size=7
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)

own_window yes
own_window_transparent yes
own_window_type override
#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 182 0
maximum_width 182

Draw shades?

draw_shades no
default_color D6D6D6 #4D4D4D

Draw outlines?

draw_outline no

Draw borders around text

draw_borders no

Stippled borders?

stippled_borders 0

border margins

border_margin 5

border width

border_width 1

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 25
gap_y 40

– Lua Load –

lua_load ~/.draw_bg.lua
lua_draw_hook_pre draw_bg

TEXT
Sistem ${hr 2}
${goto 6}${voffset 6}${image /usr/share/icons/logoalt_white.png -p 0,20 -s 26x26}${goto 40}${pre_exec cat /etc/issue.net} $machine
${goto 40}Kernel: ${kernel}
${hr 2}

${goto 6}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
#${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
#${goto 6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}g${font}${voffset -4}${goto 32}RAM: ${mem} ${alignr}${membar 8,60}
${goto 6}${voffset 4}${font StyleBats:size=16}x${font}${voffset -4}${goto 32}DISK: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}SWAP: $swapperc% ${alignr}${swapbar 8,60}
#${goto 6}${voffset 4}${font Devil inside:size=16}1${font}${voffset -4}${goto 32}CPU Temp: ${alignr}${exec sensors | grep ‘CPU Temperature’ | cut -c19-20}°C / ${color #FCAF3E}${exec sensors | grep ‘CPU Temperature’ | cut -c37-38}°C$color
#${goto 5}${voffset 4}${font Devil inside:size=16}x${font}${voffset -4}${goto 32}Mother Temp: ${alignr}${exec sensors | grep ‘MB Temperature’ | cut -c19-20}°C / ${color #FCAF3E}${exec sensors | grep ‘MB Temperature’ | cut -c37-38}°C$color
#${goto 4.5}${voffset 2}${font Poky:size=15}y${font}${voffset -6}${goto 32}HD Temp:${alignr}${exec hddtemp /dev/sda -n --unit=C}°C / ${color #FCAF3E}${exec sensors | grep ‘CPU Temperature’ | cut -c54-55}°C$color
#${goto 6}${font Martin Vogel’s Symbols:size=16}j${font}${voffset -4}${goto 32}Fan Speed: ${alignr}${exec sensors | grep ‘RPM’| cut -c16-25}
${goto 6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 6}${voffset 4}${font StyleBats:size=16}k${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${goto 7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}

${voffset -1}Datum ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %B}

${voffset -1}HD ${hr 2}
${goto 3}${voffset 4}${font Poky:size=16}H${font}${goto 29}${voffset -11} Root: ${fs_used_perc /}%${alignr}${fs_size /}
${goto 29} Free: ${fs_free /}${alignr}${fs_bar 8,60 /}
#${goto 3}${voffset 8}${font Poky:size=16}H${font}${goto 29}${voffset -11} Home: ${fs_used_perc /home}%${alignr}${fs_size /home}
#${goto 29} Free: ${fs_free /home}${alignr}${fs_bar 8,60 /home}

${voffset -1}Mreza ${hr 2}
${if_up wlan0}
${font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan0}
${goto 32}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup wlan0}
${voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown wlan0}
${voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://www.whatismyip.com/automation/n09230945.asp | tail}

|–ETH0

${else}${if_up eth0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed eth0}${font} ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup eth0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed eth0}${font} ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown eth0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr eth0}
${goto 32}Public IP: ${alignr}${execi 3600 wget -O - http://www.whatismyip.com/automation/n09230945.asp | tail}

|–PPP0

${endif}${else}${if_up ppp0}
${voffset -13}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed ppp0}${font} ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totalup ppp0}
${voffset -2}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed ppp0}${font} ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${goto 32}Total: ${totaldown ppp0}
${voffset -2}${font Poky:size=13}w${font}${goto 32}${voffset -4}Local IP: ${alignr}${addr ppp0}
${endif}${else}${voffset 4}${font PizzaDude Bullets:size=12}4${font}${goto 32}Network Unavailable${endif}${endif}
#${voffset -1}WEATHER ${hr 2}

#${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0113 --datatype=WF --imperial}${font}
#${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=UKXX0113 --datatype=HT --imperial}${font}

#${alignc 43}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --imperial --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --imperial --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --imperial --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=UKXX0113 --datatype=DW --imperial --startday=4 --shortweekday}
#${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=UKXX0113 --datatype=WF --imperial --startday=1 --endday=4 --spaces=1}${font}
#${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --imperial --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --imperial --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --imperial --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --imperial --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --imperial --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --imperial --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=UKXX0113 --datatype=HT --imperial --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=UKXX0113 --datatype=LT --imperial --startday=4 --hideunits --centeredwidth=3}${font}
#${voffset 4}Location:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CN}
#Last Updated: ${alignr} ${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=LU -m 0 }
#Feels Like:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=LT --imperial}
#Dew Point: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=DP --imperial}
#Current Condition:${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=CC}
#Chance of Precip: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --startday=0 --datatype=PC}
#Humidity: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=HM}
#Wind: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=WS --imperial} - ${execi 600 conkyForecast --location=UKXX0113 --datatype=WD}
#Pressure: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --hideunits --datatype=BR}
#Visibility: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=VI --imperial}
#Sunrise: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SR}
#Sunset: ${alignr}${execi 600 conkyForecast --location=UKXX0113 --datatype=SS}
#Moon Phase:${alignr 8}${execi 600 conkyForecast --location=UKXX0113 --datatype=MP} ${font MoonPhases:size=8}${execi 600 conkyForecast --location=UKXX0113 --datatype=MF}${font}
${hr 2}[/code]

Ovoje zapravo default conky iz Linux Ping Eee, samo sam ga doterao za svoje potrebe.

[code]# – 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 310 310
maximum_width 500


alignment tr
gap_x -20
gap_y 40

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

# -- Text settings -- #
use_xft yes
xftfont MaiandraGD:size=24
xftalpha 0.4

uppercase no

default_color 8b8b8b

     TEXT

${voffset 33}${font Helvetica LT Std :style=Condensed:size=60}${color 434343}${goto 41}${time %H}${goto 142}${color 434343}${time %M}${font Helvetica LT Std :size=15:style=condensed}${color 808080}${goto 225}${time %S}
${voffset 15}${color whitesmoke}${font Helvetica LT Std :style=bold:size=9}${alignr 10}${time %a}, ${time %e} ${time %b} #${time %G}
${voffset 18}${goto 22}${font Helvetica LT Std :size=8}${color whitesmoke}${execi 600 conkyForecast --location=SRXX0005 --datatype=CN --refetch}
#${voffset 8}${font Helvetica LT Std :size=10}${color 707070}${goto 24}Бургас
${voffset -0}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 24}${execi 1800 conkyForecast --location=SRXX0005 --datatype=CT}${voffset -10}${goto 170}${font Helvetica LT Std :size=18}${color d4d4d4}${execi 1800 conkyForecast --location=SRXX0005 -u --datatype=HT}
${voffset -12}${font VariShapes Solid :size=8}q${font Helvetica LT Std :size=8}${voffset 0}${execi 3600 conkyForecast --location=SNXX0006 --datatype=LT}${alignr 73}${voffset 10}${font VariShapes Solid :size=8}Q${font Helvetica LT Std :size=8}${execi 3600 conkyForecast --location=SNXX0006 --datatype=HT}${color 707070}
${voffset 47}${font Helvetica LT Std :size=8}${color white}${goto 25}${execi 600 conkyForecast --location=SRXX0005 --datatype=HT -u --startday=1}/${color 707070}${execi 600 conkyForecast --location=SRXX0005 --datatype=LT -u --startday=1}${font Helvetica LT Std :size=8}${color white}${goto 70}${execi 600 conkyForecast --location=SRXX0005 --datatype=HT -u --startday=2}/${color 707070}${execi 600 conkyForecast --location=SRXX0005 --datatype=LT -u --startday=2}${font Helvetica LT Std :size=8}${color white}${goto 115}${execi 600 conkyForecast --location=SRXX0005 --datatype=HT -u --startday=3}/${color 707070}${execi 600 conkyForecast --location=SRXX0005 --datatype=LT -u --startday=3}${font Helvetica LT Std :size=8}${color white}${goto 160}${execi 600 conkyForecast --location=SRXX0005 --datatype=HT -u --startday=4}/${color 707070}${execi 600 conkyForecast --location=SRXX0005 --datatype=LT -u --startday=4}
${font Helvetica LT Std :size=8}${color whitesmoke}${goto 25}${execi 600 conkyForecast --location=SRXX0005 --datatype=DW --shortweekday --startday=1}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 70}${execi 600 conkyForecast --location=SRXX0005 --datatype=DW --shortweekday --startday=2}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 115}${execi 600 conkyForecast --location=SRXX0005 --datatype=DW --shortweekday --startday=3}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 160}${execi 600 conkyForecast --location=SRXX0005 --datatype=DW --shortweekday --startday=4}
${voffset -11}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 205}${execi 600 conkyForecast --location=SRXX0005 --datatype=DW --shortweekday --startday=5}
${voffset -23}${font Helvetica LT Std :size=8}${color white}${goto 205}${execi 600 conkyForecast --location=SRXX0005 --datatype=HT -u --startday=5}/${color 707070}${execi 600 conkyForecast --location=SRXX0005 --datatype=LT -u --startday=5}

${image ~/.images/base2.png -p 0,30 -s 260x145}
${image ~/.images/base2.png -p 0,190 -s 260x45}
${image ~/.images/flip_bg.png -p 30,10 -s 100x110}
${image ~/.images/flip_bg.png -p 130,10 -s 100x110}
${execpi 600 conkyForecast --location=SRXX0005 --template=~/.vreme.template}
[/code]

Podešavanja i sve fajlove za ovaj conky možete naći ovde.

Blue, ovo je dobra stvar da se pridruži nekom postojećem conky-u koji nema vreme.
Ako budem imao vremena probaću ovih dana da sklopim nešto te postavim.

Evo i mog Conky-a! :slight_smile:
E sad, mozda ce nekom ovo biti malo veci izazov (mozda i ne). Sve u svemu vredi se potruditi!!
Za install imate detaljno uputstvo ovde http://forum.mint-srbija.com/aplikacije/conky-forecast/[/url] i ovde [url=http://wiki.mint-srbija.com/index.php?title=Conky_Forecast]http://wiki.mint-srbija.com/index.php?title=Conky_Forecast
Samo .conkyrc je prepravljen i preuzimate ga odavde.

[code] # – 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 310 310
maximum_width 310


alignment tr
gap_x -20
gap_y 40

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

# -- Text settings -- #
use_xft yes
xftfont MaiandraGD:size=24
xftalpha 0.4

uppercase no

default_color 8b8b8b

     TEXT

${voffset 30}${font Helvetica LT Std :style=Condensed:size=60}${color 434343}${goto 40}${time %H}${goto 140}${color 434343}${time %M}${font Helvetica LT Std :size=15:style=condensed}${color 808080}${goto 225}${time %S}
${voffset 55}${color whitesmoke}${font Helvetica LT Std :size=8}${alignr 115}${time %A},${time %e} ${time %B} ${time %G}
${voffset -45}${goto 22}${font Helvetica LT Std :size=8}${color 909090}${execi 600 conkyForecast --location=SRXX0013 --datatype=CN --refetch}
#${voffset 8}${font Helvetica LT Std :size=10}${color 707070}${goto 24}Бургас
${font Helvetica LT Std :size=8}${color whitesmoke}${goto 24}${execi 1800 conkyForecast --location=SRXX0013 --datatype=CT}${voffset -10}${goto 200}${font Helvetica LT Std :size=25}${color d4d4d4}${execi 1800 conkyForecast --location=SRXX0013 -u --datatype=HT}
${voffset 30}${font Helvetica LT Std :size=8}${color white}${goto 25}${execi 600 conkyForecast --location=SRXX0013 --datatype=HT -u --startday=1}/${color 707070}${execi 600 conkyForecast --location=SRXX0013 --datatype=LT -u --startday=1}${font Helvetica LT Std :size=8}${color white}${goto 70}${execi 600 conkyForecast --location=SRXX0013 --datatype=HT -u --startday=2}/${color 707070}${execi 600 conkyForecast --location=SRXX0013 --datatype=LT -u --startday=2}${font Helvetica LT Std :size=8}${color white}${goto 115}${execi 600 conkyForecast --location=SRXX0013 --datatype=HT -u --startday=3}/${color 707070}${execi 600 conkyForecast --location=SRXX0013 --datatype=LT -u --startday=3}${font Helvetica LT Std :size=8}${color white}${goto 160}${execi 600 conkyForecast --location=SRXX0013 --datatype=HT -u --startday=4}/${color 707070}${execi 600 conkyForecast --location=SRXX0013 --datatype=LT -u --startday=4}
${font Helvetica LT Std :size=8}${color 707070}${goto 25}${execi 600 conkyForecast --location=SRXX0013 --datatype=DW --shortweekday --startday=1}${font Helvetica LT Std :size=8}${color 707070}${goto 70}${execi 600 conkyForecast --location=SRXX0013 --datatype=DW --shortweekday --startday=2}${font Helvetica LT Std :size=8}${color 707070}${goto 115}${execi 600 conkyForecast --location=SRXX0013 --datatype=DW --shortweekday --startday=3}${font Helvetica LT Std :size=8}${color 707070}${goto 160}${execi 600 conkyForecast --location=SRXX0013 --datatype=DW --shortweekday --startday=4}
${voffset -12}${font Helvetica LT Std :size=8}${color 707070}${goto 205}${execi 600 conkyForecast --location=SRXX0013 --datatype=DW --shortweekday --startday=5}
${voffset -23}${font Helvetica LT Std :size=8}${color white}${goto 205}${execi 600 conkyForecast --location=SRXX0013 --datatype=HT -u --startday=5}/${color 707070}${execi 600 conkyForecast --location=SRXX0013 --datatype=LT -u --startday=5}

${offset 30}${color2}CPU TEMP: ${color 7FC638}${hwmon temp 1}°C${alignr 75}${color2}MEM: ${color 7FC638}${memperc}%
${alignr 75}${color2}SWAP: ${color 7FC638}${swapperc}%
${offset 75}${cpugraph 20,158 7FC638 7FC638}${voffset -15}
${offset 30}${font Ubuntu:size=7,weight:bold}${color}CPU

${offset 30}${font Ubuntu:size=7,weight:normal}${color C63F38}${top name 1}${alignr 75}${top cpu 1}%
${offset 30}${font Ubuntu:size=7,weight:normal}${color FDDB30}${top name 2}${alignr 75}${top cpu 2}%
${offset 30}${font Ubuntu:size=7,weight:normal}${color FDDB30}${top name 3}${alignr 75}${top cpu 3}%
${offset 30}${font Ubuntu:size=7,weight:normal}${color 7FC638}${top name 4}${alignr 75}${top cpu 4}%
${offset 30}${font Ubuntu:size=7,weight:normal}${color 7FC638}${top name 5}${alignr 75}${top cpu 5}%
${voffset 15}

${image ~/.images/base.png -p 12,30 -s 238x140}
${image ~/.images/base.png -p 12,190 -s 238x40}
${image ~/.images/base.png -p 12,255 -s 238x140}
${image ~/.images/flip_bg.png -p 30,10 -s 100x110}
${image ~/.images/flip_bg.png -p 130,10 -s 100x110}
${execpi 600 conkyForecast --location=SRXX0013 --template=~/.vreme.template}

[/code]

i za .vreme.template morate kopirati ovaj kod i zameniti ga postojecim

${image [--datatype=WI] -p 80,60 -s 113x113} ${image [--datatype=WI --startday=1] -p 20,175 -s 43x43} ${image [--datatype=WI --startday=2] -p 65,175 -s 43x43} ${image [--datatype=WI --startday=3] -p 113,175 -s 43x43} ${image [--datatype=WI --startday=4] -p 158,175 -s 43x43} ${image [--datatype=WI --startday=5] -p 200,175 -s 43x43}

ako nesto zapne, ne ustrucavajte se da pitate! :wink:

Evo i kako to kod mene izgleda:

http://www.dodaj.rs/t/2c/En/4RY9R3GD/screenshot-at-2012-03-05.jpg

u prilogu je kompletan set, potrebno je izvršiti korekcije za naziv grada i povlačenje podataka o temperaturi za isti, postoji i uputstvo za to…

http://www.dodaj.rs/t/x/Rz/4arDt11O/conky.jpg

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 3.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 220
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color grey
default_shade_color red
default_outline_color green
alignment top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
TEXT
${color green}$sysname $kernel
Uptime $alignr $uptime

$processes processes ($running_processes running)
User: ${alignr}$alignc${exec whoami} @ $nodename

CPU $alignr ${freq_g cpu0} Ghz ${cpu cpu0}%
${cpubar cpu0}
CPU-Temp.						   $acpitemp C$alignr

MEM $alignc $mem / $memmax $alignr $memperc%
$membar
SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
Filesystem: $alignr${fs_type}
/ root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
/ home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}

NAME $alignr PID	CPU

${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}

Time: ${alignr}${time %H:%M:%S}
Date: ${alignr}${time %d.%m.%y}

Moj conky na Linux Mint 12 lxde.

Otvoriti Synaptic i instalirati sledece pakete :

conky	conky-all

Zatim otvoriti text editor sledecom komandom :

sudo leafpad .conkyrc

ili

sudo gedit .conkyrc

u zavisnosti od toga koji text editor koristitie. Iskopirajte tekst sa podesavanjima za conky koji se nalazi ispod slike. Sacuvajte tekst i izadjite iz editora.
Da biste pokrenuli conky otvorite terminal i kucate conky

http://www.noobslab…buntulinux.html

Ne pokrece mi se se ovaj conky. Ne znam u cemu je problem. Hoce neko da pomogne da resim ovo?

http://www.dodaj.rs/t/D/3y/1H7UQYr4/screenshot-from-2012-06-.jpg

hehe a si me nasmejo … de ste bili ti i sizofov posao kad sam ja imao kont iz srpskog :slight_smile:
zbog toga sam dobio cetri huuh