Conky
Moderator/ica: Moderatori/ce
Re: Conky
Kad sve to napravim,izbaci mi ovu gresku,nakon sto upisem u terminal "conky"
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: can't open '/sys/bus/i2c/devices/i2c-0/temp2_input': No such file or directory
please check your device or remove this var from Conky
Segmentacijska greška
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: can't open '/sys/bus/i2c/devices/i2c-0/temp2_input': No such file or directory
please check your device or remove this var from Conky
Segmentacijska greška
- Suko
- Site Admin
- Postovi: 16079
- Pridružen/a: 03 tra 2008, 18:09
- Spol: M
- OS: Mint 17 Cinnamon
- Lokacija: Svugdi me ima. Slavonija uglavnom.
Re: Conky
Stavi .conkyrc ovdje da vidimo.
I za početak radi s jednostavnijim conkyrc-ovima.
Oni složeniji možda trebaju dodatne skripte da bi radili.
Probaj neki drugi .conkyrc.
I za početak radi s jednostavnijim conkyrc-ovima.
Oni složeniji možda trebaju dodatne skripte da bi radili.
Probaj neki drugi .conkyrc.
- CaM
- Postovi: 535
- Pridružen/a: 11 sij 2010, 23:18
- Spol: M
- OS: Xubuntu 12.04
- Lokacija: Koprivnica - JN86JG
- Kontakt:
Re: Conky
@maki
probaj sa ovim
probaj sa ovim
Kod: Označi sve
# set to yes if you want Conky to be forked in the background
background no
# 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=9.5
# Text alpha when using Xft
xftalpha 1.0
# Print everything to console?
#out_to_console yes
# 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 yes
own_window_type override
own_window_transparent yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_colour black
own_window_hints yes
own_window_title conkymain
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 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 0
gap_y 0
# 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 yes
# stuff after 'TEXT' will be formatted on screen
TEXT
${offset 57}${color darkseagreen}${time %a}
${offset 23}${color darkseagreen}${time %e %B %G}
${offset 47}${color slate grey}Mjesto
${offset 15}${color slate grey}00°00'N / 00°00'E
${offset 17}${font Arial:bold:size=25}${color slate grey}${color }${time %H:%M}${font Arial:bold:size=12}${color burlywood}${time :%S}${font}
${color slate grey}UpTime: ${color darkseagreen}$uptime
${color slate grey}Kernel:${color darkseagreen}$kernel
${color slate grey}CPU:${color red} $cpu% ${acpitemp}°C
${color lightgrey}${cpugraph 25,130 000000 ff0000}
#${color red}${cpubar 10}
${color slate grey}Load: ${color darkseagreen}$loadavg
${color slate grey}Processes: ${color darkseagreen}$processes
${color slate grey}Running: ${color red3}$running_processes
${color slate grey} ${hr 1}
${color green}Highest CPU:
${color #ddaa00} ${top name 1}${top_mem cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color slate grey} ${hr 1}
${color green}Highest MEM:
${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${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}
${color slate grey} ${hr 1}
${color slate grey}MEM: ${color seagreen3} $memperc% $mem/$memmax
${color slate grey}${memgraph 15,100 000000 44f218}
${color slate grey}SWAP: ${color orange}$swapperc% $swap/$swapmax
${color yellow}${swapbar 5,100}
${color slate grey}HDD1: ${color lightblue}${fs_free /}/${fs_size /}
${color skyblue3}${fs_bar 3,100 /}
${color slate grey}HDD2: ${color lightgreen}${fs_free /media/Vanjski_1}/${fs_size /media/Vanjski_1}
${color lightgreen}${fs_bar 3,100 /media/Vanjski_1}
${color slate grey}HDD2_1: ${color burlywood}${fs_free /media/VanjskiExt4}/${fs_size /media/VanjskiExt4}
${color burlywood}${fs_bar 3,100 /media/VanjskiExt4}
${color slate grey} ${hr 1}
${color slate grey}NET:
${color red}Up: ${color red}${upspeed wlan0} ${color grey}/ ${color grey}${color green}DL: ${color green}${downspeed wlan0}
#${color grey}${upspeedgraph wlan0 20,70 000000 ff0000}${downspeedgraph wlan0 20,70 000000 00ff00}
${color slate grey}SSID:${color darkseagreen}${wireless_essid wlan0}
${color slate grey} ${hr 1}
${color slate grey}Connection Quality:${color darkseagreen}${wireless_link_qual wlan0}%
#${color darkseagreen}${downspeedgraph wlan0 10, 130 00000 20ff20}
# end
BLOG - http://www.cmid.bloger.hr/ || My web page
- Suko
- Site Admin
- Postovi: 16079
- Pridružen/a: 03 tra 2008, 18:09
- Spol: M
- OS: Mint 17 Cinnamon
- Lokacija: Svugdi me ima. Slavonija uglavnom.
Re: Conky
Na ovom linku imaš manje-više sve opcije koje idu u Conky, zajedno sa sintaksom.maki je napisao/la:Gdje mogu naci kratice sve vezane za conky za izmjene,dopunjavanje itd,pa da proucim sve za ubuduce?
Pogledaj i moj conkyrc. Imaš na početku jako puno uputa kako dodati pojedine opcije.
Jako je dobar za učenje...
Kod: Označi sve
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent no
#own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 150 5
maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# 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 white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 15
gap_y 140
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and tex
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# none, xmms, bmp, audacious, infopipe (default is none)
xmms_player bmp
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# 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
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# 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
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# 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
# 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
# torsmo 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
# 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 torsmo
# has started.
# 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
# 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
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
TEXT
${color #0077ff}${time %A %d %m %Y}
${font Bitstream Vera Sans Mono:size=20}${color #ffffff}${time %H:%M}${font Bitstream Vera Sans Mono:size=8}
${color #0077ff}$sysname $kernel
$machine - $nodename
${color #0077ff}Uptime:${color lightgrey} $uptime ${color #0077ff}
${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${color #0077ff}Usage:${color #0077ff} ${color lightgrey}${cpu}% ${color #0077ff}${cpubar}
${color #0077ff}${cpugraph 000000 0077ff}
${color #0077ff}Network: ${color lightgrey}${addr eth0}
${color #0077ff}Down:${color lightgrey} ${downspeed eth0} $alignr${color #0077ff} Up:${color lightgrey} ${upspeed eth0}
${color #0077ff}${downspeedgraph eth0 27,70 000000 0077ff 180} $alignr${color #0077ff}${upspeedgraph eth0 27,70 000000 0077ff 25}
${color lightgrey}${totaldown eth0} $alignr ${color lightgrey}${totalup eth0}
${color #0077ff}RAM:${color lightgrey} $mem/$memmax - $memperc% ${alignr}
${color #0077ff}${membar 5,150}
${color #0077ff}DISK:
${color #0077ff}${diskiograph 000000 0077ff}
${color #0077ff}Hard Disks:
${color #0077ff} Root ${color lightgrey}${fs_used /}/${fs_size /}${alignr}${color #0077ff}
${fs_bar 5,150 /}
#${color #0077ff} Data ${color lightgrey}${fs_used /media/1c6a77ae-8199-4b0b-b49e-b6fecd09e9c5}/${fs_size /media/1c6a77ae-8199-4b0b-b49e-b6fecd09e9c5}${alignr}${color #0077ff}
#${fs_bar 5,150 /media/1c6a77ae-8199-4b0b-b49e-b6fecd09e9c5}
${color #0077ff}CPU Usage PERC:
${color lightgrey} ${top name 1} ${top cpu 1}
${color #0077ff} ${top name 2} ${top cpu 2}
${color #0077ff} ${top name 3} ${top cpu 3}
${color #0077ff}Mem Usage PERC:
${color lightgrey} ${top_mem name 1} ${top_mem mem 1}
${color #0077ff} ${top_mem name 2} ${top_mem mem 2}
${color #0077ff} ${top_mem name 3} ${top_mem mem 3} Re: Conky
Zanima me kako prikazati "Cover art" (omot albuma) iz Rhythmboxa u Conkyu.
Za početak evo moj conkyrc
Prikaz "Cover arta" sa neta odnosno albumart.org radi bez problema kao što se može vidjeti na slici:
http://img844.imageshack.us/img844/429/ ... lona11.png
ali je problem što oni imaju vrlo malo omota od domaće glazbe (strani autori ok) i što u conkyu ostaje omot koji je zadnji nađen na netu za pjesme koje nemaju cover na netu.
Uz Googlanje nisam uspio naći rješenje koje radi kod mene, sve što sam probao nula bodova.
Imam instaliran "Conky colors"(conkyRhythmbox) i bez problema mi vuče podatke iz Rhythmboxa, sve osim omota albuma, a pošto sam "covere" poprilično riješio u bazi bilo bi zadovoljavajuće da podatke vuče iz baze a ne sa neta. Da napomenem da Rhythmbox uredno prikazuje spremljene omote albuma.
Ako ima netko tko je ovo već podesio ili zna rješenje bio bi zahvalan. Svaka sugestija dobro došla.
Za početak evo moj conkyrc
Kod: Označi sve
######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
double_buffer yes
no_buffers no
net_avg_samples 2
override_utf8_locale yes
no_buffers yes
imlib_cache_size 0
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Liberation Sans:size=9
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
own_window yes
own_window_colour black # 3C3C3C
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment top_left
gap_x 10
gap_y 27
minimum_size 250 0
maximum_width 250
#########################
# - Graphics settings - #
#########################
default_color 3C3C3C #black
#default_color D8D8D8 #white
draw_borders no
border_width 2
border_inner_margin 10
draw_graph_borders yes
draw_outline no
draw_shades no
color1 E07A1F #orange
color2 8B4513 #saddle brown
color3 82B6C1 #blue
color4 FF0000 # red
color5 da6e14 # orange
color6 008B8B # cyan4
color7 FFC125 # yelow
color8 B8860B # brown
color9 a3a3a3 # silver
TEXT
${font Liberation Sans:style=Bold:size=12}SUSTAV $stippled_hr${font}
#
###########
# - SYSTEM - #
###########
#
${color}${font Poky:size=15}S${font}${color}${goto 38}${voffset -8}Kernel: ${alignr}${color8}${sysname} ${color2} ${kernel} ${color8}${machine}${color}
${goto 38}Radno vrijeme: ${alignr}${color6}${uptime}${color}
${goto 38}Nadopune: ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 360 aptitude search "~U" | wc -l | tail}${color}${font} ${color}Paketa${color}
${offset 1}${color}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -15}${goto 38}CPU: ${font Liberation Sans:style=Bold:size=8}${color1} ${cpu cpu}% ${alignr}${color}${cpugraph 25,145 cpu}
${voffset 2}${color}${font Poky:size=15}a${font}${color}${goto 38}${voffset -10}Procesi: ${color}${alignr}CPU %${color}
${voffset -1}${goto 46}${color7}${top name 1}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top cpu 1}${color}${font}
${voffset -1}${goto 46}${color7}${top name 2}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top cpu 2}${color}${font}
${voffset -1}${goto 46}${color7}${top name 3}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top cpu 3}${color}${font}
${color}${font Poky:size=16}M${font}${color}${goto 38}${voffset -7}RAM: ${font Liberation Sans:style=Bold:size=8}${color1}$memperc%${color}${font}${alignr}${color}${membar 8,60}
${offset 1}${voffset 3}${color}${goto 100}${color8}${mem}${color} / ${color6}${memeasyfree}
${voffset -8}${color}${font StyleBats:size=16}j${font}${color} SWAP: ${font Liberation Sans:style=Bold:size=8}${color1}$swapperc%${color}${font}${alignr}${color}${swapbar 8,60}${color}
${offset 1}${voffset 3}${color}${goto 110}${color8}${swap}${color} / ${color6}${swapfree}
${voffset 2}${color}${font Poky:size=15}a${font}${color}${goto 38}${voffset -16}Procesi: ${color}${alignr}RAM %${color}
${voffset -1}${goto 46}${color7}${top_mem name 1}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top_mem mem 1}${color}${font}
${voffset -1}${goto 46}${color7}${top_mem name 2}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top_mem mem 2}${color}${font}
${voffset -1}${goto 46}${color7}${top_mem name 3}${color}${font Liberation Sans:style=Bold:size=8}${color1}${alignr }${top_mem mem 3}${color}${font}
#
###############
# - TEMPERATURA - #
###############
#
${voffset 4}${font Liberation Sans:style=Bold:size=12}TEMPERATURA $stippled_hr${font}
${color}${font weather:size=35}y${font}${color}${goto 38}${voffset -25}${color}Procesor: ${goto 110}${color5}${hwmon 1 temp 1}°C ${color}${goto 170}Jezgra: ${alignr}${color5}${execi 300 sensors | grep Core0 | cut -c15-16 ;}°C
${goto 38}${color}Matična ploča: ${alignr}${color5}${hwmon 1 temp 2}°C
${offset 20}${color}${goto 38}${pre_exec nc localhost 7634 | sed -e 's/|[[:digit:]]\{2,4\}|C|/\n/g' | grep sda | sed -e 's/|.*|//'}: ${alignr} ${color5}${hddtemp /dev/sda}°C
${offset 20}${color}${goto 38}${pre_exec nc localhost 7634 | sed -e 's/|[[:digit:]]\{2,4\}|C|/\n/g' | grep sdb | sed -e 's/|.*|//'}: ${alignr} ${color5}${hddtemp /dev/sdb}°C${color}${font}
#
###########
# - DISKOVI - #
###########
#
${voffset 4}${font Liberation Sans:style=Bold:size=12}DISKOVI $stippled_hr${font}
${color}${font Poky:size=15}y${font}${color}${goto 38}${voffset -8}${color }root${goto 95}${color8}${fs_used /} ${color}/ ${color6}${fs_size /}${alignr}${color5}${fs_used_perc /}%
${color}${goto 38}${fs_bar 8 /}
${goto 38}${color }home${goto 95}${color8}${fs_used /home} ${color}/ ${color6}${fs_size /home}${alignr}${color5}${fs_used_perc /home}%
${color}${goto 38}${fs_bar 8 /home}
${goto 38}${color }DATA${goto 95}${color8}${fs_used /media/DATA} ${color}/ ${color6}${fs_size /media/DATA}${alignr}${color5}${fs_used_perc /media/DATA}%
${color}${goto 38}${fs_bar 8 /media/DATA}
#
##########
# - MREŽA - #
##########
#
${voffset 4}${font Liberation Sans:style=Bold:size=12}MREŽA $stippled_hr${font}
${voffset -4}${color}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Preuzimanje: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed eth0}${color}${font} ${alignr}${color}${downspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
${voffset -2}${color}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Slanje: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed eth0}${color}${font}${alignr}${color}${upspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
#
${voffset 8}${color}${font Poky:size=14}Y${font}${color}${goto 38}${voffset -14}${color}Danas: ${color8}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $2 $3}'} ${color1}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'} ${alignr}${color6}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $8 $9}'}
#
${goto 38}${color}Tjedan: ${color8}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $3 $4}'} ${color1}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $6 $7}'} ${alignr}${color6}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $9 $10}'}
#
${goto 38}${color}Mjesec: ${color8}${execi 10 vnstat -i eth0 -m | grep "Sep '10" | awk '{print $3 $4}'} ${color1}${execi 10 vnstat -i eth0 -m | grep "Sep '10" | awk '{print $6 $7}'} ${alignr}${color6}${execi 10 vnstat -i eth0 -m | grep "Sep '10" | awk '{print $9 $10}'}${font}
${color}${font Poky:size=15}r${font}${color}${goto 38}${voffset -4}IP Adresa:${goto 110}${color6}${execi 3600 wget -O - http://whatismyip.org/ | tail}${alignr}${color7}${addr eth0}${color}
#
###########
# - GLAZBA - #
###########
#
${voffset 4}${color}${font Liberation Sans:style=Bold:size=12}GLAZBA $stippled_hr${font}${voffset -50}${image ~/.notplaying -p 0,652 -s 90x90 -f 30}
${if_running rhythmbox}
${if_match "${exec rhythmbox-client --print-playing-format %tt}" == "Not playing"}
${voffset -50}${image ~/.notplaying -p 0,652 -s 90x90 -f 30}
${offset 95}No Track
$else
${execi 15 ~/bin/getcover}
${voffset 8}${image ~/.album -p 0,640 -s 90x90 -f 30}
${offset 95}${color1}${execi 1 rhythmbox-client --print-playing-format %tt}
${offset 95}${color6}${execi 1 rhythmbox-client --print-playing-format %ta}
${offset 95}${color2}${execi 1 rhythmbox-client --print-playing-format %at} (${execi 30 rhythmbox-client --print-playing-format %ay})
${offset 95}${color8}${execi 1 rhythmbox-client --print-playing-format %te} / ${execi 30 rhythmbox-client --print-playing-format %td}$endif$endif
${offset 95}${color9}${execibar 1 conkyRhythmbox --datatype=PP}
${offset 95}${color1}${font PizzaDude Bullets:size=10}BBBBB${font}${offset 95}${font PizzaDude Bullets:size=10}${execi 1 conkyRhythmbox --datatype=RT}
#
#############
# - KALENDAR - #
#############
#
${voffset 10}${color}${font Liberation Sans:style=Bold:size=12}KALENDAR$stippled_hr${font}
${voffset -12}${goto 38}${font Arial Black:size=38}${color3}${time %H}${color}${font}${voffset -28}${font Liberation Sans:style=Bold:size=11}${color3}${time :%M}${time :%S}${color}${font}
${voffset -3}${goto 110}${font Liberation Sans:style=Bold:size=8}${color1}${time %A}${color8}${font}
${voffset -1}${goto 110}${time %d %B %Y}
${color}${font Poky:size=15}d${voffset -12}${font andale mono:size=10}${color}${execpi 600 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc -28} /' | sed /" $DJS "/s/" $DJS "/" "'${color4}'"$DJS"'${color}'" "/}${font}http://img844.imageshack.us/img844/429/ ... lona11.png
ali je problem što oni imaju vrlo malo omota od domaće glazbe (strani autori ok) i što u conkyu ostaje omot koji je zadnji nađen na netu za pjesme koje nemaju cover na netu.
Uz Googlanje nisam uspio naći rješenje koje radi kod mene, sve što sam probao nula bodova.
Imam instaliran "Conky colors"(conkyRhythmbox) i bez problema mi vuče podatke iz Rhythmboxa, sve osim omota albuma, a pošto sam "covere" poprilično riješio u bazi bilo bi zadovoljavajuće da podatke vuče iz baze a ne sa neta. Da napomenem da Rhythmbox uredno prikazuje spremljene omote albuma.
Ako ima netko tko je ovo već podesio ili zna rješenje bio bi zahvalan. Svaka sugestija dobro došla.
Re: Conky
Jel zna netko riješiti ovo što je anthony pitao?
Imam isti problem...
Imam isti problem...
Dropbox, jednostavno možete otvoriti račun i besplatno dobijete 2 GB http://db.tt/OioEmCb Ukoliko prilikom registracije koristite navedeni link oboje dobijemo 500 MB gratis.
