Мне помогло... делал по http://briancarper.net/2006/08/25/transpar...-in-kde-part-2/
Conky, настройка, решение проблем
Модератор: /dev/random
-
Dmitry85
- Сообщения: 100
- Статус: сочувствующий
- ОС: gentoo
Re: Conky, настройка, решение проблем
Чем больше узнаю людей – тем больше люблю компьютеры (с) ХЗ кто
http://interamicos.ru - компьютерный сервис
http://interamicos.ru - компьютерный сервис
-
xSPiRiTx
- Сообщения: 324
- ОС: ArchLinux
Re: Conky, настройка, решение проблем
а как сделать, чтобы conky не был поверх всех окон?
я вроде слышал краем уха, что нужно какой-то параметр в conkyrc писать, чтобы он запускался с задержкой чтоли =\
я вроде слышал краем уха, что нужно какой-то параметр в conkyrc писать, чтобы он запускался с задержкой чтоли =\
-
ogre86
- Сообщения: 102
- ОС: archx64
Re: Conky, настройка, решение проблем
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
Ребята, помогите conky установить для сюси 11.1, в репах нету, скачал исходники, распаковал, захожу в папку, ввожу ./configure и мне такая байда вылазиет:
вот лог
короче нифига не поставил. Может кто подскажет репу для сюси 11.1 ???
Код: Выделить всё
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.вот лог
Код: Выделить всё
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = linux-4l30
uname -m = i686
uname -r = 2.6.27.21-0.1-pae
uname -s = Linux
uname -v = #1 SMP 2009-03-31 14:50:44 +0200
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/wildchild/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin/X11
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/kde3/bin
PATH: /usr/lib/jvm/jre/bin
PATH: /usr/lib/mit/bin
PATH: /usr/lib/mit/sbinкороче нифига не поставил. Может кто подскажет репу для сюси 11.1 ???
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
Все, нашел ответи, поставил библиотеки gcc и gcc++ (или c++, как то так) пошла сборка конфигурации, но опять ошибка
чето не нашел этот пакет 'glib-2.0' в репах...
checking for X11... yes
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for GLib2... configure: error: Package requirements (glib-2.0) were not met:
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLib2_CFLAGS
and GLib2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
чето не нашел этот пакет 'glib-2.0' в репах...
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
Короче дошел до make install и тут такая хрень:
ввожу make && make install
вообще не понял, че ему нада ?
ввожу make && make install
Код: Выделить всё
Making all in src
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/src'
make all-am
make[2]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/src'
make[2]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/src'
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/src'
Making all in doc
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/doc'
make[1]: Цель `all' не требует выполнения команд.
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/doc'
Making all in data
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[1]: Цель `all' не требует выполнения команд.
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1'
make[1]: Цель `all-am' не требует выполнения команд.
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1'
Making install in src
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/src'
make[2]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'conky' '/usr/local/bin/conky'
/usr/bin/install -c conky /usr/local/bin/conky
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/src'
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/src'
Making install in doc
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/doc'
make[2]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/doc'
make[2]: Цель `install-exec-am' не требует выполнения команд.
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './conky.1' '/usr/local/share/man/man1/conky.1'
make[2]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/doc'
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/doc'
Making install in data
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[2]: Entering directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[2]: Цель `install-exec-am' не требует выполнения команд.
test -z "/usr/local/etc/conky" || /bin/mkdir -p "/usr/local/etc/conky"
/usr/bin/install -c -m 644 'conky.conf' '/usr/local/etc/conky/conky.conf'
make[2]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1/data'
make[1]: Entering directory `/home/wildchild/Desktop/conky-1.6.1'
make[2]: Entering directory `/home/wildchild/Desktop/conky-1.6.1'
make[2]: Цель `install-exec-am' не требует выполнения команд.
make[2]: Цель `install-data-am' не требует выполнения команд.
make[2]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1'
make[1]: Leaving directory `/home/wildchild/Desktop/conky-1.6.1'вообще не понял, че ему нада ?
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
короче не ипем моск, а добавляем репу 'sudo zypper ar -c -f http://ftp5.gwdg.de/pub/opensuse/repositor.../openSUSE_11.1/ conky_rep' и ставим conky через менеджер пакетов...
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
Olegator
- Сообщения: 2493
- ОС: SuseLinux 11.2 KDE 4.3
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
Olegator
спасибо за ссылку. Ток у меня проблемс, я создал файл /.conkyrc в домашней директории и прописываю туда конфиг, но этот монитор запускается в стандартном виде, как будто я не менял ничего!
спасибо за ссылку. Ток у меня проблемс, я создал файл /.conkyrc в домашней директории и прописываю туда конфиг, но этот монитор запускается в стандартном виде, как будто я не менял ничего!
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
блин прописал этот конфиг http://conky.sourceforge.net/conkyrc-ke49 вообще conky не стратрует. может кто нибудь абъяснит чайнику какие папки и где оздавать, куда что прописывать и т.д, в гугле только очень краткие мануалы для бубунту, и то не помогли...
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
Fen1x
- Сообщения: 174
- Статус: начинающий пингвин
- ОС: Arch/Slackware
Re: Conky, настройка, решение проблем
Покажите лог запуска.
Я прописывал в ~/.conkyrc, все работает.
Arch user | Kernel 2.6.32 |
"Краткость - сестра таланта" (с) А.П. Чехов |
"Краткость - сестра таланта" (с) А.П. Чехов |
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
Код: Выделить всё
Conky: use_spacer should have an argument of left, right, or none. 'no' seems to be some form of 'false', so defaulting to none.
Conky: can't open '/sys/bus/i2c/devices/9191-0290/temp2_input': No such file or directory
please check your device or remove this var from Conkyну это получается сюда: /home/user/.conkyrc ?
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
.ExeRun
- Сообщения: 88
- ОС: openSUSE 11.1 Gnome
Re: Conky, настройка, решение проблем
запустил, но он глючит ппц - во первых пропадают все значки с раб. стоа, во вторых когда выделяешь область на раб. столе и если она захватывает conky то он исчезает тоже... короче ппц
Intel Core 2 Quad Q9300 | Gigabyte EP43-DS3 | 2048 mb x2 DDR 2 | GeForce 8600 GTS
-
Fen1x
- Сообщения: 174
- Статус: начинающий пингвин
- ОС: Arch/Slackware
Re: Conky, настройка, решение проблем
Arch user | Kernel 2.6.32 |
"Краткость - сестра таланта" (с) А.П. Чехов |
"Краткость - сестра таланта" (с) А.П. Чехов |
-
kovik65
- Сообщения: 151
- Статус: Сочувствующий
- ОС: openSUSE, FreeBSD, Windows
Re: Conky, настройка, решение проблем
Вы попытайтесь прочитать данный топик полностью. Проблема со значками давно решена
Вполне возможно и вторая проблема с выделением пропадет
... опыт, сын ошибок трудных ...
-
Atashidesu
- Сообщения: 45
- ОС: gentoo
Re: Conky, настройка, решение проблем
для kde4
лучше запускать скриптом, у меня почемуто exec feh проц грузит на 10%
Код: Выделить всё
${exec feh --bg-scale `grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --bytes=+11`}лучше запускать скриптом, у меня почемуто exec feh проц грузит на 10%
-
Rus
- Сообщения: 211
- ОС: Debian GNU/Linux
Re: Conky, настройка, решение проблем
А у кого-то решилась проблема с пропаданием conky и затиранием его другими окнами?
Чем лечили?
Чем лечили?
-
infra_hdc
- Сообщения: 376
- ОС: GNU/Linux
Re: Conky, настройка, решение проблем
-
Rus
- Сообщения: 211
- ОС: Debian GNU/Linux
Re: Conky, настройка, решение проблем
infra_hdc писал(а): ↑22.04.2009 14:45
Сonky, установка настройка -- активная ветка обсуждения, с указанием правильных параметров
Я там решения своей проблемы не нашел. Может здесь подскажут.
-
infra_hdc
- Сообщения: 376
- ОС: GNU/Linux
Re: Conky, настройка, решение проблем
Rus писал(а): ↑22.04.2009 16:16infra_hdc писал(а): ↑22.04.2009 14:45
Сonky, установка настройка -- активная ветка обсуждения, с указанием правильных параметров
Я там решения своей проблемы не нашел. Может здесь подскажут.
Там == не написано про конкретно пропадание изображение, но если поизучать приведенные в постах ~/.conkyrc, то иногда помогает.
Мне лично == помогло.
-
Rus
- Сообщения: 211
- ОС: Debian GNU/Linux
-
ffldove
- Сообщения: 480
- Статус: Keep It Simple, Stupid
- ОС: RFRemix 14
Re: Conky, настройка, решение проблем
Подскажите как сделать чтобы в conky колонки PID CPU и MEM были ровные а не пригалли в зависимости от значения?
Код: Выделить всё
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent no
own_window_colour hotpink
# Text alpha when using Xft
xftalpha 0.8
on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 5
gap_y 35
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${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}
TEXT
${font Dungeon:style=Bold:pixelsize=11}${color black}$nodename - $sysname $kernel on $machine
${color black}$stippled_hr
${color lightgrey}Time: $color ${time %k:%M:%S} ${color lightgrey} Date: $color ${time %A, %d, %B}
${color lightgrey}Uptime: $color$uptime ${color lightgrey} Load: $color$loadavg
${color lightgrey}CPU Usage:${color black} $color${cpu}% ${color lightgrey}Proces:$color $processes ${color lightgrey} Running:$color $running_processes
${cpubar ffffff}
${color black}${cpugraph 000000 ffffff}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar ffffff}
${color lightgrey}Swap Usage: $color $swap/$swapmax - $swapperc% ${swapbar ffffff}
${color black}$stippled_hr
${color lightgrey}Networking:
${color lightgrey}IP:${color} ${addr eth0}
${color lightgrey}Down:${color} ${downspeed eth0} k/s${color lightgrey} ${offset 70} Up:${color} ${upspeed eth0} k/s
${color lightgrey}Traffic: $color${totaldown eth0} $color ${totalup eth0}
${color black}${downspeedgraph eth0 32,150 000000 ffffff} $alignr${color black}${upspeedgraph eth0 32,150 000000 ffffff}
${color black}$stippled_hr
${color lightgrey}File systems:
${color black}${diskiograph 000000 ffffff}
${color lightgrey}/ $color${fs_used /}/${fs_size /}${alignr}$color${fs_bar 5,120 /}
${color lightgrey}Windows $color${fs_used /media/disk}/${fs_size /media/disk}${alignr}$color${fs_bar 5,120 /media/disk}
${color black}$stippled_hr
${color lightgrey}Process:
${color lightgrey}Name PID CPU% MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey}Mem usage PID CPU% MEM%
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color black}$stippled_hr
${color #0077ff}${execi 900 /home/ffldove/.conky/weather.sh RSXX0091}I learned something today
-
Палач
- Сообщения: 624
- Статус: ASUS Eee 1000HE
- ОС: Gentoo ~x86 / Simply 5.0
Re: Conky, настройка, решение проблем
А может кто парсером для погоды с rp5.ru поделится?
-
sarutobi
- Сообщения: 676
- Статус: Добрость и скромнота
- ОС: Debian 5, FreeBSD 6.2/8.0
Re: Conky, настройка, решение проблем
вот такое использую, писал пару минут, допиливайте под себя. Как взять xml - смотрите на сайте rp5
Код: Выделить всё
<?php
//$url = "http://rp5.ru/xml.php?id=7303"
$url = "http://www.gpm.int/saratov.xml";
$wind['С'] = "Северный";
$wind['С-В'] = "Северо-восточный";
$wind['В'] = "Восточный";
$wind['Ю-В'] = "Юго-восточный";
$wind['Ю'] = "Южный";
$wind['Ю-З'] = "Юго-западный";
$wind['З'] = "Западный";
$wind['С-З'] = "Северо-западный";
$file = file_get_contents($url);
$xml = new SimpleXmlElement($file);
//echo "Погода в " . $xml->xpath('/weather/point/pointname2');
echo "<pre>";
//$in_town = $xml->xpath('/weather/point/point_name2');
//$in_town = (array)$in_town[0];
//$in_town = $in_town[0];
//echo "Прогноз погоды " . $in_town . "\n";
$weather = $xml->xpath('/weather/point/timestep');
$tmp = array();
while (list(, $node) = each($weather)){
$nd = (array)($node);
//$tmp = array();
$tmp['Время'][] = $nd['datetime'];
$tmp['Температура'][] = $nd['temperature'] . " C";
$tmp['Давление'][] = $nd['pressure'] . ' мм.рт.ст.';
$tmp ['Осадки'][] = $nd['precipitation'] . " мм ";
$tmp['Ветер'][] = $wind[$nd['wind_direction']] . ", " . $nd['wind_velocity'] . "м/сек";
$tmp['Облачность'][] = $nd['cloud_cover'] . " % ";
$tmp['Влажность'][] = $nd['humidity'] . ' %';
//$data[] = $tmp;
//print_r($node);
}
//Output template
echo "<table>";
$i = 0;
foreach ($tmp as $name => $row){
$class = ($i % 2 == 0) ? 'even' : 'odd';
echo "<tr class='$class'><td><b>" . $name . "</b></td>";
$i++;
foreach($row as $data){
echo "<td>" . $data . "</td>";
}
echo "</tr>";
}
echo "</table>";Fire and water, earth and sky - mistery surrounds us, legends never die!
-
infra_hdc
- Сообщения: 376
- ОС: GNU/Linux
Re: Conky, настройка, решение проблем
Я наваял, но не осмыслил, посему == делюсь конфигами.
По-видимому, все же иногда пропадают при работе rdesktop и, наверно, flash player (т.е. кто напрямую пишет в экран). Иногда непонятно почему начинает затираться. Но иногда == все шоколадно абсолютно. Вот кокретно щас, когда пишу эти строки == перемещаю окно, и не затирается.
У вас нет необходимых прав для просмотра вложений в этом сообщении.
-
Ryamblex
- Сообщения: 23
Re: Conky, настройка, решение проблем
Всем привет! Помогите,пожалуйста!
Есть два сетевых интерфейса-ppp0(для vpn) и eth0(локалка).Хочу узнать,какой командой можно смотреть текущее использование интерфейса(кб/сек) на вход и на выход, входящий и исходящий трафик(в терминале!!! как в коньках я знаю),потом скриптом просуммировать соответствующие значения для ppp0 и eth0 и вывести значения в conky. Как это можно реализовать?
Есть два сетевых интерфейса-ppp0(для vpn) и eth0(локалка).Хочу узнать,какой командой можно смотреть текущее использование интерфейса(кб/сек) на вход и на выход, входящий и исходящий трафик(в терминале!!! как в коньках я знаю),потом скриптом просуммировать соответствующие значения для ppp0 и eth0 и вывести значения в conky. Как это можно реализовать?
-
ogre86
- Сообщения: 102
- ОС: archx64
Re: Conky, настройка, решение проблем
а как для ноута показать какой заряд батареи, какую команду прописать в коньки ?
-
/dev/random
- Администратор
- Сообщения: 5456
- ОС: Gentoo
-
RAbbYt
- Сообщения: 38
- ОС: Mandriva 2007.1
Re: Conky, настройка, решение проблем
Я с помощью Conky отображал данные системных датчиков при помощи команды exec sensors. В окошке conky это выглядело табличкой: напряжения, температура, обороты вентиляторов. После обновления до 1.70 данная табличка со значениями обрезается: показывается только верхняя часть (напряжения). Не знаю, как исправить.
И еще вопрос: может кто знает, как в conky выводить smart статус диска? Как получить температуру, я знаю. Хочется получить короткий вывод passed или failed, а по команде exec smartctlr -H вылазит слишком длинная строка.
И еще вопрос: может кто знает, как в conky выводить smart статус диска? Как получить температуру, я знаю. Хочется получить короткий вывод passed или failed, а по команде exec smartctlr -H вылазит слишком длинная строка.
-
dumer
- Сообщения: 59
- ОС: Debian Lenny
Re: Conky, настройка, решение проблем
у меня коньки под xfce, отображаются нормально, но стоит клинкуть иконку на раб столе, они пропадают...
и еще, неверно отображает размеры разделов windows (см скрин)

вот мой конфиг:
и еще, неверно отображает размеры разделов windows (см скрин)

вот мой конфиг:
Код: Выделить всё
double_buffer yes
alignment top_right
background no
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
draw_borders yes
draw_graph_borders yes
draw_outline no
draw_shades yes
#font 6x10
use_xft yes
xftfont Arial:size=14
xftalpha 0.9
text_buffer_size 2048
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_transparent yes
#own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer no
show_graph_scale no
show_graph_range no
TEXT
${color red} $nodename - $sysname $kernel on $machine
$hr
${color cyan}Uptime:$color $uptime
${color cyan}Frequency: $color $freq
${color lime}RAM Usage:$color $mem/$memmax - $memperc% ${membar 12}
${color green}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 12}
${color red}CPU Usage:$color $cpu% ${cpubar 12}
$hr
${color yellow}File systems:
${color red} Root: ${fs_free /}/${fs_size /} ${fs_bar 12 /}
${color lime} Windows: ${fs_free /dev/sda6} / ${fs_size /dev/sda6} ${fs_bar 12 /dev/sda6}
${color blue} Storage: ${fs_free /dev/sda7} / ${fs_size /dev/sda7} ${fs_bar 12 /dev/sda7}
$color Backup: ${fs_free /dev/sdb1} / ${fs_size /dev/sdb1} ${fs_bar 12 /dev/sdb1}
${color lime}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hrОсторожно, пользователь с неуравновешенной психикой.
P-IV 1800 Mhz / 1,5GB PC3200 / GeForce FX 5700 256 MB / WD 320GB ATA133 / Creative SB Live! Surround 4.0
P-IV 1800 Mhz / 1,5GB PC3200 / GeForce FX 5700 256 MB / WD 320GB ATA133 / Creative SB Live! Surround 4.0