|
[+] Conky się nie uruchamia
malp - 10-12-2008 13:38
Witam, przeglądałem temat o konfiguracji conky. Wrzuciłem zawartość pliku konfiguracyjnego do pliku conky.conf (nie było conkyrc) i teraz conky się nie uruchamia. Reinstalacja nie pomaga. Gdyby był ktoś tak uprzejmy, aby wrzucić mi zawartość tego pliku, to byłbym wdzięczny. Pojawia się komunikat: Pozdrawiam.
raggo82 - 10-12-2008 14:23
Plik
.conkyrc
tworzysz we własnym katalogu domowym i w nim wpisujesz wszystkie ustawienia conkiego. Przeczytaj TO.
malp - 10-12-2008 14:30
Czytałem i właśnie przez niego zepsułem sobie conky. Wkleiłem ten kod do conky.conf. Teraz niby w conky.conf mam to, co wcześniej, ale i tak pojawia się ten komunikat.
thalcave - 10-12-2008 14:35
EEE.. jaki conky.conf? Zostaw Ty pliki roota w spokoju Wszystko umieszczasz w ~/.conkyrc
malp - 10-12-2008 14:53
Tak zrobiłem, ale conky i tak nie chce się uruchomić. :/ Zanim w ogóle się dotknąlem do conky, to otwierało się w okienku. :-?
raggo82 - 10-12-2008 16:07
Czytałem i właśnie przez niego zepsułem sobie conky. Wkleiłem ten kod do conky.conf. Teraz niby w conky.conf mam to, co wcześniej, ale i tak pojawia się ten komunikat.
W tym HOW TO co Ci poleciłem nie jest napisane nic o grzebaniu w conky.conf więc nie pisz, że przez niego sobie coś zepsułeś. Zrób tak:lJako root
apt-get remove --purge conky
l
lJako root
apt-get install conky
l
lJako użytkownik w swoim katalogu domowym
touch .conkyrc
l
lI w tym pliku jako użytkownik, konfiguruj sobie conkyl
lPrzeczytaj ponownie HOW TO Kaki'l
bo conky domyślnie tak wygląda :D
Pozdrawiam
malp - 10-12-2008 16:27
W tym HOW TO co Ci poleciłem nie jest napisane nic o grzebaniu w conky.conf więc nie pisz, że przez niego sobie coś zepsułeś.
Kiedy właśnie tak było. Nie znalazłem nigdzie pliku conkyrc, więc wkleiłem to do conky.conf :P Domyśliłem się. Problem w tym, że później w ogóle się nie uruchamiał.
Komenda touch, u mnie nie działa (myślałem, że Ubuntu ma te same komendy co Debian).
Niestety nic nie pomogło. Wciąż pojawia się ten sam komunikat.
raggo82 - 10-12-2008 16:47
Komenda touch u mnie nie działa (myślałem, że Ubuntu ma te same komendy co Debian).
Eh to stwórz ten plik w dowolnym edytorze tekstowym, wklej tam config dla conky, zapisz i uruchom następnie conky. Jak nie ruszy to pokaż co tam wklejasz, ewentualnie spróbuj użyć innego configu. Jest ich pełno w internecie. Najbliższe na tym forum chociażby w Ogłoszenia: Screenshots.
http://debian.linux.pl/viewtopic.php?t=14
malp - 10-12-2008 16:53
Nawet bez tego pliku (nie wklejenia niczego) conky się nie uruchamia.
lis6502 - 10-12-2008 16:56
Po czym stwierdzasz że się nie uruchamia? Wpisywałeś w konsoli
conky
i jaki efekt?
malp - 10-12-2008 16:57
W pierwszym poście podałem komunikat, który się pojawia.
W conky.conf mam:
# Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license # # All code written since the fork of torsmo is licensed under the GPL # # Please see COPYING for details # # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen # Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $
alignment bottom_left background no border_width 1 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no font 6x10 gap_x 5 gap_y 60 minimum_size 5 5 net_avg_samples 2 no_buffers yes out_to_console no own_window yes own_window_class Conky own_window_type normal stippled_borders 0 update_interval 3.0 uppercase no use_spacer no show_graph_scale no show_graph_range no
TEXT ${scroll 16 $nodename - $sysname $kernel on $machine | } $hr ${color grey}Uptime:$color $uptime ${color grey}Frequency (in MHz):$color $freq ${color grey}Frequency (in GHz):$color $freq_g ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes $hr ${color grey}File systems: / $color${fs_free /}/${fs_size /} ${fs_bar 6 /} ${color grey}Networking: Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s $hr ${color grey}Name PID CPU% MEM% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
lis6502 - 10-12-2008 17:05
W takim razie musisz mieć plik .conkyrc w ~, do tego skopany. Ten z katalogu domowego ma większy priorytet niż ten z /etc. Ja mam dokładnie ten sam conky.conf i mnie działa. Sprawdź poleceniem
ls -al
czy masz .conkyrc w katalogu domowym. Zauważ że chodzi o plik .conkyrc, czyli ukryty.
Spróbuj wkleić to do .conkyrc alignment upper right background no border_width 0 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no font 6x10 gap_x 5 gap_y 60 minimum_size 5 5 net_avg_samples 2 no_buffers yes out_to_console no own_window no own_window_class Conky own_window_type normal stippled_borders 0 update_interval 3.0 uppercase no use_spacer no show_graph_scale no show_graph_range no
TEXT $hr ${color grey}Uptime:$color $uptime ${color grey}Frequency (in MHz):$color $freq ${color grey}Frequency (in GHz):$color $freq_g ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4} ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4} ${color grey}CPU Usage:$color $cpu% ${cpubar 4} ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes $hr ${color grey}File systems: / $color${fs_free /}/${fs_size /} ${fs_bar 6 /} ${color grey}Networking: Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s $hr ${color grey}Name PID CPU% MEM% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
Oczywiście zastępując uprzednią zawartość.
raggo82 - 10-12-2008 20:28
ale właśnie chodzi oto abyś utworzył ten plik (.conkyrc) i wkleił do niego ustawienia, zmienne z jakimi ma się conky uruchamiać. I proszę postępuj zgodnie z naszymi podpowiedziami, a nie wykonując połowę tego co sugerujemy.
Pozdrawiam
Jeszcze jedno, aby wyświetlić ukryte pliki czyli te które zaczynają się od kropki użyj kombinacji klawiszy Ctr+H
malp - 11-12-2008 11:37
Teraz pojawia się coś takiego:
raggo82 - 11-12-2008 12:02
Conky Ci działa przecież, nie pojawił się? Pokaż zawartość
.conkyrc
malp - 11-12-2008 16:02
Problem rozwiązany. Można zamykać. Dziękuję za pomoc. :)
K1LL3R - 17-04-2010 12:30
Conky: use_spacer should have an argument of left, right, or none. 'yes' seems to be some form of 'true', so defaulting to right. Conky: desktop window (188) is subwindow of root window (7b) Conky: drawing to desktop window Conky: drawing to single buffer
Plik .conkyrc na uprawnieniach użytkownika skopiowany z tego poradnika
Na pulpicie nic się nie pojawia. Wczoraj zainstalowałem Lennego z fluxboksem i trochę się w tym gubię (i do tego brak polskich czcionek).
mq - 17-04-2010 18:18
Jesteś pewien, że plik .conkyrc masz z podanego poradnika? Moje wątpliwości budzi ta linia
Conky: drawing to single buffer
W pliku konfiguracyjnym, do którego podałeś link, jest z kolei
K1LL3R - 19-04-2010 18:54
juz wszystko gra
AdeBe - 19-04-2010 20:31
To podałbyś może przyczynę problemu i rozwiązanie? Nie dość, że odkopałeś półtoraroczny temat, to teraz jeszcze nie piszesz o rozwiązaniu.
K1LL3R - 25-04-2010 15:28
mój .conkyrc wygląda teraz tak: # conky configuration
# set to yes if you want Conky to be forked in the background background yes
# X font when Xft is disabled, you can pick one with program xfontsel #font 5x7 #font 6x10 #font 7x13 #font 8x13 #font 9x15 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft? use_xft yes
# Xft font when Xft is enabled xftfont Bitstream Vera Sans: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 white 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 right #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 system $hr ${alignc}$sysname $kernel on $machine ${alignc}${exec whoami}@$nodename Uptime: $uptime_short
Procesor $hr CPU: $freq MHz used $cpu% ${cpubar} ${cpugraph 20,220 000000 000000}
Pamiec $hr MEM: ${alignr}all $memmax buffers $buffers used $memperc% $mem ${membar} SWAP: ${alignr}all $swapmax cached $cached used $swapperc% $swap ${swapbar}
Top $hr Highest CPU: ${alignr}Highest MEM: ${font Bitstream Vera Sans:size=6}${top name 1}${top_mem cpu 1} ${alignr}${top_mem name 1}${top_mem mem 1} ${top name 2}${top cpu 2} ${alignr}${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}
Siec $hr DL: ${downspeed} ${alignr}UL: ${upspeed} ${downspeedgraph ppp0 30,109 000000 000000 140} ${alignr}${upspeedgraph ppp0 30,109 000000 000000 36} Pobranych:${totaldown}${alignr}Wyslanych:${totalup}
Dysk sda $hr ${diskiograph 15,220 000000 000000} Partycje $hr Root: ${alignr}all ${fs_size /} used ${fs_used_perc /}% ${fs_used /} ${alignr}free ${fs_free_perc /}% ${fs_free /} ${fs_bar 6,220 /} Home ${alignr}all ${fs_size /home} used ${fs_used_perc /home}% ${fs_used /home}${alignr}free ${fs_free_perc /home}% ${fs_free /home} ${fs_bar 6,220 /home} Disk ${alignr}all ${fs_size /media/disk0} used ${fs_used_perc /media/disk0}% ${fs_used /media/disk0}${alignr}free ${fs_free_perc /media/disk0}% ${fs_free /media/disk0} ${fs_bar 6,220 /media/disk0}
o ile się nie mylę to chodziło o wpis own window
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|