Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2013-10-27 19:15:22

  kelthuzad - Użytkownik

kelthuzad
Użytkownik
Zarejestrowany: 2013-08-24

conky i znikające ikony na pulpicie

Mam problem po odpaleniu conky znikają mi ikony na pulpicie

Kod:

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

Ostatnio edytowany przez kelthuzad (2013-10-27 19:15:46)

Offline

 

#2  2013-10-27 19:43:31

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: conky i znikające ikony na pulpicie

Poniżej masz config mojego conka:

Kod:

# conky configuration

####
## Use XFT? Required to Force UTF8 (see below)
#
use_xft yes
xftfont monospace:size=9
#xftalpha 0.1

####
## Force UTF8? Requires XFT (see above)
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes

####
## Pad spacing between text and borders.
#
border_inner_margin 4

####
## This buffer is used for text, single lines, output from $exec, and other variables.
## Increasing the text buffer size (too high) will drastically reduce Conky's performance.
## Decreasing the size (too low) will truncate content and cause strange display output.
## Standard text buffer size is 256 bytes (cannot be less). Adjust YOUR buffer wisely!
#
text_buffer_size 1024

####
## Daemonize Conky, aka 'fork to background'.
#
background no

####
## Update interval in seconds.
#
update_interval 2.0

####
## The number of times Conky will update before quitting.
## Zero makes Conky run forever.
#
total_run_times 0

####
## Create own window instead of using desktop?
#
own_window_title conky_bg_1
own_window yes
own_window_type normal
#own_window_argb_visual yes
own_window_transparent yes
#own_window_colour 938a86
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

####
## Force images to redraw when they change.
#
imlib_cache_size 0

####
## Use double buffering? Reduces flicker.
#
double_buffer yes

####
## Draw shades?
#
draw_shades no

####
## Draw outlines?
#
draw_outline no

####
## Draw borders around text?
#
draw_borders no

####
## Draw borders around graphs?
#
draw_graph_borders yes

####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no

####
## Text alignment.
#
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

####
## Minimum and maximum size of text area.
#
minimum_size 220 0
maximum_width 220

####
## Gap between text and screen borders.
#
gap_x 10      ## Left / Right
gap_y 10  ## Top / Bottom

####
## Shorten MiB/GiB to M/G in stats.
#
short_units no

####
## Pad % symbol spacing after numbers.
#
pad_percents 0

####
## Limit the length of names in "Top Processes".
#
top_name_width 15

####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
#no_buffers yes
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

####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right

# kolor pomarańczowy
color0 FFCC00
color1 E77320

# kolor niebieski

#color0 1E90FF
#color1 1E56FF

#####
## Load Lua for shading (optional)
## Set the path to your script here.
#
lua_load ~/.conky/draw_bg.lua
lua_draw_hook_pre draw_bg

####
## Load Lua for bargraphs (required)
## Set the path to your script here.
#
lua_load ~/.conky/bargraph_small.lua
lua_draw_hook_post main_bars

TEXT
${texeci 600 bash ~/.conky/1c/1c}${font monospace:size=9}${color0}
${alignc}$sysname $kernel
${alignc}$nodename
${alignc}uptime $uptime

${voffset -10}${color1}$hr
${voffset 2}${offset 20}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -c 1-25}
${voffset 2}${color1}CPU 0 ${color0}${cpu cpu1}%
${color1}CPU 1 ${color0}${cpu cpu2}%
${color0}${voffset 7}Taktowanie: ${alignr}${freq_g cpu1}GHz ${freq_g cpu2}GHz
${color0}Wentylator: ${alignr} ${hwmon fan 1} RPM
${color0}Temperatura: ${alignr} ${hwmon temp 2}°C
${voffset 2}${color1}$hr
${color1}Karta graficzna
#${color0}Geforce 7600 GT ${alignr} ${execi 30 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}'}°C                  ${color0}Geforce 7600 GT ${alignr} ${execi 30 nvidia-settings -q gpucoretemp | grep '):' | cut -c46-47}°C
${color0}Geforce 7600 GT ${alignr} ${execi 10 nvidia-settings -q gpucoretemp -t}°C
${voffset -5}${color1}$hr
${voffset 2}${color0} RAM:${offset 20}${color0}${alignc}$mem/ $memmax${alignr}$memperc%
${voffset 15}${color0} SWAP:${offset 13}${color0}${alignc}$swap/ $swapmax${alignr} $swapperc%
${voffset 16}${color1}$processes procesów ${alignr}   PID    CPU
${color0}${top name 1} ${alignr} ${top pid 1} ${top cpu 1}
${color0}${top name 2} ${alignr} ${top pid 2} ${top cpu 2}
${color0}${top name 3} ${alignr} ${top pid 3} ${top cpu 3}
${color0}${top name 4} ${alignr} ${top pid 4} ${top cpu 4}
${color0}${top name 5} ${alignr} ${top pid 5} ${top cpu 5}
${color0}${top name 6} ${alignr} ${top pid 6} ${top cpu 6}
${color0}${top name 7} ${alignr} ${top pid 7} ${top cpu 7}
${color0}${top name 8} ${alignr} ${top pid 8} ${top cpu 8}
${color1}$hr
${color1}Zużycie RAM: ${alignr} ${color1}%
${color0}${top_mem name 1}${alignr}${top_mem mem 1}
${color0}${top_mem name 2}${alignr}${top_mem mem 2}
${color0}${top_mem name 3}${alignr}${top_mem mem 3}
${color0}${top_mem name 4}${alignr}${top_mem mem 4}
${color0}${top_mem name 5}${alignr}${top_mem mem 5}
${color0}${top_mem name 6}${alignr}${top_mem mem 6}
${color0}${top_mem name 7}${alignr}${top_mem mem 7}
${color0}${top_mem name 8}${alignr}${top_mem mem 8}
${color1}$hr
${color1}${alignc}Transfer${alignr}Prędkość
${color0}Down:${offset 20}${totaldown eth0}${alignr}${downspeedf eth0}KB/s
${color0}UP:${offset 34}${totalup eth0}${alignr}${upspeedf eth0}KB/s
${color1}${upspeedgraph eth0 30,109 ff0000 fbe601}${alignr}${color1}${downspeedgraph eth0 30,109 fbe601 ff0000}
${color1}Aktywne połączenia ${alignr} ${color0}${tcp_portmon 1 65535 count}
${color0}IP wew:${alignr}${addr eth0}
#${color0}IP zew:${alignr}${pre_exec ~/.conky/ip} 
${color0}IP zew:${alignr}${execpi 360 ~/.conky/ip}
${color1}$hr
${color1}Dyski twarde:
${color0}WDC WD15EARS-00MVWB0 ${alignr}${hddtemp /dev/sda}˚C
${color0}WDC WD800JB-00JJA0 ${alignr}${hddtemp /dev/sdb}˚C
${color1}$hr
${color1}Miejsce na dysku:
${color1}/media/p2p${alignr}${color0}${fs_used /media/p2p}${color1} / ${fs_size /media/p2p}
${voffset 14}${color1}/media/Dane${alignr}${color0}${fs_used /media/Dane}${color1} / ${fs_size /media/Dane}
${voffset 14}${color1}/media/Filmy${alignr}${color0}${fs_used /media/Filmy}${color1} / ${fs_size /media/Filmy}
${voffset 14}${color1}/media/Leon${alignr}${color0}${fs_used /media/Leon}${color1} / ${fs_size /media/Leon}
${voffset 14}${color1}/media/Server${alignr}${color0}${fs_used /media/Server}${color1} / ${fs_size /media/Server}

#${voffset 14}${color1}/media/Gry${alignr}${color0}${fs_used /media/Gry}${color1} / ${fs_size /media/Gry}
${voffset 14}

Posprawdzaj sobie opcje, które się różnią  lub przerób sobie ten config tak by ci odpowiadał.

Offline

 

#3  2013-10-27 19:59:56

  kelthuzad - Użytkownik

kelthuzad
Użytkownik
Zarejestrowany: 2013-08-24

Re: conky i znikające ikony na pulpicie

mam pytanko jak zminie ten wpis

own_window yes

na no to znowu mi znikają ikonki

Offline

 

#4  2013-10-27 23:52:28

  morfik - Cenzor wirtualnego świata

morfik
Cenzor wirtualnego świata
Skąd: ze WSI
Zarejestrowany: 2011-09-15
Serwis

Re: conky i znikające ikony na pulpicie

Zrób sobie czysty config  i wrzucaj tam opcje po kolei, w końcu ustalisz co powoduje takie zachowanie. Ja nie mam ikonek na pulpicie, bo nie mam na to miejsca, więc w sumie nie wiem czy znikają czy też są. xD

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00009 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00145 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.138.118.194' WHERE u.id=1
0.00152 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.138.118.194', 1732308563)
0.00039 SELECT * FROM punbb_online WHERE logged<1732308263
0.00051 SELECT topic_id FROM punbb_posts WHERE id=243979
0.00005 SELECT id FROM punbb_posts WHERE topic_id=24491 ORDER BY posted
0.00042 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=24491 AND t.moved_to IS NULL
0.00005 SELECT search_for, replace_with FROM punbb_censoring
0.00137 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=24491 ORDER BY p.id LIMIT 0,25
0.00075 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=24491
Total query time: 0.00664 s