Conky - konfigi

Forumowy magiel: pogaduchy o wszystkim i o niczym.
Awatar użytkownika
slooT
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 16 maja 2007, 19:42
Płeć: Mężczyzna
Wersja Ubuntu: 7.10
Środowisko graficzne: GNOME
Kontakt:

Conky - konfigi

Post autor: slooT »

Jak wiadomo Conky jest często używany przez użytkowników Ubuntu... Każdy z nich ma swój indywidualny i dla niego najlepszą konfigurację...
Proponuję w tym wątku zamieszczać nasze pliki koniguracyjne wraz z screenami (oczywiście w miniaturze na forum z linkiem do większego rozmiaru... podobnie jak w wątku z ekranami)... Ja sam jako początkujący użytkownik Ubuntu chętnie podglądnę wasze konfigi i może skleję z nich coś własnego;] Pewien jestem, że innym 'nowym' też się to przyda;] No więc pokażcie co tam skrywacie :w00t:
Awatar użytkownika
skoruppa
Zakręcona Traszka
Zakręcona Traszka
Posty: 585
Rejestracja: 25 kwie 2006, 20:33
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Kontakt:

Post autor: skoruppa »

slooT, do kazdego screena na http://skoruppa.jogger.pl i http://skoruppa.deviantart.com dolanczam swoj config conky :)
hiroman
Piegowaty Guziec
Piegowaty Guziec
Posty: 1
Rejestracja: 03 lis 2006, 07:48
Płeć: Mężczyzna
Wersja Ubuntu: 7.10
Środowisko graficzne: GNOME
Kontakt:

Conky-konfig

Post autor: hiroman »

konfig - Tutaj
Zrzut Conky - Tutaj

Niezły opis Conkiego jest pod: http://debian.linux.pl/viewtopic.php?t=913
Prawie wszystkie warianty konfiguracji w jednym miejscu.
hiroman
Awatar użytkownika
doles2
Sędziwy Jeż
Sędziwy Jeż
Posty: 46
Rejestracja: 24 lip 2006, 19:58
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Post autor: doles2 »

Plik .conkyrc ==> http://www.wklej.org/id/30ddf4ea6f
Zrzut ekranu ==> http://www.fotosik.pl/pokaz_obrazek/pel ... 32a91.html
Conky jest w prawym górnym rogu w razie czego :)
GrzegorzJZD
Sędziwy Jeż
Sędziwy Jeż
Posty: 54
Rejestracja: 05 lut 2007, 12:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Kontakt:

Post autor: GrzegorzJZD »

Narazie .conkyrc od Ruri-ego
podobał mi się najbardziej - trochę poprzemieniam i połączę z moim dotychczasowym i będę bardzo zadowolony ;)

Oto i mój:

Kod: Zaznacz cały

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.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 200
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 top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT

Ubuntu  7.04  "Feisty Fawn"
$sysname $kernel ($machine)


Pobieranie $alignr ${downspeed eth2} kb/s
${downspeedgraph eth2}
Wysylanie $alignr ${upspeed eth2} kb/s
${upspeedgraph eth2}


Uruchomiony $alignr $uptime

$processes procesow ($running_processes uruchomiony)

Procesor $alignr ${cpu cpu0}%
${cpubar cpu0}

Pamiec $alignc $mem / $memmax $alignr $memperc%
$membar


Dyski linuksowe

/ $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}

/swap $alignc ${fs_used /swap} / ${fs_size /swap} $alignr ${fs_free_perc /swap}%
${fs_bar /swap}

Dyski windowsowe

System $alignc ${fs_used /mnt/System} / ${fs_size /mnt/System} $alignr ${fs_free_perc /mnt/System}%
${fs_bar /mnt/System}

Dane $alignc ${fs_used /mnt/Dane} / ${fs_size /mnt/Dane} $alignr ${fs_free_perc /mnt/Dane}%
${fs_bar /mnt/Dane}

Dokumenty $alignc ${fs_used /mnt/Dokumenty} / ${fs_size /mnt/Dokumenty} $alignr ${fs_free_perc /mnt/Dokumenty}%
${fs_bar /mnt/Dokumenty}

I zrzut ekranu: http://grzglo.jogger.pl/2007/06/12/moj-pulpit/
Zapraszam na mają stronę: http://grzglo.jogger.pl/
chris_
Piegowaty Guziec
Piegowaty Guziec
Posty: 1
Rejestracja: 11 lip 2007, 01:10
Płeć: Mężczyzna
Wersja Ubuntu: 8.04
Środowisko graficzne: GNOME
Kontakt:

Post autor: chris_ »

Obrazek
Kod: klik
Awatar użytkownika
majusio
Sędziwy Jeż
Sędziwy Jeż
Posty: 47
Rejestracja: 11 cze 2006, 19:33
Płeć: Mężczyzna
Wersja Ubuntu: 13.04
Środowisko graficzne: Xfce
Architektura: x86_64

Post autor: majusio »

Obrazek

Kod: Zaznacz cały

 use_xft yes
    background yes
    xftfont Consolas:size=10
    xftalpha 0.8
    update_interval 1.0
    total_run_times 0
    double_buffer yes
    alignment top_right
    gap_x 30
    gap_y 50
    minimum_size 140 5
    own_window yes
    own_window_type normal
  # own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    default_color grey
    defalut_shade_color black
    default_outline_color black
    border_margin 4
    border_width 0
    stippled_borders 8 
   
    TEXT
${color white}$nodename
$sysname $kernel on $machine
${color grey}Czas pracy:${color white} $uptime 
${color grey}Load:${color white} $loadavg
${color grey}Data: ${color white}${time %A,%d %B}
$color$stippled_hr
$color$stippled_hr
${color grey}Root: ${color yellow}${fs_used /}/${fs_size /}    ${fs_bar /}
${color grey}Home: ${color yellow}${fs_used /home}/${fs_size /home} ${fs_bar /home}
$color$stippled_hr
${color grey}Ram: ${color orange} $mem/$memmax - $memperc% ${membar}
${color grey}Swap: ${color orange} $swap/$swapmax - $swapperc% ${swapbar}
${color grey}Procesy:${color red} $processes  ${color grey}${offset 40}Running:${color red} $running_processes
$color$stippled_hr
${color grey}Sieć ${color white} [${addr eth0}]
${color grey} Pobier.${color white} ${downspeed eth0} k/s${color grey} ${offset 40}Wysył.${color white} ${upspeed eth0} k/s
${color grey}${downspeedgraph eth0 25,120 6B8E23 FFFFFF} ${color grey}${upspeedgraph eth0 25,120 6B8E23 FFFFFF}
${totaldown eth0} pobrane${color} |  ${totalup eth0} wysłane${color}
$color$stippled_hr
$color$stippled_hr
${alignc} ${color #ccccee}   MPD:${color #88ff88}Now $mpd_status
 $color ${alignc} $mpd_artist
 ${alignc} $mpd_title
 ${alignc} Volume: $mpd_vol Bitrate: $mpd_bitrate kbps
${color #ccddff} $mpd_bar $color
http://www.ubunciak.pl -> zapraszam!
Awatar użytkownika
N.Crash
Piegowaty Guziec
Piegowaty Guziec
Posty: 9
Rejestracja: 31 paź 2006, 12:59
Płeć: Mężczyzna
Wersja Ubuntu: 10.10
Środowisko graficzne: Xfce
Architektura: x86

Post autor: N.Crash »

Obrazek

Kod: Zaznacz cały

background yes

gap_x 20
gap_y 5

# X font when Xft is disabled, you can pick one with program xfontsel
font -*-*-bold-r-*-*-13-*-*-*-*-*-*-*

# Use Xft?
use_xft no

#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:encoding=utf-8:size=9
xftalpha 0.9

update_interval 1.0

total_run_times 0

own_window no

#own_window_type desktop
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes

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

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1

default_color white
default_shade_color black
default_outline_color white

alignment top_left
no_buffers yes
uppercase no

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale no

use_spacer yes

TEXT
 ${color #ddaa00}Uptime:${color} $uptime ${color #ddaa00}CPU:${color} $cpu% $loadavg ${color #ddaa00}RAM:${color} $mem ${color #ddaa00}SWAP:${color} $swap ${color #ddaa00}/:${color} ${fs_free_perc /}% (${fs_size /}) ${color #ddaa00}HDB1:${color} ${fs_free_perc /media/hdb1/}% (${fs_size /media/hdb1}) ${color #ddaa00}HDB5:${color} ${fs_free_perc /media/hdb5}% (${fs_size /media/hdb5}) ${color #ddaa00}Up:${color} ${upspeed eth0}kB/s ${color #ddaa00}Down:${color} ${downspeed eth0}kB/s 
Awatar użytkownika
sthoo
Piegowaty Guziec
Piegowaty Guziec
Posty: 17
Rejestracja: 02 wrz 2006, 16:23
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86
Kontakt:

Post autor: sthoo »

Dawno mnie nie było tu u was na forum.ubuntu.pl - mało awaryjny ten nasz Ubuntu więc nie zaglądałem.... ;)
Najpoważniejszy problem dla mnie ostatnio to conky, ale skoro się uporałem dorzucę również swoje trzy grosze...


Obrazek
Dla powyższego układu (Zmodyfikowana wersja Ruri'ego):

Kod: Zaznacz cały

# conky configuration

# 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:size=7
#xftfont Terminus:size=7
# 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 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_type desktop
# 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 no

# 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 black
default_shade_color white
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 12
gap_y 30

# Subtract file system buffers from used memory?
no_buffers yes

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

# 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
#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
#
#
#	alignc	alignr 	wysrodkuj-rownaj do prawej
#	hr				linia
#	stippled_hr		przerywana linia
#
# stuff after 'TEXT' will be formatted on screen

TEXT

${color #001eff}Procesor $hr
${color #000000}CPU: ${color #000000}$freq MHz ${color #000000}used ${color #000000}$cpu% ${cpubar}
${cpugraph 20,220 000000 ff0000}
${color #000000}LoadAvg: ${color #000000}$loadavg ${color #000000}Pr: ${color #000000}$processes ${color #000000}Ur: ${color #000000}$running_processes

${color #001eff}Pamiec $hr
${color #000000}MEM: ${alignr}all ${color #000000}$memmax ${color #000000}buffers ${color #000000}$buffers
${color #000000}used ${color #000000}$memperc% $mem ${membar}
${color #000000}SWAP: ${alignr}all ${color #000000}$swapmax ${color #000000}cached ${color #000000}$cached
${color #000000}used ${color #000000}$swapperc% $swap ${swapbar}

${color #001eff}Top $hr
${color #000000}Highest CPU: ${alignr}Highest MEM:
${font Bitstream Vera Sans:size=6}${color #000000}${top name 1}${top_mem cpu 1} ${alignr}${top_mem name 1}${top_mem mem 1}
${color #000000}${top name 2}${top cpu 2} ${alignr}${color #000000}${top_mem name 2}${top_mem mem 2}
${top name 3}${top cpu 3} ${alignr}${top_mem name 3}${top_mem mem 3}
${top name 4}${top cpu 4} ${alignr}${top_mem name 4}${top_mem mem 4}

${font Bitstream Vera Sans:size=7}${color #001eff}Siec $hr
${color #000000}DL: ${color #000000}${downspeedf ppp0}/ 128kB/s ${alignr}${color #000000}UL: ${color #000000}${upspeedf ppp0}/ 32kB/s
${color #000000}${downspeedgraph ppp0 60,109 000000 ff0000 140} ${alignr}${upspeedgraph ppp0 60,109 000000 ff0000 36}
${color #000000}IP: ${color #000000}${addr ppp0} ${alignr}${color #000000}TCP: all ${color #000000}${tcp_portmon 1 65535 count} ${color #000000}aMule ${color #000000}${tcp_portmon 4662 4672 count}
${color #000000}Pobranych:${totaldown ppp0}${alignr}${color #000000}Wyslanych:${totalup ppp0}

${color #001eff}Dysk hda1 $hr
${color #000000}${diskiograph 15,220 000000 ff0000}
${color #001eff}Partycje $hr
${color #000000}Root: ${color #000000} ${alignr}${color #000000}all ${color #000000}${fs_size /}
${color #000000}used ${color #000000}${fs_used_perc /}% ${fs_used /} ${alignr}${color #000000}free ${color #000000}${fs_free_perc /}% ${fs_free /}
${color #000000}${fs_bar 6,220 /}
${color #000000}Home ${color #000000} ${alignr}${color #000000}all ${color #000000}${fs_size /home}
${color #000000}used ${color #000000}${fs_used_perc /home}% ${fs_used /home}${alignr}${color #000000}free ${color #000000}${fs_free_perc /home}% ${fs_free /home}
${color #000000}${fs_bar 6,220 /home}
${color #000000}Gutsy Gibbon ${color #000000} ${alignr}${color #000000}all ${color #000000}${fs_size /media/hda4}
${color #000000}used ${color #000000}${fs_used_perc /media/hda4}% ${fs_used /media/hda4}${alignr}${color #000000}free ${color #000000}${fs_free_perc /media/hda4}% ${fs_free /media/hda4}
${color #000000}${fs_bar 6,220 /media/hda1}
${color #000000}FAT32 ${color #000000} ${alignr}${color #000000}all ${color #000000}${fs_size /media/hda1}
${color #000000}used ${color #000000}${fs_used_perc /media/hda1}% ${fs_used /media/hda1}${alignr}${color #000000}free ${color #000000}${fs_free_perc /media/hda1}% ${fs_free /media/hda1}
${color #000000}${fs_bar 6,220 /media/hda1}

${color #001eff}system $hr
${alignc}${color #000000}$sysname $kernel ${color #000000}on ${color #000000}$machine
${alignc}${color #000000}${exec whoami}@$nodename ${color #000000}Uptime: ${color #000000}$uptime_short
${color #001eff}$hr
${font Minisystem:size=14}${alignc}${color #001eff}$time
${color #001eff}$hr
Obrazek
Dla powyższego układu potrzebne będą czcionki Astron Boy oraz Astron Boy Video (niekoniecznie - do wyboru mamy setki czcionek :pt36: ):

Kod: Zaznacz cały

# conky configuration

# 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:size=7
#xftfont Terminus:size=7
# 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 3,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_type desktop
# 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 no

# 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 black
default_shade_color white
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 yes

# 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
#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
#
#
#	alignc	alignr 	wysrodkuj-rownaj do prawej
#	hr				linia
#	stippled_hr		przerywana linia
#
# stuff after 'TEXT' will be formatted on screen

TEXT
${font Astron Boy Video:size=20}${color #870000}
${alignc}ubuntu $sysname
${font Astron Boy Video:size=12}${color #1f2e64}$kernel on $machine
${alignc}${exec whoami}@$nodename
${alignc}UPTIME: $uptime
${alignc}IP: ${addr ppp0}
${font Astron Boy Video:size=14}${alignc}${color #1f2e64}
$hr
PROC:${alignr}$cpu% ${cpugraph 17,34 261b8a 076f0a}
${font Astron Boy Video:size=12}${alignc}top cpu:
${font Astron Boy Video:size=8}
${alignc}${top name 1}${top cpu 1}
${alignc}${top name 2}${top cpu 2}
${alignc}${top name 3}${top cpu 3}
${alignc}${top name 4}${top cpu 4}
${alignc}${top name 5}${top cpu 5}
$hr
${font Astron Boy Video:size=14}
MEMO:${alignr}$memperc% ${membar 17,34}
SWAP:${alignr}$swapperc% ${swapbar 17,34}
${font Astron Boy Video:size=12}${alignc}top mem:
${font Astron Boy Video:size=8}
${alignc}${top_mem name 1}${top_mem mem 1}
${alignc}${top_mem name 2}${top_mem mem 2}
${alignc}${top_mem name 3}${top_mem mem 3}
${alignc}${top_mem name 4}${top_mem mem 4}
${alignc}${top_mem name 5}${top_mem mem 5}
$hr
${font Astron Boy Video:size=14}
ROOT:${alignr}${fs_used_perc /}%  ${fs_bar 17,34 /}
HOME:${alignr}${fs_used_perc /home}%  ${fs_bar 17,34 /home}
HDA1:${alignr}${fs_used_perc /media/hda1}%  ${fs_bar 17,34 /media/hda1}
HDA4:${alignr}${fs_used_perc /media/hda4}%  ${fs_bar 17,34 /media/hda4}
$hr
DOWN: ${alignr}${downspeedf ppp0}KB/S ${downspeedgraph ppp0 17,34 261b8a 076f0a 140}
UPLD: ${alignr}${upspeedf ppp0}KB/S ${upspeedgraph ppp0 17,34 261b8a 076f0a 36}
${font Astron Boy Video:size=10}pobranych w sesji: ${alignr}${totaldown ppp0}
${font Astron Boy Video:size=10}wyslanych w sesji: ${alignr}${totalup ppp0}
${alignc}Przychodzące: ${tcp_portmon 1 32767 count} 
${alignc}Wychodzące: ${tcp_portmon 32768 61000 count}
${alignc}Total: ${tcp_portmon 1 65535 count}
$hr


Pozdrawiam

P.S. Wrzucajcie coś jeszcze, bo tu skąpo nieco, a windziarzom mają szczęki opadać na widok naszych Linuksów nie ?.... :mrgreen:
______________________________________________________________________________
sthoo
Awatar użytkownika
Mean-Machine
Piegowaty Guziec
Piegowaty Guziec
Posty: 5
Rejestracja: 21 kwie 2007, 00:09
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Openbox
Architektura: x86
Kontakt:

Post autor: Mean-Machine »

Full Desktop -> http://farm2.static.flickr.com/1050/105 ... b657_o.png
Conky -> http://farm2.static.flickr.com/1409/105 ... e599_o.png

Kod: Zaznacz cały

#Mean-Machine's conky configuration



total_run_times 0


double_buffer yes
update_interval 1


own_window yes
own_window_transparent yes
#own_window_type override
own_window_type root
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager




#borders

draw_borders no

#border_margin 1




#shades

draw_shades no




#position

gap_x 6

gap_y 6

alignment top_left




#colour

default_color FFFFFF

#default_shade_color 000000

#own_window_colour 484432




#font

use_xft yes

xftfont Samanata:pixelsize=10.8




#to prevent window from moving

use_spacer no

minimum_size 1268 0





TEXT

$nodename | $sysname $kernel | ${color} Uptime: ${color 46C4FF}${font}${uptime_short}${color} | ${voffset -1} Cpu: ${color 46C4FF}${font}${cpu}% ${color} | RAM: ${color 46C4FF}${font}${mem} ${color} | ${color}SWAP:${color 46C4FF}${font}$swap ${color} | ${color}Root: ${color 46C4FF}${font}${fs_free /} ${color} | hdb5: ${color 46C4FF}${font}${fs_free /media/hdb5} ${color} | ${color} Down: ${color 46C4FF}${font}${downspeed wlan0} Kb/s ${color} | ${color} Up: ${color 46C4FF}${upspeed wlan0} Kb/s ${color}   
GrzegorzJZD
Sędziwy Jeż
Sędziwy Jeż
Posty: 54
Rejestracja: 05 lut 2007, 12:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Kontakt:

Post autor: GrzegorzJZD »

Zapraszam na mają stronę: http://grzglo.jogger.pl/
rzeka
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 10 sie 2006, 02:08
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86
Kontakt:

Post autor: rzeka »

Kod: Zaznacz cały

background no
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
update_interval 5
total_run_times 0
own_window yes
own_window_transparent yes
own_window_colour grey
own_window_type override
double_buffer yes
minimum_size 200 5
maximum_width 200 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color grey
alignment bottom_right
gap_x 20
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no

TEXT
${color #859fb5}// PROCESOR${color}${alignr}$cpu% ${i2c temp 1}°C
${cpubar}

${color #859fb5}// RAM${color white}${alignr}$mem ($memperc%) ${i2c temp 2}°C
${membar}

${color #859fb5}// SWAP${color white}${alignr}$swap / $swapmax ($swapperc)%
${swapbar}

${color #859fb5}// TOP CPU${color}
${top cpu 1} ${top name 1}
${top cpu 2} ${top name 2}
${top cpu 3} ${top name 3}
${top cpu 4} ${top name 4}

${color #859fb5}// SIEĆ${color}
DL: ${downspeedf eth0} / 64 Kb/s ${alignr}UL: ${upspeedf eth0} / 16 Kb/s
${downspeedgraph eth0 20,99 000000 000000} ${alignr}${upspeedgraph eth0 20,99 000000 000000}
IP: ${addr eth0} ${alignr}TCP: ${tcp_portmon 1 65535 count}

${color #859fb5}// DYSKI${color}
System ${alignr}(${fs_free_perc /}%) ${fs_free /} / ${fs_size /}
${fs_bar /}

Pliki ${alignr}${hddtemp /dev/hdd} (${fs_free_perc /mnt/hdd}%) ${fs_free /mnt/hdd} / ${fs_size /mnt/hdd}
${fs_bar /mnt/hdd}

${color #859fb5}// SYSTEM${color}
${alignc}${exec /home/rzeka/.conky_data}
${alignc}Godzina ${time %k:%M}
${if_existing /tmp/xmms-info}
→${alignc}${exec /home/rzeka/.conky/xmms_a}${alignr}←
→${alignc}${exec /home/rzeka/.conky/xmms_t}${alignr}←
$else
${alignc}XMMS jest wyłączony
${alignc}...................
$endif
${alignc}$sysname $kernel
${alignc}Ubuntu 7.04 "Fiesty Fawn"
${alignc}${exec whoami}@$nodename ($uptime)
http://www.rzeka.net/smietnik/conky.png
GrzegorzJZD
Sędziwy Jeż
Sędziwy Jeż
Posty: 54
Rejestracja: 05 lut 2007, 12:57
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Kontakt:

Post autor: GrzegorzJZD »

Zapraszam na mają stronę: http://grzglo.jogger.pl/
Pakos
Sędziwy Jeż
Sędziwy Jeż
Posty: 83
Rejestracja: 26 sie 2005, 08:06
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: GNOME
Architektura: x86_64
Lokalizacja: Łazy
Kontakt:

Post autor: Pakos »

http://blog.allucinator.pl/?page_id=284#conky

Póki co 7 różnych wersji, co jakiś czas dodaję nowe gdy tylko nazbiera się coś :)
http://pakos.biz | http://polishteam.com.pl
Awatar użytkownika
kossa
Piegowaty Guziec
Piegowaty Guziec
Posty: 6
Rejestracja: 24 kwie 2006, 18:37
Płeć: Mężczyzna
Wersja Ubuntu: 8.04
Kontakt:

Post autor: kossa »

a ja mam coś małego i prostego :)
PNG
JPG

Kod: Zaznacz cały

use_xft yes

xftfont Sans Serif :size=9
# Xft font when Xft is enabled
#xftfont Comic Sans MS :size=8
#Bitstream Vera Sans Mono
# Text alpha when using Xft
xftalpha 0.9


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

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

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window is yes, these window manager hints may be used
own_window_hints skip_pager,sticky,undecorated,below,skip_taskbar

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

# Minimum size of text area
minimum_size 120 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

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

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

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

TEXT
${alignr}${color red}Kubuntu ${color green}Linux ${color white}7.04${color}
${alignr}Uptime:$color $uptime
${alignr}${color grey}CPU:${color white}  $cpu%
${alignr}${color grey}Swap:${color orange}  $swap${color}
${alignr}${color grey}RAM:${color green}  $mem${color}
${alignr}${color grey} home:  ${color yellow}${fs_free /home}${color}
${alignr}${color grey} root:  ${color white}${fs_free /}${color}
${alignr}${color green}up  ${color}${upspeedf ppp0}k/s
${alignr}${color red}down  ${color}${downspeedf ppp0}k/s
LukAs
Wytworny Kaczor
Wytworny Kaczor
Posty: 284
Rejestracja: 30 paź 2005, 21:56
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86_64
Kontakt:

Post autor: LukAs »

Lekko przerobiony cfg Hadret-a :roll:

Obrazek

Kod: Zaznacz cały

#avoid flicker



double_buffer yes



no_buffers yes







#own window to run simultanious 2 or more conkys



own_window yes



own_window_transparent no



own_window_type normal



own_window_hints undecorate,sticky,skip_taskbar,skip_pager 







#borders



#draw_borders no



border_margin 1







#shades



draw_shades no







#position



gap_x 40



gap_y 10



alignment top_left







#avoid flicker

double_buffer yes

no_buffers yes



#own window to run simultanious 2 or more conkys

own_window yes

own_window_transparent no

own_window_type normal

own_window_hints undecorate,sticky,skip_taskbar,skip_pager 



#borders

#draw_borders no

border_margin 1



#shades

draw_shades no



#position

gap_x 0

gap_y 0

alignment top_left



#behaviour

update_interval 1



#colour

default_color d9d9d9



#default_shade_color 000000

own_window_colour 1f1f1f



#font

use_xft yes

xftfont Tahoma:pixelsize=11



#to prevent window from moving

use_spacer no

minimum_size 1440 15



TEXT

 ${color ffd608}${font}${kernel} ${color ff8400} | ${color} Uptime: ${color ffd608}${font}${uptime_short} ${color ff8400} | ${color} CPU: ${color ffd608}${font}${cpu} ${color ff8400} | ${color} Mem: ${color ffd608}${font}$mem / $memmax ${color ff8400} | ${color} Swap: ${color ffd608}${font}$swap ${color ff8400} | ${color} DowSpeed: ${color ffd608}${font}${downspeed eth0} Kb/s  ${color ff8400} | ${color} UpSpeed: ${color ffd608}${font}${upspeed eth0} ${color ff8400} | ${color} Pobr: ${color ffd608}${font}${totaldown eth0}  ${color ff8400} | ${color} Wysł: ${color ffd608}${font}${totalup eth0}  ${color ff8400} | ${color} ${color ffd608}${time %A %d %B %Y}${color} 
W drugim podejściu, zabawa przezroczystością.
Więcej o mnie znajdziesz na: http://ospulse.pl
Awatar użytkownika
NoName_1990
Sędziwy Jeż
Sędziwy Jeż
Posty: 59
Rejestracja: 28 lut 2007, 18:01
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86

Odp: Conky - konfigi

Post autor: NoName_1990 »

Obrazek Obrazek
Obrazek
~/.conkyrc

Kod: Zaznacz cały

background yes
use_xft yes
xftfont Monospace:size=8
xftalpha 0.5
update_interval 1.0
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 no
minimum_size 200 5
maximum_width 300
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 top_right
gap_x 12
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes

TEXT
$stippled_hr
$alignc${color orange}SYSTEM$color
$stippled_hr
Ubuntu  7.04  "Feisty Fawn"
${exec whoami}@$nodename - $sysname $kernel ($machine)
$stippled_hr
Uptime: $uptime
Data: ${time %a,}${time %e %m %G}, ${time %H:%M:%S}
$stippled_hr
$alignc${color orange}CPU$color
$stippled_hr
${freq}MHz Used: $cpu% 
Load (1min): ${loadavg 1} Load (15min): ${loadavg 3}
$cpubar
$alignc${cpugraph 30,290 ffffff ffffff}
$stippled_hr
$alignc${color orange}PAMIĘĆ$color
$stippled_hr
RAM:  $mem / $memmax   używane. $alignr $memperc%
$membar
Swap: $swap / $swapmax   używane. $alignr $swapperc%
$swapbar
$stippled_hr
$alignc${color orange}DYSKI$color
$stippled_hr
/              ${fs_used /} / ${fs_size /} $alignr Wolne: ${fs_free_perc /}%
${fs_bar /}
/media/sda5    ${fs_used /media/sda5} / ${fs_size /media/sda5} $alignr Wolne: ${fs_free_perc /media/sda5}%
${fs_bar /media/sda5}
/media/sda6    ${fs_used /media/sda6} / ${fs_size /media/sda6} $alignr Wolne: ${fs_free_perc /media/sda6}%
${fs_bar /media/sda6}
$stippled_hr
$alignc${color orange}NET (${addr ppp0})$color
$stippled_hr
DL: ${downspeedf ppp0} / 80kB/s ${alignr}UL: ${upspeedf ppp0} / 16kB/s
${downspeedgraph ppp0 30,100 ff0000 ff0000}${alignr}${upspeedgraph ppp0 30,100 00ff00 00ff00}
Total:${totaldown ppp0}${alignr}Total:${totalup ppp0}
$stippled_hr
$alignc${color orange}GMAIL$color
$stippled_hr
${execi 600 ~/conky/gmail}
~/conky/gmail

Kod: Zaznacz cały

#!/bin/bash 

gmail_login="login"
gmail_password="haslo"

dane="$(wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O - https://${gmail_login}:${gmail_password}@mail.google.com/mail/feed/atom --no-check-certificate | grep 'fullcount' | sed -e 's/.*<fullcount>//;s/<\/fullcount>.*//' 2>/dev/null)" 

if [ -z "$dane" ]; then 
	echo "Błąd połaczenia" 
else 
	let wynik=$dane;
	if [ $wynik = 0 ]; then
		echo "Nie masz nowych wiadomości."
	elif [ $wynik = 1 ]; then
		echo "Masz 1 nową wiadomość."
	else
		if [ $wynik -lt 5 ]; then
			echo "Masz $wynik nowe wiadomości."
		else
			echo "Masz $wynik nowych wiadomości."
		fi
	fi
fi
PS. Skrypt sprawdzający gmaila nie jest mojej roboty - ja dopisałem tylko odmianę ("1 nowa wiadomość", "2 nowe wiadomości" itd.) Nie podałem autora, bo nie pamiętam nawet skąd ten skrypt mam... :cry: tzn... chyba to było gdzieś na forum, ale nie chce mi się szukać - za leniwy jestem :razz:
kurak_bu
Piegowaty Guziec
Piegowaty Guziec
Posty: 1
Rejestracja: 17 lut 2006, 08:59
Płeć: Mężczyzna
Wersja Ubuntu: 7.10
Środowisko graficzne: GNOME
Kontakt:

Odp: Conky - konfigi

Post autor: kurak_bu »

Minimalizm do bólu:
Obrazek

conkyrc
http://wklej.org/id/f1fdfb819e
Awatar użytkownika
krak
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 12 lis 2007, 23:45
Płeć: Mężczyzna
Wersja Ubuntu: 8.04
Środowisko graficzne: GNOME
Kontakt:

Odp: Conky - konfigi

Post autor: krak »

Kolory tekstu są kolorami loga Ubuntu
żeby odpalic sensor temperatury zajrzyj tu : http://debian.linux.pl/viewtopic.php?p=6370#6370

Obrazek

Kod: Zaznacz cały

#avoid flicker
double_buffer yes
no_buffers yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
#draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 0
gap_y 0
alignment top_left

#behaviour
update_interval 1

#colour
default_color d9d9d9

#default_shade_color 000000
own_window_colour 1f1f1f

#font
use_xft yes
xftfont Tahoma:pixelsize=11

#to prevent window from moving
use_spacer no
minimum_size 1440 15

TEXT
${color ff6309}Ubuntu: ${color ffb515}7.10 Gutsy Gibbon${color c90016} | ${color} ${color ff6309}Kernel: ${color ffb515}$kernel ${color c90016} | ${color} ${color ff6309}Uptime: ${color ffb515}${font}${uptime}${color c90016} | ${color} ${color ff6309}Cpu: ${color ffb515}${font}${cpu}% ${color c90016} | ${color}${color ffb515}Mem: ${color ffb515}$mem/$memmax ${color c90016} | ${color}${color ff6309}SWAP: ${color ffb515}${font}$swap ${color c90016} | ${color}${color ff6309}Temp: ${color ffb515}CPU:${color ffb515} ${i2c temp 2}C ${color ffb515}MB:${color ffb515} ${i2c temp 1}C${color c90016} | ${color}${alignr}${color ff6309}Date: ${color ffb515}${time %A %d %B %Y}${color}
One of the things you learn after years of dealing with drug people is that you can turn your back on a person
but never turn your back on a drug...
Skubert
Sędziwy Jeż
Sędziwy Jeż
Posty: 37
Rejestracja: 02 lis 2007, 11:40
Płeć: Mężczyzna
Wersja Ubuntu: 9.04
Środowisko graficzne: Openbox
Kontakt:

Odp: Conky - konfigi

Post autor: Skubert »

Majne .conkyrc
Screen:
Obrazek

Conkyrc:

Kod: Zaznacz cały

background yes
use_xft yes
xftfont HandelGotD:size=9
xftalpha 0.5
update_interval 1.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 200
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 top_right
gap_x 12
gap_y 650
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT

System:
${color white} $hr
${alignc}${color white}Ubuntu  7.10  "Gibki gibon"
${alignc}${color white}${exec whoami}@$nodename ${color #DEDEDE}
${alignc}Uptime: ${color white}$uptime

CPU: ${color white}$freq MHz ${color #DEDEDE}used ${color white}$cpu% ${cpubar}
RAM:${color white}$memperc% ${color white}${membar 6}${color} 
${color white} $hr
Dyski
${color white} $hr
/ $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}
ODPOWIEDZ

Wróć do „Pogaduchy”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 12 gości