Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
conky running after system start, but dont show on screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Fri Oct 03, 2008 9:39 pm    Post subject: conky running after system start, but dont show on screen Reply with quote

Hi I have problem to see conky on my desktop, it is running/setted up using gnome system preferences - sessions - start up programs/.
Can you help to solve it?
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Fri Oct 03, 2008 9:44 pm    Post subject: Reply with quote

Sure, please post .conkyrc

Last edited by notHerbert on Sat Oct 04, 2008 10:45 am; edited 1 time in total
Back to top
View user's profile Send private message
rado3105
Apprentice
Apprentice


Joined: 14 Jul 2007
Posts: 293

PostPosted: Sat Oct 04, 2008 6:01 am    Post subject: re Reply with quote

Code:
# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED

# maintain spacing between certain elements
use_spacer yes

# set to yes if you want conky to be forked in the background
background no

use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-7
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10

# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL

# Update interval in seconds
update_interval 4.0

# Create own window instead of using desktop (required in nautilus)
own_window no

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

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 9

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey

# 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 24
gap_y 24

# Subtract file system buffers from used memory?
no_buffers yes

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

# stuff after 'TEXT' will be formatted on screen

TEXT
${color #ffcb48}$nodename$color      ${color #828282}$sysname $kernel on
$machine$color
   ${color #98c2c7}Batt:$color   ${battery}

${color #ffcb48}PROCESSING$color
   ${color #98c2c7}CPU:$color     ${execi 5 cpuspeed}MHz       $cpu%
   ${execi 5 cputemp}??C
   ${color #78af78}$cpubar
   ${color #78af78}${cpugraph 78af78 a3a3a3}

   ${color #98c2c7}NAME             PID       CPU%      MEM%
   ${color #e5e5e5}${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
   ${color #c4c4c4}${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
   ${color #a3a3a3}${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
   ${color #828282}${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}

${color #ffcb48}DATA$color
   ${color #98c2c7}RAM:$color     $memperc%         ${color
#78af78}${membar 6}${color}

   ${color #98c2c7}NAME             PID       CPU%      MEM%
   ${color #e5e5e5}${top_mem name 1} ${top_mem pid 1}   ${top_mem cpu 1}
    ${top_mem mem 1}
   ${color #c4c4c4}${top_mem name 2} ${top_mem pid 2}   ${top_mem cpu 2}
    ${top_mem mem 2}
   ${color #a3a3a3}${top_mem name 3} ${top_mem pid 3}   ${top_mem cpu 3}
    ${top_mem mem 3}
   ${color #828282}${top_mem name 4} ${top_mem pid 4}   ${top_mem cpu 4}
    ${top_mem mem 4}

   ${color #98c2c7}Swap:$color    $swapperc%         ${color
#78af78}${swapbar 6}$color
   ${color #98c2c7}/:$color       ${fs_free_perc /}%  $fs_free  ${color
#78af78}${fs_bar 6 /}$color

   ${color #98c2c7}Upload:$color  ${upspeed eth0}kb/s${color #98c2c7}
   Download:$color  ${downspeed eth0}kb/s
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sat Oct 04, 2008 10:39 am    Post subject: Reply with quote

You need to change this part of .conkyrc from

# Create own window instead of using desktop (required in nautilus)
own_window no

to

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

####### Also line breaks like this will cause formatting problems ###

${color #98c2c7}RAM:$color $memperc% ${color
#78af78}${membar 6}${color}

Better:

${color #98c2c7}RAM:$color $memperc% ${color #78af78}${membar 6}
Back to top
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Feb 22, 2009 8:49 pm    Post subject: Reply with quote

I've got some questions regarding notHerbert options.
I've tried them but the problem was that fonts didn't refresh, they were drawn one over another. Turning double_buffer on helped, but then the background was black, and I couldn't set it to transparent or to any other color. Is there a way to get window somehow transparent?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum