|
mati75
|
 |
« : Październik 05, 2009, 01:39:01 » |
|
Witam! Tak jak obiecałem. W tym temacie będzie prezentować konfingi conky. Prosiłbym o dawanie w znacznikach code. Podobne tematy na innych forach:
|
|
|
|
« Ostatnia zmiana: Luty 21, 2010, 07:55:08 wysłana przez mati75 »
|
Zapisane
|
HP 2510p || HP 8510w || Od 16.01 do 03.02 nie istnieje, nie odpowiadam na żadne wiadomości
|
|
|
|
mati75
|
 |
« Odpowiedz #1 : Październik 05, 2009, 02:02:42 » |
|
Więc ja zaczynam  Zrzut:  i konfig: #avoid flicker double_buffer 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 5 gap_y 0 alignment top_left
#behaviour update_interval 1
#colour default_color 8f8f8f #default_shade_color 000000 own_window_colour 222222
#font use_xft yes xftfont DejaVu Serif Book:pixelsize=9
#to prevent window from moving use_spacer none minimum_size 1280 0
#mpd mpd_host localhost mpd_port 6600
# 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, #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português # stuff after 'TEXT' will be formatted on screen #${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
#$alignc center text TEXT ${color whitesmoke}${font openlogos:size=24}J${font}${goto 30}${voffset -16}${color #AFAFAF} ${color}Processes: ${color ecedee}$processes ${color}Running: ${color ecedee}$running_processes | ${color}Cpu: ${color ecedee}${cpu}% ${color}${cpugraph 10,60 303030 ecedee} ${color ecedee} | ${color }Mem: ${color ecedee}$mem/$memmax - $memperc% ${color} ${membar 6,60}${color ecedee} | ${color} Uptime: ${color e0e0e0}${font}${uptime_short}${color} | ${color} Down: ${color e0e0e0}${font}${downspeed eth0} Kb/s ${color} ${totaldown eth0}${color} | Up: ${color} ${color e0e0e0}${upspeed eth0} Kb/s ${color} ${totalup eth0}${color} | ${color}Root: ${color e0e0e0}${font}${fs_free /} ${color} Home: ${color e0e0e0}${font}${fs_free /home}${color}|
|
|
|
|
|
Zapisane
|
HP 2510p || HP 8510w || Od 16.01 do 03.02 nie istnieje, nie odpowiadam na żadne wiadomości
|
|
|
kuka
Miętowy liść
Offline
Płeć: 
Distro: Debian Sid
Wiadomości: 41
Jid: kuka@ubuntu.pl
|
 |
« Odpowiedz #2 : Październik 05, 2009, 02:47:30 » |
|
Mój świeży conky na świeżej instalce: #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 1
gap_y 1
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 ${alignc}${color 5598d7}Kernel: ${color e8711a}$kernel ${color 5598d7}Uptime: ${color e8711a}$uptime_short ${color 5598d7}Cpu: ${color e8711a}$cpu% ${freq}MHz ${color 3c3c3c}${cpugraph 10,50 92C1EE 5598d7} ${color 5598d7}Ram: ${color e8711a}$memperc% $mem/$memmax ${color 5598d7}Download: ${color e8711a}${downspeed wlan0}k/s ${color 3c3c3c}${downspeedgraph wlan0 10,50 92C1EE 5598d7} ${color 5598d7}Total: ${color e8711a}${totaldown wlan0} ${color 5598d7}Upload: ${color e8711a}${upspeed wlan0}k/s ${color 3c3c3c}${upspeedgraph wlan0 10,50 92c1ee 5598d7} ${color 5598d7}Total:${color e8711a} ${totalup wlan0} ${color 5598d7}
|
|
|
|
|
Zapisane
|
|
|
|
|
Forum Linux Mint
|
 |
« Odpowiedz #2 : Październik 05, 2009, 02:47:30 » |
|
|
|
|
|
|
Zapisane
|
|
|
|
yooz
Miętowy liść
Offline
Płeć: 
Distro: Linux Mint 9 Isadora
Wiadomości: 42
|
 |
« Odpowiedz #3 : Październik 05, 2009, 09:31:37 » |
|
# Create own window instead of using desktop (required in nautilus) own_window yes own_window_type normal own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer yes use_xft no # Update interval in seconds update_interval 3.0 # Minimum size of text area # minimum_size 250 5 # Draw shades? draw_shades no # Text stuff draw_outline no # amplifies text if yes draw_borders no font arial uppercase no # set to yes if you want all text to be in uppercase # Stippled borders? stippled_borders 3 # border margins border_margin 9 # border width border_width 10 background yes #prawy dolny rog gap_x 1000 gap_y 50 maximum_width 200 # X font when Xft is disabled, you can pick one with program xfontsel font -*-*-*-r-normal--14-*-*-*-c-*-iso8859-2 #font -xos4-terminus-*-r-normal-*-12-100-*-*-c-*-iso10646-1 # Use Xft? use_xft yes 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 yes own_window_type override 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 no 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 yes use_spacer yes TEXT ${color #ddaa00}${font Terminus:charset=iso8859-2:size=15}${time %A}${color} ${font :encoding=iso8859-2:size=9}$alignc${color #ddaa00}${time %e %B %G} ${color slate grey}Kernel: $alignc${color }$kernel ${color slate grey}UpTime: $alignc${color }$uptime ${color slate grey}Load: $alignc${color }$loadavg ${color }${color slate grey}CPU: $color%${color #ddaa00}$cpu$alignr$color$running_processes/ $processes ${color slate grey}${cpugraph 25,200 000000 ffffff} ${font :size=8}${color #ddaa00}${top name 1}$alignr${top cpu 1} ${color lightgrey}${top name 2}$alignr${top cpu 2} ${color lightgrey}${top name 3}$alignr${top cpu 3} ${color lightgrey}${top name 4}$alignr${top cpu 4} ${font :size=9} ${color slate grey}RAM: $color%$memperc ${alignr}$mem ${membar 5,200} ${color slate grey}SWAP: $color%$swapperc ${alignr}$swap ${swapbar 5,200} ${font :size=8}${color #ddaa00}${top_mem name 1}$alignr${top_mem mem 1} ${color lightgrey}${top_mem name 2}$alignr${top_mem mem 2} ${color lightgrey}${top_mem name 3}$alignr${top_mem mem 3} ${color lightgrey}${top_mem name 4}$alignr${top_mem mem 4} ${font :size=9} ${color slate grey}TWARDZIEL: $color$alignr$diskio ${color slate grey}${diskiograph 25,200 000000 ff0000} ${color slate grey} /:${alignr}${color }${fs_free /} ${fs_bar 5,200 /} ${color slate grey}INTERNET: ${color}DL:${color #ddaa00}${downspeed eth0}${color}UP:${color #ddaa00}${upspeed eth0}${color}${alignr}KiB/s ${offset 10}${color}Total: ${color white}${totaldown eth0} ${offset 10}${color}Total: ${color white}${totalup eth0} ${color slate grey}${downspeedgraph eth0 25,200 000000 00ff00} ${color slate grey}${upspeedgraph eth0 25,200 000000 0000ff} Oto mój cfg, przepraszam za brak screena
|
|
|
|
|
Zapisane
|
|
|
|
|
szymon
|
 |
« Odpowiedz #4 : Październik 06, 2009, 03:06:33 » |
|
Teraz mój:  background yes
#prawy gorny rog gap_x 1050 gap_y 5
maximum_width 200
# X font when Xft is disabled, you can pick one with program xfontsel #font -*-*-*-r-normal--14-*-*-*-c-*-iso8859-2 font -xos4-terminus-*-r-normal-*-12-100-*-*-c-*-iso10646-1
# Use Xft? use_xft yes
#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 yellow 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 yes
use_spacer yes
TEXT ${color #ddaa00}${font Terminus:encoding=iso8859-2:size=15}${time %A}${color} ${font :encoding=iso8859-2:size=9}$alignc${color #ddaa00}${time %e %B %G}
${color slate grey}Kernel: $alignc${color }$kernel ${color slate grey}UpTime: $alignc${color }$uptime ${color slate grey}Load: $alignc${color }$loadavg
${color }${color slate grey}CPU: $color%${color #ddaa00}$cpu$alignr$color$running_processes/ $processes ${color slate grey}${cpugraph 25,200 000000 ffffff} ${font :size=8}${color #ddaa00}${top name 1}$alignr${top cpu 1} ${color lightgrey}${top name 2}$alignr${top cpu 2} ${color lightgrey}${top name 3}$alignr${top cpu 3} ${color lightgrey}${top name 4}$alignr${top cpu 4} ${font :size=9} ${color slate grey}RAM: $color%$memperc ${alignr}$mem ${membar 5,200} ${color slate grey}SWAP: $color%$swapperc ${alignr}$swap ${swapbar 5,200} ${font :size=8}${color #ddaa00}${top_mem name 1}$alignr${top_mem mem 1} ${color lightgrey}${top_mem name 2}$alignr${top_mem mem 2} ${color lightgrey}${top_mem name 3}$alignr${top_mem mem 3} ${color lightgrey}${top_mem name 4}$alignr${top_mem mem 4} ${font :size=9}
${color slate grey}INTERNET: ${color}DL:${color #ddaa00}${downspeed eth0}${color}UP:${color #ddaa00}${upspeed eth0}${color}${alignr}KiB/s ${offset 10}${color}Total: ${color white}${totaldown eth0} ${offset 10}${color}Total: ${color white}${totalup eth0} ${color slate grey}${downspeedgraph eth0 25,200 000000 00ff00} ${color slate grey}${upspeedgraph eth0 25,200 000000 0000ff}
${color #0077ff}@Connections@ $color Outbound: ${tcp_portmon 32768 61000 count} $color Inbound: ${tcp_portmon 1 32767 count} ${color #0077ff}Outbound Connection ${alignr} Port$color
|
|
|
|
|
Zapisane
|
Pozdrawiam szymon
|
|
|
|
mati75
|
 |
« Odpowiedz #5 : Styczeń 30, 2010, 05:18:41 » |
|
use_xft yes xftfont Liberation Sans:size=8 override_utf8_locale yes
text_buffer_size 2048 update_interval 1 total_run_times 0 double_buffer yes no_buffers yes net_avg_samples 1 cpu_avg_samples 1
own_window_class Conky own_window yes own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc draw_shades no
color0 white color1 77507b color2 white
alignment top_right gap_x 25 gap_y 40 minimum_size 182 0 maximum_width 182
imlib_cache_size 0
TEXT ${font Liberation Sans:style=Bold:size=8}SYSTEM $stippled_hr${font} ${color0}${voffset 6}${font OpenLogos:size=19}J${font}${color}${goto 32}${voffset -14}Kernel: ${alignr}${color2}${kernel}${color} ${goto 32}Uptime: ${alignr}${color2}${uptime}${color} ${offset 1}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu1}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 0' | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu1 8,50 5C3566 77507B}${color} ${goto 32}CPU2: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu2}%${font} ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 1' | cut -c15-16}°C${color}${font} ${color2}${cpugraph cpu2 8,50 5C3566 77507B}${color} ${color0}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}RAM: ${font Liberation Sans:style=Bold:size=8}${color1}$memperc%${color}${font} ${offset 1}${voffset 2}${color2}${membar 4,18}${color}${goto 32}${voffset -2}F: ${color2}${memeasyfree}${color} U: ${color2}${mem}${color} ${voffset 2}${color0}${font Poky:size=14}s${font}${color}${voffset -8}${goto 32}SWAP: ${font Liberation Sans:style=Bold:size=8}${color1}${swapperc}%${color}${font} ${voffset 4}${offset 1}${color2}${swapbar 4,18}${color}${voffset -4}${goto 32}F: ${color2}$swapmax${color} U: ${color2}$swap${color} ${voffset 2}${color0}${font Poky:size=15}a${font}${color}${goto 32}${voffset -10}Processes: ${color2}${alignr 13}CPU${alignr}RAM${color} ${voffset -1}${goto 42}${color2}${top name 1}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 1}${alignr }${top mem 1}${color}${font} ${voffset -1}${goto 42}${color2}${top name 2}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 2}${alignr }${top mem 2}${color}${font} ${voffset -1}${goto 42}${color2}${top name 3}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 3}${alignr }${top mem 3}${color}${font} ${voffset -1}${goto 42}${color2}${top name 4}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 4}${alignr }${top mem 4}${color}${font} ${voffset -1}${goto 42}${color2}${top name 5}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 5}${alignr }${top mem 5}${color}${font} ${voffset 4}${font Liberation Sans:style=Bold:size=8}DATA $stippled_hr${font} ${voffset 20}${alignc 44}${font zoraclockH:size=70}${color2}${execpi 120 ~/.conky/clock.sh hour}${color}${font} ${voffset -90}${alignc 64}${font zoraclockM:size=100}${color2}${execpi 60 ~/.conky/clock.sh minute}${color}${font} ${voffset 26}${alignc}${font Liberation Sans:style=Bold:size=10}${color1}${time %H:%M}${color}${font}${voffset -8} ${voffset 8}${alignc}${time %A %d %Y} zrzut: 
|
|
|
|
« Ostatnia zmiana: Styczeń 30, 2010, 05:20:12 wysłana przez mati75 »
|
Zapisane
|
HP 2510p || HP 8510w || Od 16.01 do 03.02 nie istnieje, nie odpowiadam na żadne wiadomości
|
|
|
|
szymon
|
 |
« Odpowiedz #6 : Styczeń 30, 2010, 10:12:38 » |
|
Poprzedni to już historia.   # Use Xft? use_xft yes xftfont DejaVu Sans:size=9 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 180 0 #maximum_width 200
# Draw shades? draw_shades no
# 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
# Default colors and also border colors default_color white #default_shade_color black #default_outline_color white own_window_colour 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 5 gap_y 5
# Subtract file system buffers from used memory? no_buffers yes
# set to yes if you want all text to be in uppercase uppercase no
# number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2
# number of net samples to average # set to 1 to disable averaging net_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects. use_spacer none
TEXT ${alignc 27}${font Radio Space:size=20}${time %H:%M}${font} ${alignc}${execi 60 date +"%d %B %Y" | tr "[:lower:]" "[:upper:]"}
${color orange}SYSTEM${color white} ${hr 2} ${color orange}Temperatura HDD:$alignr$color${execi 1 /home/marek/.conky_script_hddtemp} ${color white} °C
${color orange}URUCHOMIONE PROCESY${color white} ${hr 2} ${color white}$running_processes/ $processes ${font :size=8}${color white}${top name 1}$alignr${top cpu 1} ${color lightgrey}${top name 2}$alignr${top cpu 2} ${color lightgrey}${top name 3}$alignr${top cpu 3} ${color lightgrey}${top name 4}$alignr${top cpu 4} ${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel} ${font StyleBats:size=16}q${font} Czas pracy: ${alignr}${uptime} ${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60} ${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60} ${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60} ${font StyleBats:size=16}g${font} RAM: ${alignr}$mem ${color orange}INTERNET${color white} ${hr 2} ${color}Prędkość:${color white}${downspeed eth0}${color} UP:${color white}${upspeed eth0}${color}${alignr}KiB/s ${offset 10}${color}Total: ${color white}${totaldown eth0} ${offset 10}${color}Total: ${color white}${totalup eth0} ${color orange}POŁĄCZENIA${color white} ${hr 2} $color Wychodzące: ${tcp_portmon 32768 61000 count} $color Przychodzące: ${tcp_portmon 1 32767 count} ${color orange}POŁĄCZENIA WYCHODZĄCE${color white} ${hr 2} ${tcp_portmon 32768 61000 rip 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} ${tcp_portmon 32768 61000 rip 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} ${tcp_portmon 32768 61000 rip 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} ${color orange}POGODA${color white} ${hr 2} ${execpi 1800 conkyForecast --location=PLXX0019 --template=/home/marek/Programy/template}
|
|
|
|
|
Zapisane
|
Pozdrawiam szymon
|
|
|
|
kosa1
|
 |
« Odpowiedz #7 : Luty 02, 2010, 02:23:46 » |
|
Szymon Czy mogę Cię poprosić o napisanie tego bez pogody? Nie używałam Conky do tej pory, ale zaczyna mnie nosić... Pogodę i tak widzę za oknem, jest paskudna...
|
|
|
|
|
Zapisane
|
Linux nie gryzie! : www.ubunciak.plOS: Ubuntu 10.10, Linux Mint 9 64 bit, Asus GeForceGTS250, PhenomII, 4 GB RAM, Barracuda 7200.12 500 GB, Livebox (ethernet) Problem rozwiązany? Wstaw to słowo do tytułu swojego pierwszego postu!
|
|
|
|
szymon
|
 |
« Odpowiedz #8 : Luty 02, 2010, 05:38:23 » |
|
Szymon Czy mogę Cię poprosić o napisanie tego bez pogody? Nie używałam Conky do tej pory, ale zaczyna mnie nosić... Pogodę i tak widzę za oknem, jest paskudna...
kosa proszę z przyjemnością!  Wystarczy odjąć dwie ostatnie linie w tym, który podałem z pogodą. To jest to: ${color orange}POGODA${color white} ${hr 2} ${execpi 1800 conkyForecast --location=PLXX0019 --template=/home/marek/Programy/template} Jest to tylko odwołanie do conkyForecast, cała konfiguracja pogody znajduje się w innym pliku (/.conkyForecast.config). Gdy tego brak i tak nie będzie pokazywał conky pogody. Wcale się Tobie nie dziwię, że nie chcesz. To co widzę obecnie za oknem nie napawa optymizmem.  Codzień ten sam horror z dojazdem do pracy. Ludzie, gdzie jest te ocieplenie globalne?
|
|
|
|
|
Zapisane
|
Pozdrawiam szymon
|
|
|
|
kosa1
|
 |
« Odpowiedz #9 : Luty 02, 2010, 05:57:58 » |
|
W Afryce? Bardzo Ci dziękuję. Chyba zainstaluję. A, pewien kłopot widzę. To jest dla Gnome, czy nie ma różnicy, jakie środowisko?
|
|
|
|
« Ostatnia zmiana: Luty 02, 2010, 06:01:53 wysłana przez kosa1 »
|
Zapisane
|
Linux nie gryzie! : www.ubunciak.plOS: Ubuntu 10.10, Linux Mint 9 64 bit, Asus GeForceGTS250, PhenomII, 4 GB RAM, Barracuda 7200.12 500 GB, Livebox (ethernet) Problem rozwiązany? Wstaw to słowo do tytułu swojego pierwszego postu!
|
|
|
|
aras
|
 |
« Odpowiedz #10 : Luty 02, 2010, 06:09:40 » |
|
może migać na xfce, albo coś podobnego, szukając po forach można szybko znaleźć co dopisać żeby nie migało, lub coś innego, jeżeli w ogóle będą jakieś problemy. A najpierw zainstaluj 
|
|
|
|
|
Zapisane
|
|
|
|
|
|
|
szymon
|
 |
« Odpowiedz #12 : Luty 02, 2010, 06:58:44 » |
|
może migać na xfce, albo coś podobnego, szukając po forach można szybko znaleźć co dopisać żeby nie migało, lub coś innego, jeżeli w ogóle będą jakieś problemy. A najpierw zainstaluj  aras, mam ten conky w Debianie gnome i xfce oraz w Mincie i nic mi nie migocze. oxynox , wiem wiem napisałem tak tylko z przekory, a w ogóle mam już tej zimy po dziurki w nosie. 
|
|
|
|
|
Zapisane
|
Pozdrawiam szymon
|
|
|
|
kosa1
|
 |
« Odpowiedz #13 : Luty 02, 2010, 07:32:53 » |
|
szymon Piknie działa, ino to nie: ${color orange}Temperatura HDD:$alignr$color${execi 1 /home/marek/.conky_script_hddtemp} ${color white} °C Masz jakiś skrypt do temperatury? Ja mam odczyt na panelu, w tym conky mi nie czyta... Korzystam z lm-sensors i apletu do wyświetlania temperatur. A, i powiedz, jak tak o mniej więcej 50px obniżyć wyświetlanie? Trochę zegar chowa mi się pod panelem. No i jeszcze - nic bezpośrednio na pulpicie nie mogę zapisać. Zapisuje, ale muszę wchodzić w katalog, czy to normalne?
|
|
|
|
« Ostatnia zmiana: Luty 02, 2010, 07:37:58 wysłana przez kosa1 »
|
Zapisane
|
Linux nie gryzie! : www.ubunciak.plOS: Ubuntu 10.10, Linux Mint 9 64 bit, Asus GeForceGTS250, PhenomII, 4 GB RAM, Barracuda 7200.12 500 GB, Livebox (ethernet) Problem rozwiązany? Wstaw to słowo do tytułu swojego pierwszego postu!
|
|
|
|
szymon
|
 |
« Odpowiedz #14 : Luty 02, 2010, 08:46:45 » |
|
Temperatura dysku w conky.1) zainstaluj pakiet hddtemp Synaptic lub aptitude itd. 2) Może są inne sposoby, ale ja wykorzystuję skrypt w tej treści: #!/bin/bash echo "$(nc localhost 7634 | cut -d'|' -f4)" napisz w zwykłym edytorze tekstu np. gedit i zapisz w swoim katalogu domowym pod nazwą .conky_script_hddtemp W conky jest odwołanie do tego skryptu tj. w pliku ./conkyrc poniżej linii TEXT trzecia i czwarta linia. Powinno u każdego zadziałać. Tak poza tematem conky, temperaturę łatwo zmierzyć poleceniem sudo hddtemp /dev/sda . Teraz jak przemieścić conky na pulpicie. Za tą kwestię odpowiada linia # Text alignment, other possible values are commented #alignment top_left alignment top_right #alignment bottom_left #alignment bottom_right Tutaj widać bez haszu "alignment top_right" czyli conky pojawi się z prawej strony pulpitu. Left oczywiście z lewej strony. Teraz jeśli chcesz niżej odhaszuj "alignment bottom_right" lub left w zależności, z której strony pulpitu ustawiasz conky. No i jeszcze - nic bezpośrednio na pulpicie nie mogę zapisać. Zapisuje, ale muszę wchodzić w katalog, czy to normalne?
Nie bardzo zrozumiałem, czy chodzi o to, że np. w otwartym edytorze tekstu nic nie możesz zapisać? Normalne na pewno to nie jest.
|
|
|
|
|
Zapisane
|
Pozdrawiam szymon
|
|
|
|