Skocz do zawartości

Mrugające Conky


movsd

Rekomendowane odpowiedzi

Mam problem z conky bo mruga przy odświeżaniu. Load DBE w xorg.conf i dual_buffer yes w conky.conf nie pomagają, bo pojawia się komunikat:

Conky: desktop window (1600059) is subwindow of root window (1a7)
Conky: window type - desktop
Conky: drawing to created window (0x5800002)
Conky: failed to set up double buffer
Conky: drawing to single buffer

/etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Fri Aug 14 17:54:58 PDT 2009

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Thu Feb  5 00:19:09 PST 2009

Section "ServerLayout"
   Identifier     "Layout0"
   Screen         "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"

   #FontPath        "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
   Load           "dbe"
   Load           "extmod"
   #Load           "type1"
   Load           "freetype"
   Load           "glx"
EndSection

Section "ServerFlags"
   Option         "Xinerama" "1" 
EndSection

Section "InputDevice"

   # generated from default
   Identifier     "Mouse0"
   Driver         "mouse"
   Option         "Protocol" "auto"
   Option         "Device" "/dev/input/mice"
   Option         "Emulate3Buttons" "no"
   Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

   # generated from default
   Identifier     "Keyboard0"
   Driver         "kbd"
EndSection

Section "Monitor"
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "PHILIPS 107E"
   HorizSync       30.0 - 70.0
   VertRefresh     50.0 - 160.0
   Option         "DPMS"
EndSection

Section "Monitor"
   Identifier     "Monitor1"
   VendorName     "Unknown"
   ModelName      "NEC A700+"
   HorizSync       31.0 - 70.0
   VertRefresh     55.0 - 120.0
EndSection

Section "Device"
   Identifier     "Device0"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce 6800"
EndSection

Section "Device"
   Identifier     "Device1"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "GeForce 6800"
   BusID          "PCI:1:0:0"
   Screen          1
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "TwinView" "1"
   Option         "TwinViewXineramaInfoOrder" "CRT-0"
   Option         "metamodes" "CRT-0: 1024x768 +1024+0, CRT-1: 1024x768 +0+0"
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection

Section "Screen"
   Identifier     "Screen1"
   Device         "Device1"
   Monitor        "Monitor1"
   DefaultDepth    24
   Option         "TwinView" "0"
   Option         "metamodes" "CRT-1: 1024x768 +1024+0"
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection

Section "Extensions"
   Option         "Composite" "Enable"
EndSection

 

/etc/conky/conky.conf

# 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 ? 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright ? 2005-2009 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/>.
#

alignment top_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
use_xft yes
xftfont DejaVu Sans Mono:size=12
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
own_window yes
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
double_buffer yes

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_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$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}

Odnośnik do komentarza
Udostępnij na innych stronach

# --- Window Layout & Options --- #
own_window yes
own_window_colour brown
own_window_transparent yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right


# --- Colours, Sizes, Fonts & Margins --- #
update_interval 1.0
maximum_width 285
stippled_borders 3
border_margin 9
border_width 10
default_color white

# --- Text --- #
draw_outline no
draw_borders no
font Sans:size=8:weight=bold
uppercase no
draw_shades yes
override_utf8_locale yes

 

moje conkyrc

 

nie mruga,jest na wszystkich pulpitach w compiz,przezroczyste,potestuj

Odnośnik do komentarza
Udostępnij na innych stronach

Dzięki, już znalazłem, Xinerama blokuje podwójne buforowanie. Nie chcę jej wyłączyć, wiec Conky raczej odpada.

 

nie wiem gdzieto znalazles,ale to jakas pomyłka.Co prawda to z gentoo,ale dla przypomnienia wspomne ze to taki sam linux jak fedora :P

 

tuxuser wert # emerge -s xinerama
Searching...     
[ Results for search key : xinerama ]
[ Applications found : 2 ]

*  x11-libs/libXinerama
      Latest version available: 1.0.3
      Latest version installed: 1.0.3
      Size of files: 230 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org Xinerama library
      License:       MIT

*  x11-proto/xineramaproto
      Latest version available: 1.1.2
      Latest version installed: 1.1.2
      Size of files: 37 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org Xinerama protocol headers
      License:       MIT

tuxuser wert #

 

i mi tam nic nie blokuje

 

Conky pracuje bez najmniejszego mrugniecia,dziala jak ta lala.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...