Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Probleem conky: valt over vensters  (gelezen 1117 keer)

Offline Idzme

  • Lid
    • http://idzme.wordpress.com/
Probleem conky: valt over vensters
« Gepost op: 2008/05/10, 23:18:07 »
Zie hier mijn probleem met conky:


hier mijn script (is anders dan wat je op de link hierboven ziet, maar probleem is exact gelijk)
# 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 Segoe UI:size=8

own_window_transparent yes
#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 2
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_colour 343434
own_window_hints undecorated,below,skip_taskbar
own_window_type override

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 225 800
maximum_width 225

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders no

# border margins
border_margin 1

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 1
gap_y 28
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# none, xmms, bmp, audacious, infopipe (default is none)
none xmms_player bmp

# 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,
# stuff after 'TEXT' will be formatted on screen

TEXT
${color #FFFFFF}${alignc}Uptime:${color lightgrey} $uptime
${color #FFFFFF}${alignc}${exec finger -m | tail -n1 | cut -c11-23} on ${exec cat /etc/issue.net}

${font Segoe UI:bold:size=9}${color lightgrey}TEMPS${font}${color #FFFFFF}$hr 2
${color #FFFFFF}Core0 Temp: ${color lightgrey}${alignr}${execi 5 sensors |grep Core0 |cut -c15-16}°C
${color #FFFFFF}Core1 Temp: ${color lightgrey}${alignr}${execi 5 sensors |grep Core1 |cut -c15-16}°C
${color #FFFFFF}GPU Temp:$alignr${color lightgrey} ${execi 5 nvidia-settings -q gpucoretemp |grep Attribute |cut -c41-42
}°C

${font Segoe UI:bold:size=9}${color lightgrey}BATTERY${font}${color #FFFFFF}$hr 2
${color #FFFFFF}Battery/AC: ${alignr}${color lightgrey}$battery
${color #FFFFFF}${battery_bar 5}${color #FFFFFF}
Time Left: ${alignr}${color lightgrey}$battery_time

${font Segoe UI:bold:size=9}${color lightgrey}CPU${font}${color #FFFFFF}$hr 2
${color #FFFFFF}Core0:${color lightgrey} ${cpu cpu1}% ${cpubar cpu1}
${color #FFFFFF}Core1:${color lightgrey} ${cpu cpu2}% ${cpubar cpu2}
${color #FFFFFF}Processes:${color lightgrey} $processes  ${color #FFFFFF}${alignr}Running:${color lightgrey}$running_processes
${color #FFFFFF}RAM:${color lightgrey}${alignr} $mem/$memmax - $memperc% ${alignr}${color #FFFFFF}
${color #FFFFFF}SWP:${color lightgrey}${alignr} $swap/$swapmax - $swapperc% ${alignr}${color #FFFFFF}

${font Segoe UI:bold:size=9}${color lightgrey}DISKS${font}${color #FFFFFF}$hr 2
${color #FFFFFF}HD I/O: ${color lightgrey}${alignr}${diskio}
${color #FFFFFF}Hard Disks:
${color #FFFFFF} Root ${alignr}${color lightgrey}Used: ${fs_used /}/Total: ${fs_size /}${color #FFFFFF}
${color #FFFFFF} Home ${alignr}${color lightgrey}Used: ${fs_used /home}/Total: ${fs_size /home}${alignr}${color #FFFFFF}
${color #FFFFFF} NTFS ${alignr}${color lightgrey}Used: ${fs_used /media/VistaDisk}/Total: ${fs_size /media/VistaDisk}${color #FFFFFF}

${font Segoe UI:bold:size=9}${color lightgrey}CPU/MEM${font}${color #FFFFFF}$hr 2
${color #FFFFFF}CPU Usage $alignr CPU% MEM%
${color lightgrey} ${top name 1} $alignr${top cpu 1} ${top mem 1}
${color #FFFFFF} ${top name 2} $alignr${top cpu 2} ${top mem 2}
${color #FFFFFF} ${top name 3} $alignr${top cpu 3} ${top mem 3}

${color #FFFFFF}Mem Usage
${color lightgrey} ${top_mem name 1} $alignr${top_mem cpu 1} ${top_mem mem 1}
${color #FFFFFF} ${top_mem name 2} $alignr${top_mem cpu 2} ${top_mem mem 2}
${color #FFFFFF} ${top_mem name 3} $alignr${top_mem cpu 3} ${top_mem mem 3}

${font Segoe UI:bold:size=9}${color lightgrey}NETWORK${font}${color #FFFFFF}$hr 2
${color #FFFFFF}Public IP: $alignr${color lightgrey}${execi 3600 wget -O - http://whatismyip.org/ | tail}
${color #FFFFFF}${if_up wlan0}Wireless Mode: ${color lightgrey}$alignr${wireless_mode wlan0}
${color #FFFFFF}Wireless Rate:${color lightgrey} ${wireless_bitrate wlan0} $alignr${color #FFFFFF}Link Quality: ${color lightgrey}${wireless_link_qual_perc wlan0}
${color #FFFFFF}IP Address:$color $alignr${addr wlan0}
${color #FFFFFF}Associated With:${color lightgrey} $alignr${wireless_essid wlan0}
 Down:${color #8844ee} ${downspeed wlan0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed wlan0} k/s
${color #000000}${downspeedgraph wlan0 32,110 ffffff ffffff} ${color #000000}${upspeedgraph wlan0 32,110 ffffff ffffff}
${color #FFFFFF}${else}Wired IP Address: $alignr${color lightgrey}${addr eth0}
 Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #000000}${downspeedgraph eth0 32,110 ffffff ffffff} ${color #000000}${upspeedgraph eth0 32,110 ffffff ffffff}${endif}
heeft iemand een idee wat er mis gaat, ik heb compiz en emerald aanstaan.

bedankt weer

idzme
Intel Pentium 4 630, 3000 MHz (15 x 200), 1024 MB (SDRAM), 2x ST3160021A (160 GB, 7200 RPM, Ultra-ATA/100)
Ubuntu 8.10-Xubuntu 8.10
Linux user #464441 / Ubuntu user # 23391
Mini-distro's en het laatste Linux nieuws: http://idzme.wordpress.com
www.twitter.com/basidz

Offline Erik_m

  • Lid
Probleem conky: valt over vensters
« Reactie #1 Gepost op: 2008/05/10, 23:51:27 »
heb net even je conky geprobeerd op mijn pc, daar staat hij gewoon op het bureaublad. Je probleem zit dus niet in je conkyrc, maar ergens anders. Waar? Tja, ehm, lastige vraag.

Geen idee, iets met drivers videokaart? Anderen? Help!

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Probleem conky: valt over vensters
« Reactie #2 Gepost op: 2008/05/11, 01:32:11 »
own_window_type override
Verander dit eens in:
own_window_type normal

Offline Idzme

  • Lid
    • http://idzme.wordpress.com/
Probleem conky: valt over vensters
« Reactie #3 Gepost op: 2008/05/12, 11:53:44 »
Citaat van: Johanvd
own_window_type override
Verander dit eens in:
own_window_type normal
dit was de oplossing, bedankt!!
Intel Pentium 4 630, 3000 MHz (15 x 200), 1024 MB (SDRAM), 2x ST3160021A (160 GB, 7200 RPM, Ultra-ATA/100)
Ubuntu 8.10-Xubuntu 8.10
Linux user #464441 / Ubuntu user # 23391
Mini-distro's en het laatste Linux nieuws: http://idzme.wordpress.com
www.twitter.com/basidz

Probleem conky: valt over vensters
« Reactie #4 Gepost op: 2008/05/12, 13:50:06 »
Ben ook bezig met conky.
Erg leuk, alleen jamer dat hddtemp alleen als root kan worden uitgevoerd (ja ik weet , is via daemon te omzeilen).

Monk.

Offline Idzme

  • Lid
    • http://idzme.wordpress.com/
Probleem conky: valt over vensters
« Reactie #5 Gepost op: 2008/06/07, 20:16:14 »
Citaat van: Idzme
Citaat van: Johanvd
own_window_type override
Verander dit eens in:
own_window_type normal
dit was de oplossing, bedankt!!
nu weer hetzelfde probleem, ander script, en windows stata nu wel op normal....

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine

${color orange}CPU ${hr 2}$color
${freq}MHz   Load: ${loadavg}   Temp: ${acpitemp}
$cpubar
${cpugraph 000000 ffffff}
NAME             PID       CPU%      MEM%
${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}

${color orange}MEMORY / DISK ${hr 2}$color
RAM:   $memperc%   ${membar 6}$color
Swap:  $swapperc%   ${swapbar 6}$color

Root:  ${fs_free_perc /}%   ${fs_bar 6 /}$color
hda1:  ${fs_free_perc /media/hda1}%   ${fs_bar 6 /media/hda1}$color
hdb3:  ${fs_free_perc /media/hdb3}%   ${fs_bar 6 /media/hdb3}

${color orange}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

${color orange}LOGGING ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}
Intel Pentium 4 630, 3000 MHz (15 x 200), 1024 MB (SDRAM), 2x ST3160021A (160 GB, 7200 RPM, Ultra-ATA/100)
Ubuntu 8.10-Xubuntu 8.10
Linux user #464441 / Ubuntu user # 23391
Mini-distro's en het laatste Linux nieuws: http://idzme.wordpress.com
www.twitter.com/basidz