Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 3.3.8 w. Openbox: Conky only outputs to terminal
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CrunchyChewie
n00b
n00b


Joined: 03 Jul 2012
Posts: 2

PostPosted: Tue Jul 03, 2012 9:40 pm    Post subject: Gentoo 3.3.8 w. Openbox: Conky only outputs to terminal Reply with quote

I've got a Conky Script I've used on machines in the past with no issue, aside from some small changes in the data I want to be displayed. However, in this case, conky only seems to want to output to the terminal. No matter how I start it: root, user, with -D etc... It always outputs to the terminal and never to the desktop. This is a new problem for me and not something I've found in Google research.

Anyone have this problem or suggest a possible fix? Is it just some basic package I need to grab from Portage? Thanks in advance for your replies!
_________________
gooby pls
Back to top
View user's profile Send private message
CrunchyChewie
n00b
n00b


Joined: 03 Jul 2012
Posts: 2

PostPosted: Tue Jul 03, 2012 9:44 pm    Post subject: Reply with quote

The conky script in question:

Code:
# 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 (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 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/>.
#
#

out_to_x yes

own_window yes

own_window_type override

own_window_hints below

# 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

#Maximum Width of Window

maximum_width 320

# 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

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

# Stippled borders?

stippled_borders 3

# border margins

border_margin 5

# border width

border_width 6

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

default_color FFFFCC

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 35

# Use XFT

use_xft yes

xftfont arial:size=10

# Override UTF8 Locale

override_utf8_locale yes

# stuff after ‘TEXT’ will be formatted on screen


TEXT
S Y S T E M $hr

${color 597DB2}$nodename - $sysname $kernel on $machine$color
${color 597DB2}Uptime:$color $uptime

PROCESS          PID CPU% MEM%

${color CCFFFF}${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

C P U $hr

${color 597DB2}CPU Usage:$color $cpu%
${cpugraph 000000 597DB2}
${color 597DB2}Frequency (in MHz):$color $freq

Core 1:
${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color

Core 2:
${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color

R A M $hr

${color 597DB2}RAM Usage:$color $mem/$memmax
$memperc% ${color 597DB2} ${membar 4} $color

D I S K $hr

${color FFFF33} / $color${fs_used /} / ${fs_size /} ${color 597DB2} ${fs_bar 6 /} $color
${color FFFF33} /home $color${fs_used /home} / ${fs_size /home} ${color 597DB2} ${fs_bar 6 /home} $color
${color FFFF33} swap $color $swap/$swapmax ${color 597DB2} ${swapbar 4} $color

N E T W O R K (${addr wlan0}) ${hr }

${color 597DB2}Down: $color${downspeed wlan0} /s ${alignr}${color 597Db2}Up:$color ${upspeed wlan0} /s

${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0

25,140 000000 00ff00}$color

Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}

_________________
gooby pls
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