<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Conky - ньюансы настроек]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=6725&amp;type=atom" />
	<updated>2011-05-26T17:22:04Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=6725</id>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182715#p182715" />
			<content type="html"><![CDATA[<p><strong>Nigelist</strong>, мне такие скриншоты сейчас качать долго и накладно&nbsp; :o <br />Но из того, что рассмотрел, могу посоветовать подобрать параметры из строки<br /></p><div class="codebox"><pre><code>${image ~/.conky/base.png -p 10,0 -s 339x86}${image ~/.conky/base.png -p 10,146 -s 339x86}${image ~/.conky/base.png -p 10,73 -s 339x86}${image ~/.conky/Task_Manager.png -p 32,20 -s 45x45}${image ~/.conky/Memory.png -p 32,93 -s 45x45}${image ~/.conky/wlan100.png -p 32,166 -s 45x45}</code></pre></div><p>руководствуясь описанием объекта <strong>image</strong><br /></p><div class="quotebox"><blockquote><p><span style="color: blue">image</span> | <span style="color: darkblue">&lt;path to image&gt; (-p x,y) (-s WxH) (-n) (-f interval)</span> | <em>Renders an image from the path specified using Imlib2. Takes 4 optional arguments: a position, a size, a no-cache switch, and a cache flush interval. Changing the x,y position will move the position of the image, and changing the WxH will scale the image. If you specify the no-cache flag (-n), the image will not be cached. Alternately, you can specify the -f int switch to specify a cache flust interval for a particular image. Example: ${image /home/brenden/cheeseburger.jpg -p 20,20 -s 200x200} will render &#039;cheeseburger.jpg&#039; at (20,20) scaled to 200x200 pixels. Conky does not make any attempt to adjust the position (or any other formatting) of images, they are just rendered as per the arguments passed. The only reason $image is part of the TEXT section, is to allow for runtime modifications, through $execp $lua_parse, or some other method.</em></p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-05-26T17:22:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182715#p182715</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182709#p182709" />
			<content type="html"><![CDATA[<p><strong>Lupo Alberto</strong>, да пробовал. Но у блоков не отображались бэкграунды (решено присвоением прав на изображения) и сами блоки криво отображались. Блок с данными ЦП отображает неполную информацию. По этой причине данные сдвигаются вверх. Скрин прилагаю:</p><p><a href="http://10pix.ru/view/4937/4496950/"><span class="postimg"><img src="http://10pix.ru/img1/4937/4496950.th.png" alt="http://10pix.ru/img1/4937/4496950.th.png" /></span></a></p><p>С правкой выдает эти ошибки:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Conky: one or more $endif&#039;s are missing<br />Conky: desktop window (10000be) is subwindow of root window (1ad)<br />Conky: window type - override<br />Conky: drawing to created window (0x5000001)<br />Conky: drawing to double buffer<br />Conky: &#039;/home/nigelist/.conkyrc&#039; modified, reloading...<br />Conky: one or more $endif&#039;s are missing<br />Conky: desktop window (10000be) is subwindow of root window (1ad)<br />Conky: window type - override<br />Conky: drawing to created window (0x5000001)<br />Conky: drawing to double buffer</div></p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-05-26T17:07:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182709#p182709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182702#p182702" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Nigelist пишет:</cite><blockquote><p>${goto 92}CPU3 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu3}%${font}${color} ${alignr 20}CPU4 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu4}%${font}${color}</p></blockquote></div><p>Пробовали удалять эту строку?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-05-26T16:40:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182702#p182702</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182699#p182699" />
			<content type="html"><![CDATA[<p><strong>Lupo Alberto</strong>, пробывал, но все равно, что то криво отображается.</p><div class="codebox"><pre><code>######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=9
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
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
#own_window_argb_visual yes
#own_window_argb_value 100

alignment tr
gap_x -2
gap_y 180
minimum_size 350 300


default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no

default_color efefef
default_shade_color 1d1d1d
color0 ffffff
color1 ffffff
color2 ffffff


#lua_load ~/.conky/conkybg.lua
#lua_draw_hook_pre conky_draw_bg

TEXT
${voffset 5}
${goto 92}CPU1 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu1}%${font}${color} ${alignr 20}CPU2 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu2}%${font}${color}

${goto 92}CPU3 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu3}%${font}${color} ${alignr 20}CPU4 usage: ${font Ubuntu:style=Bold:size=9}${color1}${cpu cpu4}%${font}${color}


${goto 92}RAM:${color1} ${font Ubuntu:style=Bold:size=9}${memperc}%${font}${color}${font Ubuntu:style=Bold:size=9}${font}     Free: ${font Ubuntu:style=Bold:size=9}${color2}${memeasyfree}${color} ${font}${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${mem}${color}${font}

${goto 92}HDD:${color1} ${font Ubuntu:style=Bold:size=9}${fs_used_perc /home}%${font}${color}     Free: ${color2}${font Ubuntu:style=Bold:size=9}${fs_free /home}${color}${font} ${alignr 22}Used: ${font Ubuntu:style=Bold:size=9}${color2}${fs_used /home}${color}${font}

${if_up wlan0}
${voffset -4}${goto 92}${voffset -6}Upload: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed wlan0}${color}${font} ${goto 230}Insgesamt: ${font Ubuntu:style=Bold:size=9}${color2}${totalup wlan0}${color}${font}
${voffset 4}${goto 92}Signal:   ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr 15}
${voffset 4}${goto 92}Down:   ${font Ubuntu:style=Bold:size=9}${color1}${downspeed wlan0}${color}${font} ${goto 230}Insgesamt: ${font Ubuntu:style=Bold:size=9}${color2}${totaldown wlan0}${color}${font}



# |--ETH0
${else}${if_up eth0}
${voffset -13}${color0}${font}${color}${goto 92}${voffset 10}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${goto 235}Total up: ${color2}${totalup eth0}${color}
${voffset -2}${color0}${font}${color}${goto 92}${voffset 16}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${goto 223}Total down: ${color2}${totaldown eth0}${color}
#${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr eth0}${color}
#${goto 92}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
# |--PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${color0}${font}${color}${goto 92}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font}${color}${goto 92}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 92}Insgesamt: ${color2}${totaldown ppp0}${color}
#${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 92}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font}${color}${goto 92}No internet connection${endif}

${image ~/.conky/base.png -p 10,0 -s 339x86}${image ~/.conky/base.png -p 10,146 -s 339x86}${image ~/.conky/base.png -p 10,73 -s 339x86}${image ~/.conky/Task_Manager.png -p 32,20 -s 45x45}${image ~/.conky/Memory.png -p 32,93 -s 45x45}${image ~/.conky/wlan100.png -p 32,166 -s 45x45}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-05-26T16:34:20Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182699#p182699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182649#p182649" />
			<content type="html"><![CDATA[<p><strong>Nigelist</strong>, удалите строки, отвечающие за вывод информации о CPU3, CPU4.<br />Покажите используемый вами конфигурационный файл conky.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-05-26T14:34:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182649#p182649</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=182648#p182648" />
			<content type="html"><![CDATA[<p>Приветствую Народ! Нашел в сети интересный <a href="http://www.webupd8.org/2011/04/try-beautiful-notifyosd-like-conky.html">конфиг</a> conky. Выглядит так:</p><p><span class="postimg"><img src="http://lh3.googleusercontent.com/_1QSDkzYY2vc/TbrwBMV8mSI/AAAAAAAAEOQ/FiEGBxSfmh8/s400/notifyosd-conky2.png" alt="http://lh3.googleusercontent.com/_1QSDkzYY2vc/TbrwBMV8mSI/AAAAAAAAEOQ/FiEGBxSfmh8/s400/notifyosd-conky2.png" /></span></p><p>Сам в настройке conky не разбираюсь. Может ли кто нибудь адаптировать конфиг для меня? При попытке запуска выдает следующие ошибки:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Conky: one or more $endif&#039;s are missing<br />Conky: desktop window (10000be) is subwindow of root window (1ad)<br />Conky: window type - override<br />Conky: drawing to created window (0x2800001)<br />Conky: drawing to double buffer<br />Conky: obj-&gt;data.i 3 info.cpu_count 2<br />Conky: attempting to use more CPUs than you have!</div></p><p>В наличии - монитор с разрешением 1280х1024, 2-х ядерный проц, 2,5 Гб RAM</p>]]></content>
			<author>
				<name><![CDATA[Nigelist]]></name>
				<uri>https://linuxforum.ru/profile.php?id=7275</uri>
			</author>
			<updated>2011-05-26T14:30:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=182648#p182648</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=181330#p181330" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dimaty пишет:</cite><blockquote><p>Попробуйте поставить задержку перед запуском conky, секунд эдак 5</p></blockquote></div><p>Спасибо, помогло! smile&nbsp; В моём случае понадобилось 8 сек.</p>]]></content>
			<author>
				<name><![CDATA[Sunsetcolours]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17115</uri>
			</author>
			<updated>2011-05-20T20:41:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=181330#p181330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=181320#p181320" />
			<content type="html"><![CDATA[<p>Попробуйте поставить задержку перед запуском conky, секунд эдак 5</p>]]></content>
			<author>
				<name><![CDATA[Dimaty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=4696</uri>
			</author>
			<updated>2011-05-20T19:26:59Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=181320#p181320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=181272#p181272" />
			<content type="html"><![CDATA[<p>Ребят, а у меня такая шляпа... Когда правил конфиг, то конки отображались нормально, но после перезагрузки лезут поверх окон:<br /><a href="http://biryuk0v.ru/v.php?id=3d2cf7b57e7209d78268713579a41b37.png"><span class="postimg"><img src="http://biryuk0v.ru/thumbs/3d2cf7b57e7209d78268713579a41b37.jpg" alt="http://biryuk0v.ru/thumbs/3d2cf7b57e7209d78268713579a41b37.jpg" /></span></a><br />И еще. можно ли сделать так, чтобы файлы с рабочего стола при перемещении на конки не проваливались под них? Я вообще на рабочем столе не храню особо ничего, но всё таки.</p>]]></content>
			<author>
				<name><![CDATA[Sunsetcolours]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17115</uri>
			</author>
			<updated>2011-05-20T15:58:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=181272#p181272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164690#p164690" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>lukazoid пишет:</cite><blockquote><p>${color ffffff}${alignr 130}${font URW Gothic L:size=32}${time %k:%M:%S}${font}<br />что нужно добавить к этой строке, чтобы вывести еще одни такие же часы, только с другим часовым поясом?</p></blockquote></div><p>Указанная ниже строка выведет время в Цюрихе.<br /></p><div class="codebox"><pre><code>${color ffffff}${alignr 130}${font URW Gothic L:size=32}${tztime Europe/Zurich %k:%M:%S}${font}</code></pre></div><p>P.S.<br /><a href="http://conky.sourceforge.net/config_settings.html">http://conky.sourceforge.net/config_settings.html</a><br /><a href="http://conky.sourceforge.net/variables.html">http://conky.sourceforge.net/variables.html</a></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-04-04T17:09:10Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164690#p164690</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=164647#p164647" />
			<content type="html"><![CDATA[<p>знатоки коньков, подскажите плиз, имеется стандарный вывод времени<br />${color ffffff}${alignr 130}${font URW Gothic L:size=32}${time %k:%M:%S}${font}<br />что нужно добавить к этой строке, чтобы вывести еще одни такие же часы, только с другим часовым поясом?</p>]]></content>
			<author>
				<name><![CDATA[lukazoid]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13658</uri>
			</author>
			<updated>2011-04-04T14:42:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=164647#p164647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=146496#p146496" />
			<content type="html"><![CDATA[<p>Lupo Alberto<br />спасибо. разобрал его файл. там не просто вывод команды.<br />скрипт нужно писать.<br />короче есть чем заняться)</p>]]></content>
			<author>
				<name><![CDATA[сантехник]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10464</uri>
			</author>
			<updated>2011-02-17T21:13:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=146496#p146496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=146487#p146487" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>сантехник пишет:</cite><blockquote><p>как лечить?</p></blockquote></div><p><a href="http://forum.ubuntu.ru/index.php?topic=63273.msg486546#msg486546">Здесь</a>, вроде бы выделяется.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2011-02-17T21:00:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=146487#p146487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=146485#p146485" />
			<content type="html"><![CDATA[<p>кстати, в терминале текущий день выделяется.<br />а в коньках нет.<br />на скриншоте у Лупо Альберто тоже не выделен.<br />как лечить?</p>]]></content>
			<author>
				<name><![CDATA[сантехник]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10464</uri>
			</author>
			<updated>2011-02-17T20:55:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=146485#p146485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Conky - ньюансы настроек]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=146482#p146482" />
			<content type="html"><![CDATA[<p>спасибо всем)<br />решение нашел в самом файле conkyrc<br />вот<br /></p><div class="quotebox"><blockquote><p># Possible variables to be used:<br />...<br />...<br />...</p><p>#&nbsp; exec&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; shell command&nbsp; &nbsp;Executes a shell command and displays<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the output in torsmo. warning: this<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; takes a lot more resources than other<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; variables. I&#039;d recommend coding wanted<br />#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; behaviour in C and posting a patch :-).<br />...<br />...<br />...</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[сантехник]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10464</uri>
			</author>
			<updated>2011-02-17T20:46:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=146482#p146482</id>
		</entry>
</feed>
