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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam, niedawno zainstalowałam conky i sprawa jest taka że uruchamiając go jako root wszystko działa, niestety uruchamiając jako zwykły użytkownik nic się nie dzieje.
Czy to jest jakiś problem z uprawnieniami? Bo nie wychodzi żadna informacja o braku uprawnień ani nic.
A w konsli zarówna na roocie jak i na userze pojawia się to samo. Jedyną różnicą jest że na roocie conky pojawia się na pulpicie a na userze nie.
PS. Proszę o wyrozumiałość, jestem totalnie nieogarnięta z tym systemem i dopiero się uczę ;)
Offline
Jeśli chodzi o plik konfiguracyjny conkyrc to jest pobrany z neta.
background yes #prawy dolny rog gap_x 1050 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 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}${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}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} ${color #0077ff}@Connections@ $color Outbound: ${tcp_portmon 32768 61000 count} $color Inbound: ${tcp_portmon 1 32767 count} ${color #0077ff}Outbound Connection ${alignr} Port$color ${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} ${tcp_portmon 32768 61000 rip 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 5} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 6} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 7} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 8} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 9} ${tcp_portmon 32768 61000 rip 4} ${alignr} ${tcp_portmon 32768 61000 rservice 10}
Offline
Na tym configu conky odpala natomiast problemem moze być jakis menadzer kompozycji.
Jakie masz środowisko graficzne ?
Offline
gnome, Conky działą uruchomiony z terminala jako root, jako użytkownik już nie i tu jest właśnie problem
Ostatnio edytowany przez Momo (2015-01-10 17:07:59)
Offline
głupie pytanko...
a) gdzie jest ten plik
b) co mówi conky -D odpalony z terminala
Offline
plik jest w katalogu /home/user/.conkyrc
Conky: desktop window (ae) is root window Conky: drawing to desktop window Conky: drawing to double buffer
Offline
U mnie ten config nie działa, a jak u mnie conky nie działa to coś jest spieprzone. xD
Póki co wymieniłem wszystko w górę od TEXT i wrzuciłem tam swoją konfigurację:
# conky configuration #### ## Use XFT? Required to Force UTF8 (see below) # use_xft yes xftfont monospace:size=9 #xftalpha 0.1 #### ## Add spaces to keep things from moving around? ## Only affects certain objects. # use_spacer right # right yes #### ## 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 desktop # 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, may not work for everyone) # double_buffer yes #### ## Draw shades? # draw_shades no #### # Text stuff # draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase #### ## 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 1140 ## Left / Right gap_y 10 ## Top / Bottom # Stippled borders? #stippled_borders 3 # border margins #border_margin 9 # border width border_width 4 #### ## 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 10 #### ## Subtract file system -/+buffers/cache from used memory? ## Set to yes, to produce meaningful physical memory stats. # #no_buffers yes no_buffers 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
I na tym się już odpaliło.
Nie chce mi się debugować co tam się chrzani, dlatego też przejrzeć i dostosować te powyższe opcje.
Offline
Po zmianie konfiguracji faktycznie ruszyło. Root odpalał poprzednią konfigurację więc myślałam że jest okej a ja coś pomieszałam. Ale najwyraźniej root jest wstanie przełknąć więcej ;)
Dziękuję serdecznie za pomoc :)
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00097 | 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.145.103.169' WHERE u.id=1 |
0.00074 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.103.169', 1732544969) |
0.00074 | SELECT * FROM punbb_online WHERE logged<1732544669 |
0.00105 | DELETE FROM punbb_online WHERE ident='18.119.163.95' |
0.00099 | DELETE FROM punbb_online WHERE ident='3.15.12.95' |
0.00043 | SELECT topic_id FROM punbb_posts WHERE id=281113 |
0.00007 | SELECT id FROM punbb_posts WHERE topic_id=26899 ORDER BY posted |
0.00061 | 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=26899 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00091 | 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=26899 ORDER BY p.id LIMIT 0,25 |
0.00110 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26899 |
Total query time: 0.00781 s |